AD WRNG
Required roles:
AIS PIB API— Roles
Base endpoint:https://ais-pib-api.ibosoft.net.tr:2087/opmet-ad-wrng
Reference documents: ICAO Doc 10157 PANS-MET, Ed. 1 (27/11/25)
Attribution: showibonav.aerowherever this data is displayed
Data sources: TSMS (Turkish State Meteorological Service).
Last updated: 17 OCT 2026About the reference documents: Related Documents and Resources
Depending on your use, the original data sources may also need to be credited.
Aerodrome warnings in force for an aerodrome, and of the last 24 hours, in the PANS-MET aerodrome warning format. Data is refreshed every 3 minutes.
Some data sources do not publish aerodrome warnings in the PANS-MET format. Their warnings are converted to the PANS-MET Table A7-6 template; such data sources are marked (Converted) in the source field. To decode a warning, pass its raw text to AD WRNG (ICAO).
Endpoints
| Endpoint | Description |
|---|---|
GET /opmet-ad-wrng/{icao} |
Warnings of one aerodrome, newest first |
GET /opmet-ad-wrng/recent |
Warnings in force for all aerodromes (monitoring) |
Parameters
| Parameter | In | Description |
|---|---|---|
icao |
path | ICAO location indicator of the aerodrome (4 letters). Case-insensitive. |
hours |
query, optional (/{icao}) |
Warnings issued within the last N hours, 0 < hours ≤ 24. Omit for the warnings currently in force. |
source |
query, optional | Use only this data source (mgm); an unknown id returns 400 |
Coverage
source id |
Data source | Coverage |
|---|---|---|
mgm |
TSMS (Converted) | Aerodromes with indicators starting with LT (Türkiye) |
Aerodromes outside the coverage return 404.
Response
{
"sources": ["TSMS (Converted)"],
"reports": [
{
"icao": "LTAP",
"type": "AD WRNG",
"raw": "LTAP AD WRNG 1 VALID 251100/251700 KUVVETLI RUZGAR VE HAMLE FCST RMK RUZGARIN KUZEYLI YONLERDEN …",
"sequence_number": 1,
"issue_time": "2026-09-25T06:52:00Z",
"valid_from": "2026-09-25T11:00:00Z",
"valid_to": "2026-09-25T17:00:00Z",
"cancel": false,
"source": "TSMS (Converted)"
}
]
}
| Field | Description |
|---|---|
icao |
ICAO location indicator of the aerodrome |
type |
AD WRNG |
raw |
Warning text in the Table A7-6 format |
sequence_number |
Sequence number of the warning (restarts daily) |
issue_time |
Time the warning was issued (ISO 8601, UTC) |
valid_from / valid_to |
Validity period (ISO 8601, UTC) |
cancel |
true for a cancellation (CNL AD WRNG …) |
source |
Name of the data source |
/recent also returns count.
Converted warnings
When a warning is converted, the template elements are filled from the source warning and the free-text parts are added at the end:
- Phenomena with a template abbreviation (e.g.
TS,SN,FZRA) are written as such; other phenomena go into the free-text element (max. 32 characters, longer text cut with...). - The source description is appended as
RMK …(max. 100 characters).RMKis not a Table A7-6 element, so the decoder shows it underUndecodable elements— this is expected. - A cancellation is a new warning that cancels an earlier one:
… CNL AD WRNG <n> <period>. - Free text keeps the source language; only the letters are written in plain ASCII.
Example (converted):
LTAF AD WRNG 1 VALID 201600/202000 TS FIRTINA FCST RMK KUVVETLI GOKGURULTULU SAGANAK …
Errors
| Code | Meaning |
|---|---|
400 |
Invalid ICAO location indicator (must be exactly 4 letters), or unknown source id |
404 |
No warning for this aerodrome (No AD WRNG data for 'LTAP'), or aerodrome outside the coverage |
422 |
hours out of range |
503 |
The service is starting up; retry shortly |
A 404 means "no warning", not a failure: show it as "no data" in your application. If a data source cannot be reached, the last received warnings stay available.