Air Quality API 總覽
Air Quality API 可讓您要求特定位置的空氣品質資料,包括超過 70 個空氣品質指數 (AQI)、汙染物和健康建議。涵蓋 100 多個國家/地區,解析度為 500 x 500 公尺。
使用 Air Quality API 的好處
這個 API 提供端點,可讓您查詢:
- 目前天氣狀況:即時每小時空氣品質資訊。
- 每小時記錄:特定位置的空氣品質記錄,時間範圍為指定的 30 天內。
- 熱圖:各種指標和污染物以不同顏色編碼的圖塊。
- 每小時預報:特定地點的未來空氣品質狀況,最多 96 小時 (4 天)。
Air Quality API 的功能
- 即時空氣品質指數和類別:Air Quality API 會持續計算各種空氣品質指數的值,解析度為 500 x 500 公尺。
- 健康建議:提供數百項以研究為依據的健康建議,適用對象包括一般大眾和敏感族群,包括兒童、長者、孕婦、運動員,以及氣喘或心臟病患者。
- 汙染物詳細資料:不同汙染物的深入資訊,包括主要汙染物、濃度、來源和影響。
- 每小時記錄:特定地點在指定時間範圍內的空氣品質記錄。每個回應可能包含每小時空氣品質指數、污染物資料和健康建議,最多 720 小時 (30 天)。
- 熱點圖:熱點圖是可顯示在 Google 地圖上方的空氣品質指數和污染物圖片圖塊集合。
- 每小時預報:特定地點未來的空氣品質狀況,以及特定時間範圍或未來的特定小時,最多 96 小時 (4 天)。每個回應可能包含每小時空氣品質預測指數、污染物資料和可行的建議。
Air Quality API 的運作方式
Air Quality API 提供下列方法:
currentConditions:currentConditions
端點提供目前每小時的空氣品質資訊。
history:history
端點可提供特定位置在指定時間範圍內 (最多 30 天) 的歷史每小時空氣品質資訊。
heatmapTiles:heatmapTiles
端點會透過圖塊疊加層提供空氣品質相關熱視圖。
forecast:forecast
端點會針對特定位置,在指定時間範圍內提供每小時的未來空氣品質資訊,最多 96 小時 (4 天)。
Air Quality API 涵蓋的國家/地區
如需最新的涵蓋範圍詳細資料,請參閱Air Quality API 支援的國家/地區和可用的空氣品質指標,瞭解哪些國家/地區提供空氣品質資訊 (空氣品質指標) 和當地空氣品質資訊 (LAQI)。
如何使用空氣品質 API
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-28 (世界標準時間)。
[null,null,["上次更新時間:2025-02-28 (世界標準時間)。"],[[["The Air Quality API provides access to real-time, historical, and forecasted air quality data for over 100 countries with a resolution of 500 x 500 meters."],["You can retrieve current conditions, hourly history (up to 30 days), heatmaps, and hourly forecasts (up to 96 hours) using the API."],["The API includes various air quality indexes, health recommendations, pollutant details, and heatmap tile overlays."],["Coverage details and available air quality indexes vary by country and region, so refer to the provided resources for specific information."],["To use the Air Quality API, you need to set up a Google Cloud project and then utilize the provided endpoints and documentation to retrieve air quality data."]]],["The Air Quality API provides real-time and historical air quality data, forecasts, and heatmaps for over 100 countries with 500x500 meter resolution. Key actions include querying current conditions, accessing up to 30 days of hourly history, viewing color-coded heatmap tiles, and obtaining up to 96-hour hourly forecasts. The API delivers information on 70+ AQIs, pollutants, and health recommendations for various groups, leveraging methods such as `currentConditions`, `history`, `heatmapTiles`, and `forecast`.\n"]]