METAR GPT
METAR GPT · Actions GPT
Aviation Weather API
API for retrieving aviation weather data including airport and METAR information.
GET /airportGet airport dataGET /metarGet METAR data
Schéma original API
{
"openapi": "3.1.1",
"info": {
"title": "Aviation Weather API",
"version": "1.0.0",
"description": "API for retrieving aviation weather data including airport and METAR information."
},
"servers": [
{
"url": "https://aviationweather.gov/api/data"
}
],
"paths": {
"/airport": {
"get": {
"summary": "Get airport data",
"operationId": "getAirportData",
"parameters": [
{
"name": "ids",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "ICAO airport code"
},
{
"name": "format",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"json",
"raw"
]
},
"description": "Response format"
}
],
"responses": {
"200": {
"description": "Successful response"
}
}
}
},
"/metar": {
"get": {
"summary": "Get METAR data",
"operationId": "getMetarData",
"parameters": [
{
"name": "ids",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "ICAO airport code"
},
{
"name": "format",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"json",
"raw"
]
},
"description": "Response format"
},
{
"name": "taf",
"in": "query",
"required": false,
"schema": {
"type": "boolean"
},
"description": "Include TAF data"
}
],
"responses": {
"200": {
"description": "Successful response"
}
}
}
}
}
}