GAMET

Required roles: AIS PIB API — Roles
Base endpoint: https://ais-pib-api.ibosoft.net.tr:2087/opmet-gamet
Reference documents: ICAO Doc 10157 PANS-MET, Ed. 1 (27/11/25)
Attribution: show ibonav.aero wherever this data is displayed
Data sources: TSMS (Turkish State Meteorological Service).
Last updated: 17 OCT 2026

About the reference documents: Related Documents and Resources
Depending on your use, the original data sources may also need to be credited.

GAMET area forecasts for low-level flights: the messages in force, a short history, and a GeoJSON layer with the area each message covers.

Messages are checked every 10 minutes, and again at the top of each hour until the new issue is in. The message format is that of PANS-MET Appendix 6 (Table A6-1). To decode a message, pass its raw text to GAMET (ICAO).


Endpoints

Endpoint Description
GET /opmet-gamet/recent GAMET messages in force
GET /opmet-gamet/history Earlier messages, newest first
GET /opmet-gamet/geojson Polygon layer of the messages in force (FeatureCollection)
GET /opmet-gamet/latest-snapshot Time of the newest data, {"snapshot": "YYYYMMDD_HHMM"} or null

For a map layer, poll /latest-snapshot and request /geojson only when the value changes.

Parameters

Parameter Endpoints Description
fir /recent, /history, /geojson Only messages of these FIR/CTAs: ICAO location indicator of the FIR/CTA, comma-separated for several (?fir=LTBB,LTAA). Case-insensitive.
count /history Number of most recent messages (≥ 1); omit for all stored messages (the last 20 per data source)
source all except /latest-snapshot Use only this data source (mgm); an unknown id returns 400

An issuing office may publish more than one GAMET at a time, one per sub-area of the FIR.

Response

/recent and /history:

{
  "sources": ["TSMS"],
  "updated": "2026-09-25T13:00:00+00:00",
  "count": 1,
  "messages": [
    {
      "met_office": "LTBF",
      "observation_time": "2026-09-25T13:00:00+00:00",
      "epoch": 1790168400,
      "raw": "LTBB GAMET VALID 251400/252000 LTBF-\nLTBB ISTANBUL FIR/B1 BLW FL150 …",
      "fir": "LTBB ISTANBUL FIR/B1 BLW FL150",
      "fir_icao": "LTBB",
      "fir_code": "B1",
      "region_code": "BX",
      "source": "TSMS"
    }
  ]
}
Field Description
met_office ICAO location indicator of the issuing meteorological office
observation_time / epoch Time of issue (ISO 8601, UTC / Unix seconds)
raw Message text, line breaks kept
fir The "Name of FIR/CTA" line of the message
fir_icao ICAO location indicator of the FIR/CTA
fir_code, region_code Sub-area designators used to place the message on the map
source Name of the data source

/geojson features carry met_office, fir_icao, region_code, fir_code, fir, observation_time, source, raw as properties. The polygon is derived from the sub-area designator in the FIR/CTA line; when the message has no designator, the area of the issuing office is used. Treat the polygon as an approximate display area — the message text is authoritative.

Errors

Code Meaning
400 Unknown source id
503 The service is starting up; retry shortly

If a data source cannot be reached, the last received messages stay available.