天氣風險 API 說明文件
72 小時天氣預報
取得所有 72 小時縣市預報資料
提供全台各縣市未來72小時天氣預報,預報內容包含溫度、降雨機率、天氣狀態,預報地點設定為縣市政府所在位置。
能取得全臺 22 個行政區間範為資料
可參考:https://zh.wikipedia.org/wiki/臺灣行政區劃
註:全臺行政區名都以大寫為主,例如:臺北市
HTTP Request
https://premium-weather-api.weatherrisk.com/USER1/72hr-model-forecast/臺北市
參數說明
curl https://premium-weather-api.weatherrisk.com/USER1/72hr-model-forecast/%E8%87%BA%E5%8C%97%E5%B8%82
註解:範例後面 72hr-model-forecast/臺北市 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"forecast_time": {
"end": "2019-01-23T13:00:00+00:00",
"start": "2019-01-23T12:00:00+00:00"
},
"issue_time": "2019-01-23T12:00:00+00:00",
"pop": 0,
"tempture": 14,
"weather_condition": "晴朗"
}
]
}
Parameter | Description |
---|---|
forecast_time | 預報時間範圍 |
start | 預報時間開始 |
end | 預報時間結束 |
issue_time | 資料發佈時間 |
pop | 降雨機率 % |
tempture | 溫度,攝氏 °C |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
168 小時天氣預報
取得所有 168 小時縣市鄉鎮預報資料
提供各鄉鎮縣市區未來168小時逐時天氣預報,預報項目包含輻射量、雲覆量、降水、氣壓、相對溼度、溫度、風向、風速、天氣狀態、降雨機率,預報地點設定為縣市政府或公所所在位置。
能取得全臺 390 個區間範為資料
可參考:https://zh.wikipedia.org/wiki/中華民國臺灣地區鄉鎮市區列表
HTTP Request
https://premium-weather-api.weatherrisk.com/USER2/168hr-township-model-forecast/臺北市中山區
參數說明
curl https://premium-weather-api.weatherrisk.com/USER2/168hr-township-model-forecast/%E8%87%BA%E5%8C%97%E5%B8%82%E4%B8%AD%E5%B1%B1%E5%8D%80
註解:範例後面 168hr-township-model-forecast/臺北市中山區 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"cloud_cover": "晴朗",
"dswrf": 0.0,
"forecast_time": {
"end": "2019-01-18T13:00:00+00:00",
"start": "2019-01-18T12:00:00+00:00"
},
"issue_time": "2019-01-18T12:00:00+00:00",
"pcpn": 0.0,
"pop": 0,
"pressure": 1022.76,
"rh": 76,
"tempture": 16,
"weather_condition": "晴朗",
"wind_dir": "東南風",
"wind_speed": 5.67
}
]
}
Parameter | Description |
---|---|
forecast_time | 預報時間範圍 |
start | 預報時間開始 |
end | 預報時間結束 |
issue_time | 資料發佈時間 |
pop | 降雨機率 % |
tempture | 溫度,攝氏 °C |
dswrf | 輻射量 Watt/m^2 |
pcpn | 降水 |
rh | 相對濕度 % |
pressure | 氣壓 hpa |
wind_dir | 八方位 |
wind_speed | 風速 m/s |
cloud_cover | 雲覆量:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰 |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
取得所有 168 小時預報資料-經緯度
提供未來168小時逐時天氣資料,預報項目包含輻射量、雲覆量、降水、氣壓、相對溼度、溫度、風向、風速、天氣狀態、降雨機率,預報解析度為全台三公里網格,每三公里就會有一筆預報結果。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/168hr-3km-model-forecast/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/168hr-3km-model-forecast/25.052168,121.540672
註解:緯度,經度
The above command returns JSON structured like this:
{
"data": [
{
"cloud_cover": "晴朗",
"dswrf": 0.0,
"forecast_time": {
"end": "2019-01-18T13:00:00+00:00",
"start": "2019-01-18T12:00:00+00:00"
},
"issue_time": "2019-01-18T12:00:00+00:00",
"pcpn": 0.0,
"pop": 0,
"pressure": 1022.76,
"rh": 76,
"tempture": 16,
"weather_condition": "晴朗",
"wind_dir": "東南風",
"wind_speed": 5.67
}
]
}
Parameter | Description |
---|---|
forecast_time | 預報時間範圍 |
start | 預報時間開始 |
end | 預報時間結束 |
issue_time | 資料發佈時間 |
pop | 降雨機率 % |
tempture | 溫度,攝氏 °C |
dswrf | 輻射量 Watt/m^2 |
pcpn | 降水 |
rh | 相對濕度 % |
pressure | 氣壓 hpa |
wind_dir | 八方位 |
wind_speed | 風速 m/s |
cloud_cover | 雲覆量:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰 |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
7日天氣
取得所有 7 日天氣縣市資料
提供未來七天全台各縣市白天(06-18)及夜晚(18-06)天氣概況,項目包含天氣狀態、降雨機率、溫度(高溫、低溫),預報地點設定為縣市政府所在位置。
可參考:https://zh.wikipedia.org/wiki/臺灣行政區劃
註:全臺行政區名都以大寫為主,例如:臺北市
HTTP Request
https://premium-weather-api.weatherrisk.com/USER1/7-day-county-forecast/臺北市
參數說明
curl https://premium-weather-api.weatherrisk.com/USER1/7-day-county-forecast/%E8%87%BA%E5%8C%97%E5%B8%82
註解:範例後面 7-day-county-forecast/臺北市 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"day": {
"end_time": "2019-01-19T20:00:00+08:00",
"max_tempture": 24,
"min_tempture": 17,
"pop": 20,
"start_time": "2019-01-19T08:00:00+08:00",
"weather_condition": "陰"
},
"end_time": "2019-01-20T08:00:00+08:00",
"night": {
"end_time": "2019-01-20T08:00:00+08:00",
"max_tempture": 20,
"min_tempture": 18,
"pop": 30,
"start_time": "2019-01-19T20:00:00+08:00",
"weather_condition": "陰"
},
"start_time": "2019-01-19T08:00:00+08:00"
}
]
}
Parameter | Description |
---|---|
day | 白天的狀態 |
night | 晚上的狀態 |
max_tempture | 最高溫 攝氏 °C |
min_tempture | 最低溫 攝氏 °C |
pop | 降雨機率 % |
start_time | 預報開始時間 |
end_time | 預報結束時間 |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
天氣狀態、降雨機率、溫度(高溫、低溫)
時間範圍: 7 天
白天06-18 晚間-清晨18-06
取得所有 7 日天氣縣市鄉鎮資料
提供未來七天全台各鄉鎮縣市區白天(06-18)及夜晚(18-06)天氣概況,項目包含天氣狀態、降雨機率、溫度(高溫、低溫),預報地點設定為縣市政府或公所所在位置。
能取得全臺 390 個區間範為資料
可參考:https://zh.wikipedia.org/wiki/中華民國臺灣地區鄉鎮市區列表
HTTP Request
https://premium-weather-api.weatherrisk.com/USER2/7-day-township-forecast/臺北市中山區
參數說明
curl https://premium-weather-api.weatherrisk.com/USER2/7-day-township-forecast/%E8%87%BA%E5%8C%97%E5%B8%82%E4%B8%AD%E5%B1%B1%E5%8D%80
註解:範例後面 7-day-township-forecast/臺北市中山區 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"day": {
"end_time": "2019-01-19T20:00:00+08:00",
"max_tempture": 24,
"min_tempture": 17,
"pop": 20,
"start_time": "2019-01-19T08:00:00+08:00",
"weather_condition": "陰"
},
"end_time": "2019-01-20T08:00:00+08:00",
"night": {
"end_time": "2019-01-20T08:00:00+08:00",
"max_tempture": 20,
"min_tempture": 18,
"pop": 30,
"start_time": "2019-01-19T20:00:00+08:00",
"weather_condition": "陰"
},
"start_time": "2019-01-19T08:00:00+08:00"
}
]
}
Parameter | Description |
---|---|
day | 白天的狀態 |
night | 晚上的狀態 |
max_tempture | 最高溫 攝氏 °C |
min_tempture | 最低溫 攝氏 °C |
pop | 降雨機率 % |
start_time | 預報開始時間 |
end_time | 預報結束時間 |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
取得所有 7 日天氣縣市鄉鎮資料-經緯度
提供未來七天全台各地白天(06-18)及夜晚(18-06)天氣概況,項目包含天氣狀態、降雨機率、溫度(高溫、低溫),預報解析度為全台三公里網格,每三公里就會有一筆預報結果。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/7-day-forecast/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/7-day-forecast/25.052168,121.540672
The above command returns JSON structured like this:
{
"data": [
{
"day": {
"end_time": "2019-01-19T20:00:00+08:00",
"max_tempture": 24,
"min_tempture": 17,
"pop": 20,
"start_time": "2019-01-19T08:00:00+08:00",
"weather_condition": "陰"
},
"end_time": "2019-01-20T08:00:00+08:00",
"night": {
"end_time": "2019-01-20T08:00:00+08:00",
"max_tempture": 20,
"min_tempture": 18,
"pop": 30,
"start_time": "2019-01-19T20:00:00+08:00",
"weather_condition": "陰"
},
"start_time": "2019-01-19T08:00:00+08:00"
}
]
}
Parameter | Description |
---|---|
day | 白天的狀態 |
night | 晚上的狀態 |
max_tempture | 最高溫 攝氏 °C |
min_tempture | 最低溫 攝氏 °C |
pop | 降雨機率 % |
start_time | 預報開始時間 |
end_time | 預報結束時間 |
weather_condition | 天氣狀態:晴朗、晴時多雲、多雲時晴、多雲、多雲時陰、陰時多雲、陰、細雨、小雨、中雨、大雨 |
空氣品質觀測
空氣品質觀測縣市資料
提供當下各縣市空氣品質觀測資料,項目包含 O3、O3 8小時、CO、CO 8小時、NO、NO2、NOx、SO2、SO2_avg、AQI、風向、風速、Pm10、PM25、PM25_avg、主要汙染物、空品狀態、測站名稱,測站設定為距離縣市政府最近之觀測站。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER1/county-aqi/臺北市
參數說明
curl https://premium-weather-api.weatherrisk.com/USER1/county-aqi/%E8%87%BA%E5%8C%97%E5%B8%82
註解:範例後面 county-aqi/臺北市 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": {
"O3": "36",
"O3_8hr": "29",
"CO": "1",
"CO_8hr": "0.5",
"NO": "23",
"NO2": "34",
"NOx": "57",
"SO2": "2.8",
"SO2_avg": "2",
"aqi": "65",
"geometry": {
"coordinates": [
121.529556,
25.020608
],
"type": "Point"
},
"pm10": "40",
"pm10_avg": "38",
"pm2.5": "23",
"pm2.5_avg": "21",
"pollutant": "細懸浮微粒",
"publish_time": "2019-01-19 10:00",
"station_name": "古亭測站",
"status": "普通",
"wind_dir": "252",
"wind_speed": "1.8"
}
}
Parameter | Description |
---|---|
O3 | 臭氧 ppb |
O3_8hr | 臭氧8小時移動平均 ppb |
CO | 一氧化碳 ppm |
CO_8hr | 一氧化碳8小時移動平均 ppm |
NO | 一氧化氮 ppb |
NO2 | 二氧化氮 ppb |
NOx | 氮氧化物 ppb |
SO2 | 二氧化硫 ppb |
SO2_avg | 二氧化硫移動平均值 ppb |
aqi | 空氣品質指標 |
geometry | 經度 緯度 |
pm10 | 細懸服微粒 1.μg/m3 |
pm10_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pm2.5 | 細懸服微粒 1.μg/m3 |
pm2.5_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pollutant | 空氣污染指標物 |
publish_time | 資料發佈時間 |
station_name | 測站名稱 |
status | 空氣品質狀態 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
空氣品質觀測縣市鄉鎮資料
提供當下各縣市空氣品質觀測資料,項目包含 O3、O3 8小時、CO、CO 8小時、NO、NO2、NOx、SO2、SO2_avg、AQI、風向、風速、Pm10、PM25、PM25_avg、主要汙染物、空品狀態、測站名稱,測站設定為距離縣市政府或公所最近之觀測站。
註:全臺行政區名都以大寫為主,例如:臺北市中山區
HTTP Request
https://premium-weather-api.weatherrisk.com/USER2/township-aqi/臺北市中山區
參數說明
curl https://premium-weather-api.weatherrisk.com/USER2/township-aqi/%E8%87%BA%E5%8C%97%E5%B8%82%E4%B8%AD%E5%B1%B1%E5%8D%80
註解:範例後面 township-aqi/臺北市中山區 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": {
"O3": "36",
"O3_8hr": "29",
"CO": "1",
"CO_8hr": "0.5",
"NO": "23",
"NO2": "34",
"NOx": "57",
"SO2": "2.8",
"SO2_avg": "2",
"aqi": "65",
"geometry": {
"coordinates": [
121.529556,
25.020608
],
"type": "Point"
},
"pm10": "40",
"pm10_avg": "38",
"pm2.5": "23",
"pm2.5_avg": "21",
"pollutant": "細懸浮微粒",
"publish_time": "2019-01-19 10:00",
"station_name": "古亭測站",
"status": "普通",
"wind_dir": "252",
"wind_speed": "1.8"
}
}
Parameter | Description |
---|---|
O3 | 臭氧 ppb |
O3_8hr | 臭氧8小時移動平均 ppb |
CO | 一氧化碳 ppm |
CO_8hr | 一氧化碳8小時移動平均 ppm |
NO | 一氧化氮 ppb |
NO2 | 二氧化氮 ppb |
NOx | 氮氧化物 ppb |
SO2 | 二氧化硫 ppb |
SO2_avg | 二氧化硫移動平均值 ppb |
aqi | 空氣品質指標 |
geometry | 經度 緯度 |
pm10 | 細懸服微粒 1.μg/m3 |
pm10_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pm2.5 | 細懸服微粒 1.μg/m3 |
pm2.5_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pollutant | 空氣污染指標物 |
publish_time | 資料發佈時間 |
station_name | 測站名稱 |
status | 空氣品質狀態 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
空氣品質觀測縣市鄉鎮資料-經緯度
提供指定經緯度點最近空氣品質測站觀測資料,項目包含O3、O3 8小時、CO、CO 8小時、NO、NO2、NOx、SO2、SO2_avg、AQI、風向、風速、Pm10、PM25、PM25_avg、主要汙染物、空品狀態、測站名稱。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/obs-aqi/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/obs-aqi/25.052168,121.540672
The above command returns JSON structured like this:
{
"data": {
"O3": "36",
"O3_8hr": "29",
"CO": "1",
"CO_8hr": "0.5",
"NO": "23",
"NO2": "34",
"NOx": "57",
"SO2": "2.8",
"SO2_avg": "2",
"aqi": "65",
"geometry": {
"coordinates": [
121.529556,
25.020608
],
"type": "Point"
},
"pm10": "40",
"pm10_avg": "38",
"pm2.5": "23",
"pm2.5_avg": "21",
"pollutant": "細懸浮微粒",
"publish_time": "2019-01-19 10:00",
"station_name": "古亭測站",
"status": "普通",
"wind_dir": "252",
"wind_speed": "1.8"
}
}
Parameter | Description |
---|---|
O3 | 臭氧 ppb |
O3_8hr | 臭氧8小時移動平均 ppb |
CO | 一氧化碳 ppm |
CO_8hr | 一氧化碳8小時移動平均 ppm |
NO | 一氧化氮 ppb |
NO2 | 二氧化氮 ppb |
NOx | 氮氧化物 ppb |
SO2 | 二氧化硫 ppb |
SO2_avg | 二氧化硫移動平均值 ppb |
aqi | 空氣品質指標 |
geometry | 經度 緯度 |
pm10 | 細懸服微粒 1.μg/m3 |
pm10_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pm2.5 | 細懸服微粒 1.μg/m3 |
pm2.5_avg | 細懸浮微粒移動平均值 1.μg/m3 |
pollutant | 空氣污染指標物 |
publish_time | 資料發佈時間 |
station_name | 測站名稱 |
status | 空氣品質狀態 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
即時觀測天氣
即時觀測天氣縣市資料
提供該縣市即時天氣觀測數據,項目包含日累積雨量、氣壓、相對濕度、氣溫、風向、風速,測站設定為距離縣市政府最近之觀測站。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER1/county-weather-station/臺北市
參數說明
curl https://premium-weather-api.weatherrisk.com/USER1/county-weather-station/%E8%87%BA%E5%8C%97%E5%B8%82
註解:範例後面 county-weather-station/臺北市 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": {
"observation_time": "2019-01-19T10:08:05+08:00",
"pcpn": 0.0,
"pcpn_daily": 0.0,
"pressure": 1014.1,
"rh": 60.0,
"temperature": 19.1,
"wind_dir": 200.0,
"wind_speed": 0.4
}
}
Parameter | Description |
---|---|
observation_time | 觀測時間 |
pcpn | 時雨量 |
pcpn_daily | 日累積雨量 (昨 13:00 - 今 13:00) mm |
pressure | 氣壓 hPa |
rh | 相對濕度 |
temperature | 溫度 攝氏 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
即時觀測天氣縣市鄉鎮資料
提供該鄉鎮縣市區即時天氣觀測數據,項目包含日累積雨量、氣壓、相對濕度、氣溫、風向、風速,測站設定為距離縣市政府或公所最近之觀測站。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER2/township-weather-station/臺北市中山區
參數說明
curl https://premium-weather-api.weatherrisk.com/USER2/township-weather-station/%E8%87%BA%E5%8C%97%E5%B8%82%E4%B8%AD%E5%B1%B1%E5%8D%80
註解:範例後面 township-weather-station/臺北市中山區 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": {
"observation_time": "2019-01-19T10:48:05+08:00",
"pcpn": 0.0,
"pcpn_daily": 0.0,
"pressure": 1014.1,
"rh": 60.0,
"temperature": 19.1,
"wind_dir": 200.0,
"wind_speed": 0.4
}
}
Parameter | Description |
---|---|
observation_time | 觀測時間 |
pcpn | 時雨量 |
pcpn_daily | 日累積雨量 (昨 13:00 - 今 13:00) mm |
pressure | 氣壓 hPa |
rh | 相對濕度 |
temperature | 溫度 攝氏 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
即時觀測天氣縣市鄉鎮資料-經緯度
提供指定經緯度點最近氣象觀測站觀測資料,項目包含累積雨量、氣壓、相對濕度、氣溫、風向、風速、測站名稱。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/obs-weather-station/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/obs-weather-station/25.052168,121.540672
The above command returns JSON structured like this:
{
"data": {
"observation_time": "2019-01-19T10:48:05+08:00",
"pcpn": 0.0,
"pcpn_daily": 0.0,
"pressure": 1014.1,
"rh": 60.0,
"temperature": 19.1,
"wind_dir": 200.0,
"wind_speed": 0.4
}
}
Parameter | Description |
---|---|
observation_time | 觀測時間 |
pcpn | 時雨量 |
pcpn_daily | 日累積雨量 (昨 13:00 - 今 13:00) mm |
pressure | 氣壓 hPa |
rh | 相對濕度 |
temperature | 溫度 攝氏 |
wind_dir | 風向 degrees ° |
wind_speed | 風速 m/s |
警特報發布
警特報發布縣市資料
氣象局針對使用者指定點發布警報或特報時顯示,未發布時則無。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER1/alerts-county/臺北市
參數說明
curl https://premium-weather-api.weatherrisk.com/USER1/alerts-county/%E8%87%BA%E5%8C%97%E5%B8%82
註解:範例後面 alerts-county/臺北市 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"description": "東北季風及華南雲雨區東移影響,今(16)日宜蘭地區、基隆北海岸及大臺北山區有局部大雨發生的機率,請注意。",
"effective_time": "2019-01-16T10:10:00+08:00",
"expiry_time": "2019-01-16T20:00:00+08:00",
"headline": "大雨特報",
"sender": "中央氣象局"
}
]
}
Parameter | Description |
---|---|
description | 警報內容 |
effective_time | 警報有效時間 |
expiry_time | 警報到期時間 |
headline | 警報種類 |
sender | 發佈單位 |
警特報發布縣市鄉鎮資料
氣象局針對使用者指定點發布警報或特報時顯示,未發布時則無。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER2/alerts-township/臺北市中山區
參數說明
curl https://premium-weather-api.weatherrisk.com/USER2/alerts-township/%E8%87%BA%E5%8C%97%E5%B8%82%E4%B8%AD%E5%B1%B1%E5%8D%80
註解:範例後面 alerts-township/臺北市中山區 已經由 encode 轉換。
The above command returns JSON structured like this:
{
"data": [
{
"description": "東北季風及華南雲雨區東移影響,今(16)日宜蘭地區、基隆北海岸及大臺北山區有局部大雨發生的機率,請注意。",
"effective_time": "2019-01-16T10:10:00+08:00",
"expiry_time": "2019-01-16T20:00:00+08:00",
"headline": "大雨特報",
"sender": "中央氣象局"
}
]
}
Parameter | Description |
---|---|
description | 警報內容 |
effective_time | 警報有效時間 |
expiry_time | 警報到期時間 |
headline | 警報總類 |
sender | 發佈單位 |
警特報發布縣市鄉鎮資料-經緯度
氣象局針對使用者指定點發布警報或特報時顯示,未發布時則無。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/alerts-data/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/alerts-data/25.052168,121.540672
The above command returns JSON structured like this:
{
"data": [
{
"description": "東北季風及華南雲雨區東移影響,今(16)日宜蘭地區、基隆北海岸及大臺北山區有局部大雨發生的機率,請注意。",
"effective_time": "2019-01-16T10:10:00+08:00",
"expiry_time": "2019-01-16T20:00:00+08:00",
"headline": "大雨特報",
"sender": "中央氣象局"
}
]
}
Parameter | Description |
---|---|
description | 警報內容 |
effective_time | 警報有效時間 |
expiry_time | 警報到期時間 |
headline | 警報總類 |
sender | 發佈單位 |
空氣品質預報
空氣品質預報縣市鄉鎮資料-經緯度
提供指定點空氣品質預報,項目包含CO、NO2、O3、PM10、PM25、SO2及各項汙染物AQI值。
HTTP Request
https://premium-weather-api.weatherrisk.com/USER3/aqi-forecast/25.052168,121.540672
參數說明
curl https://premium-weather-api.weatherrisk.com/USER3/aqi-forecast/25.052168,121.540672
The above command returns JSON structured like this:
{
"data": [
{
"CO": 0,
"NO2": 15,
"O3": 18,
"PM10": 41,
"PM2.5": 83,
"SO2": 7,
"forecast_time": "2019-01-17T21:00:00+08:00",
"issue_time": "2019-01-17T20:00:00+08:00"
}
]
}
Parameter | Description |
---|---|
CO | 一氧化碳 AQI 值 |
NO2 | 二氧化氮 AQI 值 |
O3 | 臭氧 AQI 值 |
PM10 | 細懸浮微粒濃度 AQI 值 |
PM2.5 | 細懸浮微粒濃度 AQI 值 |
SO2 | 二氧化硫 AQI 值 |
forecast_time | 資料觀測時間 |
issue_time | 資料發佈時間 |