Skip to content

Aviation Weather Center API

8 endpointsTravel, Maps & WeatherUSsocial:read6 real examples

Returns METAR observations, TAF forecasts, airport details, SIGMETs, pilot reports and G-AIRMET advisories.

View as Markdown
GET/aviationweather/metarThe latest surface weather observations (METAR) of airports, by ICAO code.
GET/aviationweather/metarHistoryWeather observations (METAR) of one airport over the last hours, oldest first.
GET/aviationweather/tafThe current terminal forecasts (TAF) of airports, by ICAO code.
GET/aviationweather/airportAirport details of one to ten ICAO codes: name, IATA code, position, elevation and country.
GET/aviationweather/sigmetsCurrent SIGMET and convective SIGMET advisories of the world: hazard, altitude, movement and validity.
GET/aviationweather/cwaCenter weather advisories (CWA) of the US air traffic control centers: convective weather and other hazards, with area, altitudes and validity.
GET/aviationweather/pirepsPilot reports (PIREPs) near an airport: turbulence, icing, weather and the wind and temperature the aircraft saw.
GET/aviationweather/gairmetsCurrent G-AIRMET advisories for the United States: turbulence, icing, IFR, mountain obscuration and surface wind.

metar

GET/v1/aviationweather/metar

The latest surface weather observations (METAR) of airports, by ICAO code.

scope social:read1 unitcached 5 minpaginated

Parameters

ids
string
required
One to ten ICAO airport codes, comma separated, such as WIII or WIII,WSSS.
e.g. WIII
tunnel
string
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.
proxy
string
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.
profileId
string
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
altimeterHpanumber (double)
dewpointCelsiusnumber (double)
elevationMetersinteger (int64)
flightCategorystring
icaostring
latitudenumber (double)
longitudenumber (double)
namestring
observedAtstring
rawTextstring
temperatureCelsiusnumber (double)
visibilityMinumber (double)
windDirectionDeginteger (int64)
windSpeedKtinteger (int64)
curl "https://api.hoshime.com/v1/aviationweather/metar?ids=WIII" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/aviationweather/metarHistory

Weather observations (METAR) of one airport over the last hours, oldest first.

scope social:read1 unitcached 5 minpaginated

Parameters

id
string
required
ICAO airport code, such as WIII or KJFK.
e.g. KJFK
hours
integer
Hours back, from 1 to 72.
default 24e.g. 3
tunnel
string
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.
proxy
string
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.
profileId
string
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
altimeterHpanumber (double)
dewpointCelsiusnumber (double)
elevationMetersinteger (int64)
flightCategorystring
icaostring
latitudenumber (double)
longitudenumber (double)
namestring
observedAtstring
rawTextstring
temperatureCelsiusnumber (double)
visibilityMinumber (double)
windDirectionDeginteger (int64)
windSpeedKtinteger (int64)
curl "https://api.hoshime.com/v1/aviationweather/metarHistory?id=KJFK&hours=3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/aviationweather/taf

The current terminal forecasts (TAF) of airports, by ICAO code.

scope social:read1 unitcached 30 minpaginated

Parameters

ids
string
required
One to ten ICAO airport codes, comma separated, such as WIII or WIII,WSSS.
e.g. WIII
tunnel
string
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.
proxy
string
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.
profileId
string
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
icaostring
issuedAtstring
latitudenumber (double)
longitudenumber (double)
namestring
rawTextstring
validFromAtstring
validToAtstring
curl "https://api.hoshime.com/v1/aviationweather/taf?ids=WIII" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/aviationweather/airport

Airport details of one to ten ICAO codes: name, IATA code, position, elevation and country.

scope social:read1 unitcached 24 hpaginated

Parameters

ids
string
required
One to ten ICAO airport codes, comma separated, such as WIII or KJFK,EGLL.
e.g. WIII
tunnel
string
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.
proxy
string
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.
profileId
string
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
countrystring
elevationFtinteger (int64)
iatastring
icaostring
latitudenumber (double)
longitudenumber (double)
namestring
statestring
curl "https://api.hoshime.com/v1/aviationweather/airport?ids=WIII" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/aviationweather/sigmets

Current SIGMET and convective SIGMET advisories of the world: hazard, altitude, movement and validity.

scope social:read1 unitcached 5 minpaginated

Parameters

tunnel
string
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.
proxy
string
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.
profileId
string
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
baseFtinteger (int64)
hazardstring
icaostring
idstring
kindstring
movementDeginteger (int64)
movementKtinteger (int64)
rawstring
severitystring
topFtinteger (int64)
validFromAtstring
validToAtstring
curl "https://api.hoshime.com/v1/aviationweather/sigmets" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/aviationweather/cwa

Center weather advisories (CWA) of the US air traffic control centers: convective weather and other hazards, with area, altitudes and validity.

scope social:read1 unitcached 5 minpaginated

Parameters

hazard
string
Hazard to keep, such as TS. Omit for all.
limit
integer
Items per page, 1 to 100.
default 20
tunnel
string
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.
proxy
string
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.
profileId
string
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
areaPoint[]
latitudenumber (double)
longitudenumber (double)
baseFtinteger (int64)
centerstring
centerNamestring
hazardstring
idstring
qualifierstring
rawstring
topFtinteger (int64)
validFromAtstring
validToAtstring
curl "https://api.hoshime.com/v1/aviationweather/cwa" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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

GET/v1/aviationweather/pireps

Pilot reports (PIREPs) near an airport: turbulence, icing, weather and the wind and temperature the aircraft saw.

scope social:read1 unitcached 10 minpaginated

Parameters

id
string
required
ICAO airport code the reports are near, such as KJFK.
e.g. KJFK
distance
integer
Radius in nautical miles, from 1 to 500.
default 100e.g. 100
age
integer
Hours back, from 1 to 24.
default 2e.g. 24
limit
integer
Items per page, 1 to 100.
default 20
tunnel
string
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.
proxy
string
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.
profileId
string
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
aircraftTypestring
flightLevelinteger (int64)
latitudenumber (double)
longitudenumber (double)
observedAtstring
rawstring
temperatureCelsiusnumber (double)
weatherstring
windDirDeginteger (int64)
windSpeedKtinteger (int64)
curl "https://api.hoshime.com/v1/aviationweather/pireps?id=KJFK&distance=100&age=24" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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

GET/v1/aviationweather/gairmets

Current G-AIRMET advisories for the United States: turbulence, icing, IFR, mountain obscuration and surface wind.

scope social:read1 unitcached 10 minpaginated

Parameters

hazard
string
Hazard to keep, such as TURB, ICE, IFR or MT_OBSC. Omit for all.
e.g. TURB
limit
integer
Items per page, 1 to 100.
default 20e.g. 5
tunnel
string
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.
proxy
string
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.
profileId
string
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
baseHundredsFtinteger (int64)
expiresAtstring
forecastHourinteger (int64)
hazardstring
issuedAtstring
severitystring
tagstring
topHundredsFtinteger (int64)
validAtstring
curl "https://api.hoshime.com/v1/aviationweather/gairmets?hazard=TURB&limit=5" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open