Aviation Weather Center API
Returns METAR observations, TAF forecasts, airport details, SIGMETs, pilot reports and G-AIRMET advisories.
View as Markdown| GET | /aviationweather/metar | The latest surface weather observations (METAR) of airports, by ICAO code. |
| GET | /aviationweather/metarHistory | Weather observations (METAR) of one airport over the last hours, oldest first. |
| GET | /aviationweather/taf | The current terminal forecasts (TAF) of airports, by ICAO code. |
| GET | /aviationweather/airport | Airport details of one to ten ICAO codes: name, IATA code, position, elevation and country. |
| GET | /aviationweather/sigmets | Current SIGMET and convective SIGMET advisories of the world: hazard, altitude, movement and validity. |
| GET | /aviationweather/cwa | Center weather advisories (CWA) of the US air traffic control centers: convective weather and other hazards, with area, altitudes and validity. |
| GET | /aviationweather/pireps | Pilot reports (PIREPs) near an airport: turbulence, icing, weather and the wind and temperature the aircraft saw. |
| GET | /aviationweather/gairmets | Current G-AIRMET advisories for the United States: turbulence, icing, IFR, mountain obscuration and surface wind. |
metar
/v1/aviationweather/metarThe latest surface weather observations (METAR) of airports, by ICAO code.
Parameters
idsstring required | One to ten ICAO airport codes, comma separated, such as WIII or WIII,WSSS. e.g. WIII |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
altimeterHpa | number (double) |
dewpointCelsius | number (double) |
elevationMeters | integer (int64) |
flightCategory | string |
icao | string |
latitude | number (double) |
longitude | number (double) |
name | string |
observedAt | string |
rawText | string |
temperatureCelsius | number (double) |
visibilityMi | number (double) |
windDirectionDeg | integer (int64) |
windSpeedKt | integer (int64) |
curl "https://api.hoshime.com/v1/aviationweather/metar?ids=WIII" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/metar?ids=WIII", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/metar?ids=WIII", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "altimeterHpa": 1011, "dewpointCelsius": 24, "elevationMeters": 9, "flightCategory": "MVFR", "icao": "WIII", "latitude": -6.125, "longitude": 106.659, "name": "Jakarta/Hatta Intl, JB, ID", "observedAt": "2026-11-06T17:30:00Z", "rawText": "METAR WIII 061730Z 24006KT 7000 SCT020 26/24 Q1011 NOSIG", "temperatureCelsius": 26, "visibilityMi": 4.35, "windDirectionDeg": 240, "windSpeedKt": 6 } ], "meta": { "cached": false, "endpoint": "metar", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
metarHistory
/v1/aviationweather/metarHistoryWeather observations (METAR) of one airport over the last hours, oldest first.
Parameters
idstring required | ICAO airport code, such as WIII or KJFK. e.g. KJFK |
hoursinteger | Hours back, from 1 to 72. default 24e.g. 3 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
14 fields
altimeterHpa | number (double) |
dewpointCelsius | number (double) |
elevationMeters | integer (int64) |
flightCategory | string |
icao | string |
latitude | number (double) |
longitude | number (double) |
name | string |
observedAt | string |
rawText | string |
temperatureCelsius | number (double) |
visibilityMi | number (double) |
windDirectionDeg | integer (int64) |
windSpeedKt | integer (int64) |
curl "https://api.hoshime.com/v1/aviationweather/metarHistory?id=KJFK&hours=3" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/metarHistory?id=KJFK&hours=3", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/metarHistory?id=KJFK&hours=3", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "altimeterHpa": 0, "dewpointCelsius": 0, "elevationMeters": 0, "flightCategory": "…", "icao": "…", "latitude": 0, "longitude": 0, "name": "…", "observedAt": "2026-11-06T09:41:00Z", "rawText": "…", "temperatureCelsius": 0, "visibilityMi": 0, "windDirectionDeg": 0, "windSpeedKt": 0 } ], "meta": { "cached": false, "endpoint": "metarHistory", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
taf
/v1/aviationweather/tafThe current terminal forecasts (TAF) of airports, by ICAO code.
Parameters
idsstring required | One to ten ICAO airport codes, comma separated, such as WIII or WIII,WSSS. e.g. WIII |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
icao | string |
issuedAt | string |
latitude | number (double) |
longitude | number (double) |
name | string |
rawText | string |
validFromAt | string |
validToAt | string |
curl "https://api.hoshime.com/v1/aviationweather/taf?ids=WIII" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/taf?ids=WIII", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/taf?ids=WIII", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "icao": "WIII", "issuedAt": "2026-11-06T17:00:00Z", "latitude": -6.125, "longitude": 106.659, "name": "Jakarta/Hatta Intl", "rawText": "TAF WIII 061700Z 0618/0800 24005KT 7000 SCT020 BECMG 0620/0622 4000 HZ BECMG 0701/0703 03013KT 8000 NSW", "validFromAt": "2026-11-06T18:00:00Z", "validToAt": "2026-11-08T00:00:00Z" } ], "meta": { "cached": false, "endpoint": "taf", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
airport
/v1/aviationweather/airportAirport details of one to ten ICAO codes: name, IATA code, position, elevation and country.
Parameters
idsstring required | One to ten ICAO airport codes, comma separated, such as WIII or KJFK,EGLL. e.g. WIII |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
country | string |
elevationFt | integer (int64) |
iata | string |
icao | string |
latitude | number (double) |
longitude | number (double) |
name | string |
state | string |
curl "https://api.hoshime.com/v1/aviationweather/airport?ids=WIII" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/airport?ids=WIII", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/airport?ids=WIII", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "country": "ID", "elevationFt": 9, "iata": "CGK", "icao": "WIII", "latitude": -6.125, "longitude": 106.659, "name": "Jakarta/Hatta Intl", "state": "JB" } ], "meta": { "cached": false, "endpoint": "airport", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
sigmets
/v1/aviationweather/sigmetsCurrent SIGMET and convective SIGMET advisories of the world: hazard, altitude, movement and validity.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
baseFt | integer (int64) |
hazard | string |
icao | string |
id | string |
kind | string |
movementDeg | integer (int64) |
movementKt | integer (int64) |
raw | string |
severity | string |
topFt | integer (int64) |
validFromAt | string |
validToAt | string |
curl "https://api.hoshime.com/v1/aviationweather/sigmets" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/sigmets", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/sigmets", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "baseFt": 0, "hazard": "CONVECTIVE", "icao": "KKCI", "id": "1W", "kind": "SIGMET", "movementDeg": 210, "movementKt": 20, "raw": "WSUS33 KKCI 061755\nMKCW WST 061755\nCONVECTIVE SIGMET 1W\nVALID UNTIL 1955Z\nNM AZ\nFROM 30ESE SSO-60SSE SSO-60SSW SSO-20SW SSO-30ESE SSO\nAREA T…", "severity": "5", "topFt": 31000, "validFromAt": "2026-11-06T17:55:00Z", "validToAt": "2026-11-06T19:55:00Z" }, { "baseFt": 0, "hazard": "CONVECTIVE", "icao": "KKCI", "id": "52E", "kind": "SIGMET", "movementDeg": 230, "movementKt": 30, "raw": "WSUS31 KKCI 061755\nMKCE WST 061755\nCONVECTIVE SIGMET 52E\nVALID UNTIL 1955Z\nVA NC SC AND MD NC VA SC CSTL WTRS\nFROM 40ESE SBY-60E ORF-50SSW I…", "severity": "5", "topFt": 42000, "validFromAt": "2026-11-06T17:55:00Z", "validToAt": "2026-11-06T19:55:00Z" } ], "meta": { "cached": false, "endpoint": "sigmets", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
cwa
/v1/aviationweather/cwaCenter weather advisories (CWA) of the US air traffic control centers: convective weather and other hazards, with area, altitudes and validity.
Parameters
hazardstring | Hazard to keep, such as TS. Omit for all. |
limitinteger | Items per page, 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
area | Point[] |
latitude | number (double) |
longitude | number (double) |
baseFt | integer (int64) |
center | string |
centerName | string |
hazard | string |
id | string |
qualifier | string |
raw | string |
topFt | integer (int64) |
validFromAt | string |
validToAt | string |
curl "https://api.hoshime.com/v1/aviationweather/cwa" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/cwa", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/cwa", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "area": [ { "latitude": null, "longitude": null } ], "baseFt": 0, "center": "…", "centerName": "…", "hazard": "…", "id": "abc123", "qualifier": "…", "raw": "…", "topFt": 0, "validFromAt": "2026-11-06T09:41:00Z", "validToAt": "2026-11-06T09:41:00Z" } ], "meta": { "cached": false, "endpoint": "cwa", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
pireps
/v1/aviationweather/pirepsPilot reports (PIREPs) near an airport: turbulence, icing, weather and the wind and temperature the aircraft saw.
Parameters
idstring required | ICAO airport code the reports are near, such as KJFK. e.g. KJFK |
distanceinteger | Radius in nautical miles, from 1 to 500. default 100e.g. 100 |
ageinteger | Hours back, from 1 to 24. default 2e.g. 24 |
limitinteger | Items per page, 1 to 100. default 20 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
10 fields
aircraftType | string |
flightLevel | integer (int64) |
latitude | number (double) |
longitude | number (double) |
observedAt | string |
raw | string |
temperatureCelsius | number (double) |
weather | string |
windDirDeg | integer (int64) |
windSpeedKt | integer (int64) |
curl "https://api.hoshime.com/v1/aviationweather/pireps?id=KJFK&distance=100&age=24" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/pireps?id=KJFK&distance=100&age=24", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/pireps?id=KJFK&distance=100&age=24", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "aircraftType": "A321", "flightLevel": 90, "latitude": 40.3057, "longitude": -73.8509, "observedAt": "2026-11-06T17:57:00Z", "raw": "JFK UA /OV 20 SSW JFK/TM 1757/FL090/TP A321/WX IMC +RA/TB LT", "temperatureCelsius": 0, "weather": "+RA", "windDirDeg": 0, "windSpeedKt": 0 }, { "aircraftType": "C525A", "flightLevel": 150, "latitude": 40.773, "longitude": -74.5647, "observedAt": "2026-11-06T17:56:00Z", "raw": "MMU UA /OV 7 W MMU/TM 1756/FL150/TP C525A/WX IMC/TB LT", "temperatureCelsius": 0, "weather": "", "windDirDeg": 0, "windSpeedKt": 0 } ], "meta": { "cached": false, "endpoint": "pireps", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }
gairmets
/v1/aviationweather/gairmetsCurrent G-AIRMET advisories for the United States: turbulence, icing, IFR, mountain obscuration and surface wind.
Parameters
hazardstring | Hazard to keep, such as TURB, ICE, IFR or MT_OBSC. Omit for all. e.g. TURB |
limitinteger | Items per page, 1 to 100. default 20e.g. 5 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
baseHundredsFt | integer (int64) |
expiresAt | string |
forecastHour | integer (int64) |
hazard | string |
issuedAt | string |
severity | string |
tag | string |
topHundredsFt | integer (int64) |
validAt | string |
curl "https://api.hoshime.com/v1/aviationweather/gairmets?hazard=TURB&limit=5" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/aviationweather/gairmets?hazard=TURB&limit=5", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/aviationweather/gairmets?hazard=TURB&limit=5", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "baseHundredsFt": 0, "expiresAt": "2026-11-06T21:00:00Z", "forecastHour": 3, "hazard": "TURB-LO", "issuedAt": "2026-11-06T17:46:00Z", "severity": "MOD", "tag": "5W", "topHundredsFt": 140, "validAt": "2026-11-06T18:00:00Z" }, { "baseHundredsFt": 220, "expiresAt": "2026-11-06T21:00:00Z", "forecastHour": 3, "hazard": "TURB-HI", "issuedAt": "2026-11-06T17:46:00Z", "severity": "MOD", "tag": "1W", "topHundredsFt": 380, "validAt": "2026-11-06T18:00:00Z" } ], "meta": { "cached": false, "endpoint": "gairmets", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "aviationweather", "requestId": "req_2Xb9kQ…", "units": 1 } }