Usage
Response fields
Example response
API Reference
Full request and response schema
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve the supported airport catalogue for flight search
curl https://api.payvessel.com/vaas/api/v1/flight/airports \
-H "api-key: YOUR_API_KEY" \
-H "api-secret: YOUR_API_SECRET"
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeds |
message | string | Human-readable response message |
data | array | Airport objects |
data[].airport_code | string | IATA airport code |
data[].airport_name | string | Airport display name |
data[].city_country | string | Combined city and country label |
data[].city | string | City |
data[].country | string | Country |
{
"status": true,
"message": "Airports retrieved successfully",
"data": [
{
"airport_code": "LOS",
"airport_name": "Murtala Muhammed International Airport (LOS)",
"city_country": "Lagos, Nigeria",
"city": "Lagos",
"country": "Nigeria"
},
{
"airport_code": "JFK",
"airport_name": "John F. Kennedy International Airport (JFK)",
"city_country": "New York, United States",
"city": "New York",
"country": "United States"
}
]
}
