- 气象预警
- 天气接口目录
- 专业实况天气接口v61GET
- 专业实况天气接口v62GET
- 专业实况天气接口v63GET
- 专业七日天气接口v9GET
- 专业七日天气接口v91GET
- 专业七日天气接口v93GET
- 1~40日天气接口v3GET
- 1~40日天气接口v31GET
- 实况+24小时+15日天气接口 v32GET
- 国外主要城市7日天气接口GET
- 全球20万+城市实况天气GET
- 实时降水, 降雨量接口GET
- 过去24小时+未来3天小时降雨量接口GET
- 天气灾害预警气象预警列表接口GET
- 新版历史天气接口GET
- 历史天气GET
- 空气污染指数GET
- 专业31项生活指数预报GET
- 全国空气质量指数排行榜GET
- 空气污染指数最差的国家排名GET
- 乡镇实况天气GET
- 乡镇7日天气GET
- 乡镇实况+7日天气GET
- 四季天气GET
- 全国实况天气数据列表接口GET
- 免费实况天气接口GET
- 免费7日天气接口GET
- 全国天气降水量预报图接口GET
- 其他类型接口
全国实况天气数据列表接口
GET
https://spot.yiketianqi.com/
地区权限 | 请求限制 | 使用方案(报价为不开票价格) | 发票 |
---|---|---|---|
全国所有市区县 | 每日2万次 | 350/一年(最低) 1400/五年(最低) 2730/永久(最低) | 可开普票、电子票、专票 |
全国所有市区县 | 每日5万次 | 400/一年(最低) 1600/五年(最低) 3120/永久(最低) | 可开普票、电子票、专票 |
全国所有市区县 | 每日10万次 | 550/一年(最低) 2200/五年(最低) 4290/永久(最低) | 可开普票、电子票、专票 |
全国所有市区县 | 每日20万次 | 1100/一年(最低) 4400/五年(最低) 8580/永久(最低) | 可开普票、电子票、专票 |
全国所有市区县 | 每日50万次 | 2750/一年(最低) 11000/五年(最低) 21450/永久(最低) | 可开普票、电子票、专票 |
全国所有市区县 | 每日百万~千万次 | 联系客服开通独享版本,最低12800/年 | 可开普票、电子票、专票 |
请求参数
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://spot.yiketianqi.com/?appid=123456&appsecret=123456&cityid=144944&callback=jQuery.Callbacks&vue=1'
返回响应
🟢200成功
application/json
Body
cityid
string
景区ID编码
level
string
必需
province
string
所在省份
leader
string
所在市
city
string
景区名称
update_time
string
更新时间
data
array [object {15}]
数据列表,共7条
date
string
当前日期
wea
string
天气情况
wea_img
string
天气情况图标
wea_day
string
白天天气
wea_day_img
string
必需
wea_night
string
夜间天气
wea_night_img
string
必需
tem_day
string
白天温度[高温]
tem_night
string
夜间天气[低温]
win_day
string
白天风向
win_night
string
夜间风向
win_speed
string
风力
sunrise
string
日出
sunset
string
日落
hours
array [object {6}]
必需
示例
{
"cityid":"114461",//景区ID编码
"level":"5A",//景区分类等级, 取值[5A,4A,3A]
"province":"黑龙江",//所在省份
"leader":"哈尔滨",//所在市
"city":"太阳岛风景区",//景区名称
"update_time":"2021-04-16 13:47:07",//更新时间
"data":[//数据列表,共7条
{
"date":"2021-04-16",//当前日期
"wea":"小雨转阴",//天气情况
"wea_img":"yu",//天气情况图标
"wea_day":"小雨",//白天天气
"wea_day_img":"yu",
"wea_night":"阴",//夜间天气
"wea_night_img":"yin",
"tem_day":"10",//白天温度[高温]
"tem_night":"1",//夜间天气[低温]
"win_day":"南风",//白天风向
"win_night":"东南风",//夜间风向
"win_speed":"3-4级转<3级",//风力
"sunrise":"04:45",//日出
"sunset":"18:21",//日落
"hours":[//小时数据, 后几天小时有间隔, 不都是固定24条
{
"hours":"08时", //时间点
"wea":"阴", //天气情况
"wea_img":"yin", //图标
"tem":"9", //温度
"win":"南风", //风向
"win_speed":"3-4级" //风力
},
{
"hours":"09时",
"wea":"小雨",
"wea_img":"yu",
"tem":"8",
"win":"南风",
"win_speed":"4-5级"
},
{
"hours":"10时",
"wea":"小雨",
"wea_img":"yu",
"tem":"8",
"win":"南风",
"win_speed":"4-5级"
},
{
"hours":"11时",
"wea":"多云",
"wea_img":"yun",
"tem":"8",
"win":"南风",
"win_speed":"3-4级"
},
{
"hours":"12时",
"wea":"小雨",
"wea_img":"yu",
"tem":"8",
"win":"南风",
"win_speed":"4-5级"
},
{
"hours":"13时",
"wea":"小雨",
"wea_img":"yu",
"tem":"9",
"win":"南风",
"win_speed":"4-5级"
},
{
"hours":"14时",
"wea":"小雨",
"wea_img":"yu",
"tem":"9",
"win":"南风",
"win_speed":"3-4级"
},
{
"hours":"15时",
"wea":"小雨",
"wea_img":"yu",
"tem":"10",
"win":"南风",
"win_speed":"3-4级"
},
{
"hours":"16时",
"wea":"小雨",
"wea_img":"yu",
"tem":"10",
"win":"南风",
"win_speed":"3-4级"
},
{
"hours":"17时",
"wea":"小雨",
"wea_img":"yu",
"tem":"10",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"18时",
"wea":"多云",
"wea_img":"yun",
"tem":"8",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"19时",
"wea":"多云",
"wea_img":"yun",
"tem":"7",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"21时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"22时",
"wea":"阴",
"wea_img":"yin",
"tem":"5",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"阴",
"wea_img":"yin",
"tem":"5",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"00时",
"wea":"阴",
"wea_img":"yin",
"tem":"5",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"01时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"03时",
"wea":"多云",
"wea_img":"yun",
"tem":"1",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"04时",
"wea":"多云",
"wea_img":"yun",
"tem":"1",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"多云",
"wea_img":"yun",
"tem":"2",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"06时",
"wea":"多云",
"wea_img":"yun",
"tem":"6",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"07时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"西南风",
"win_speed":"<3级"
}
]
},
{
"date":"2021-04-16",
"wea":"小雨转多云",
"wea_img":"yun",
"wea_day":"小雨",
"wea_day_img":"yu",
"wea_night":"多云",
"wea_night_img":"yun",
"tem_day":"9",
"tem_night":"0",
"win_day":"西北风",
"win_night":"西风",
"win_speed":"<3级",
"sunrise":"04:44",
"sunset":"18:22",
"hours":[
{
"hours":"08时",
"wea":"多云",
"wea_img":"yun",
"tem":"6",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"09时",
"wea":"多云",
"wea_img":"yun",
"tem":"7",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"10时",
"wea":"多云",
"wea_img":"yun",
"tem":"8",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"阴",
"wea_img":"yin",
"tem":"8",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"12时",
"wea":"阴",
"wea_img":"yin",
"tem":"7",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"13时",
"wea":"小雨",
"wea_img":"yu",
"tem":"7",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"14时",
"wea":"阴",
"wea_img":"yin",
"tem":"6",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"15时",
"wea":"小雨",
"wea_img":"yu",
"tem":"6",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"16时",
"wea":"小雨",
"wea_img":"yu",
"tem":"5",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"17时",
"wea":"小雨",
"wea_img":"yu",
"tem":"5",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"18时",
"wea":"阴",
"wea_img":"yin",
"tem":"5",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"19时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"21时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"22时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"晴",
"wea_img":"qing",
"tem":"4",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"00时",
"wea":"晴",
"wea_img":"qing",
"tem":"3",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"01时",
"wea":"多云",
"wea_img":"yun",
"tem":"3",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"多云",
"wea_img":"yun",
"tem":"2",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"03时",
"wea":"多云",
"wea_img":"yun",
"tem":"2",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"04时",
"wea":"多云",
"wea_img":"yun",
"tem":"1",
"win":"东南风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"多云",
"wea_img":"yun",
"tem":"0",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"06时",
"wea":"多云",
"wea_img":"yun",
"tem":"2",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"07时",
"wea":"多云",
"wea_img":"yun",
"tem":"4",
"win":"西北风",
"win_speed":"<3级"
}
]
},
{
"date":"2021-04-17",
"wea":"晴转阴",
"wea_img":"yin",
"wea_day":"晴",
"wea_day_img":"qing",
"wea_night":"阴",
"wea_night_img":"yin",
"tem_day":"15",
"tem_night":"3",
"win_day":"西风",
"win_night":"南风",
"win_speed":"<3级",
"sunrise":"04:42",
"sunset":"18:23",
"hours":[
{
"hours":"08时",
"wea":"多云",
"wea_img":"yun",
"tem":"6",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"09时",
"wea":"多云",
"wea_img":"yun",
"tem":"8",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"10时",
"wea":"晴",
"wea_img":"qing",
"tem":"10",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"晴",
"wea_img":"qing",
"tem":"12",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"12时",
"wea":"晴",
"wea_img":"qing",
"tem":"13",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"13时",
"wea":"晴",
"wea_img":"qing",
"tem":"14",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"14时",
"wea":"晴",
"wea_img":"qing",
"tem":"15",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"15时",
"wea":"晴",
"wea_img":"qing",
"tem":"15",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"16时",
"wea":"晴",
"wea_img":"qing",
"tem":"14",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"17时",
"wea":"晴",
"wea_img":"qing",
"tem":"14",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"18时",
"wea":"晴",
"wea_img":"qing",
"tem":"13",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"19时",
"wea":"晴",
"wea_img":"qing",
"tem":"10",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"晴",
"wea_img":"qing",
"tem":"8",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"21时",
"wea":"晴",
"wea_img":"qing",
"tem":"9",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"22时",
"wea":"晴",
"wea_img":"qing",
"tem":"9",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"晴",
"wea_img":"qing",
"tem":"9",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"00时",
"wea":"晴",
"wea_img":"qing",
"tem":"8",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"01时",
"wea":"多云",
"wea_img":"yun",
"tem":"6",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"03时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"04时",
"wea":"阴",
"wea_img":"yin",
"tem":"6",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"阴",
"wea_img":"yin",
"tem":"7",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"06时",
"wea":"多云",
"wea_img":"yun",
"tem":"8",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"07时",
"wea":"多云",
"wea_img":"yun",
"tem":"9",
"win":"西南风",
"win_speed":"<3级"
}
]
},
{
"date":"2021-04-18",
"wea":"晴",
"wea_img":"qing",
"wea_day":"晴",
"wea_day_img":"qing",
"wea_night":"晴",
"wea_night_img":"qing",
"tem_day":"19",
"tem_night":"2",
"win_day":"北风",
"win_night":"北风",
"win_speed":"3-4级",
"sunrise":"04:40",
"sunset":"18:24",
"hours":[
{
"hours":"08时",
"wea":"晴",
"wea_img":"qing",
"tem":"10",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"晴",
"wea_img":"qing",
"tem":"15",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"14时",
"wea":"晴",
"wea_img":"qing",
"tem":"19",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"17时",
"wea":"晴",
"wea_img":"qing",
"tem":"15",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"晴",
"wea_img":"qing",
"tem":"12",
"win":"北风",
"win_speed":"3-4级"
},
{
"hours":"23时",
"wea":"晴",
"wea_img":"qing",
"tem":"8",
"win":"南风",
"win_speed":"3-4级"
},
{
"hours":"02时",
"wea":"晴",
"wea_img":"qing",
"tem":"4",
"win":"北风",
"win_speed":"3-4级"
},
{
"hours":"05时",
"wea":"晴",
"wea_img":"qing",
"tem":"5",
"win":"北风",
"win_speed":"3-4级"
}
]
},
{
"date":"2021-04-19",
"wea":"晴转阴",
"wea_img":"yin",
"wea_day":"晴",
"wea_day_img":"qing",
"wea_night":"阴",
"wea_night_img":"yin",
"tem_day":"13",
"tem_night":"2",
"win_day":"西北风",
"win_night":"西南风",
"win_speed":"<3级",
"sunrise":"04:38",
"sunset":"18:26",
"hours":[
{
"hours":"08时",
"wea":"晴",
"wea_img":"qing",
"tem":"5",
"win":"北风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"晴",
"wea_img":"qing",
"tem":"9",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"14时",
"wea":"晴",
"wea_img":"qing",
"tem":"13",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"17时",
"wea":"晴",
"wea_img":"qing",
"tem":"10",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"晴",
"wea_img":"qing",
"tem":"7",
"win":"西北风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"多云",
"wea_img":"yun",
"tem":"5",
"win":"西风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"阴",
"wea_img":"yin",
"tem":"3",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"多云",
"wea_img":"yun",
"tem":"7",
"win":"西南风",
"win_speed":"<3级"
}
]
},
{
"date":"2021-04-20",
"wea":"阴",
"wea_img":"yin",
"wea_day":"阴",
"wea_day_img":"yin",
"wea_night":"阴",
"wea_night_img":"yin",
"tem_day":"21",
"tem_night":"11",
"win_day":"东风",
"win_night":"东北风",
"win_speed":"<3级",
"sunrise":"04:37",
"sunset":"18:27",
"hours":[
{
"hours":"08时",
"wea":"晴",
"wea_img":"qing",
"tem":"11",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"多云",
"wea_img":"yun",
"tem":"16",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"14时",
"wea":"多云",
"wea_img":"yun",
"tem":"21",
"win":"西南风",
"win_speed":"<3级"
},
{
"hours":"17时",
"wea":"阴",
"wea_img":"yin",
"tem":"18",
"win":"南风",
"win_speed":"<3级"
},
{
"hours":"20时",
"wea":"阴",
"wea_img":"yin",
"tem":"14",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"阴",
"wea_img":"yin",
"tem":"13",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"阴",
"wea_img":"yin",
"tem":"11",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"多云",
"wea_img":"yun",
"tem":"14",
"win":"东风",
"win_speed":"<3级"
}
]
},
{
"date":"2021-04-21",
"wea":"晴",
"wea_img":"qing",
"wea_day":"晴",
"wea_day_img":"qing",
"wea_night":"晴",
"wea_night_img":"qing",
"tem_day":"21",
"tem_night":"8",
"win_day":"东北风",
"win_night":"东风",
"win_speed":"3-4级转<3级",
"sunrise":"04:35",
"sunset":"18:28",
"hours":[
{
"hours":"08时",
"wea":"晴",
"wea_img":"qing",
"tem":"16",
"win":"东北风",
"win_speed":"<3级"
},
{
"hours":"11时",
"wea":"晴",
"wea_img":"qing",
"tem":"18",
"win":"东北风",
"win_speed":"3-4级"
},
{
"hours":"14时",
"wea":"晴",
"wea_img":"qing",
"tem":"20",
"win":"东北风",
"win_speed":"3-4级"
},
{
"hours":"17时",
"wea":"晴",
"wea_img":"qing",
"tem":"17",
"win":"东风",
"win_speed":"3-4级"
},
{
"hours":"20时",
"wea":"晴",
"wea_img":"qing",
"tem":"13",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"23时",
"wea":"晴",
"wea_img":"qing",
"tem":"11",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"02时",
"wea":"晴",
"wea_img":"qing",
"tem":"9",
"win":"东风",
"win_speed":"<3级"
},
{
"hours":"05时",
"wea":"晴",
"wea_img":"qing",
"tem":"11",
"win":"东风",
"win_speed":"<3级"
}
]
}
]
}
修改于 2023-04-06 08:12:44