Aviationstack Cities
aviationstack_citiesLook up cities and their primary airport from the Aviationstack database by free-text name, IATA city code (e.g. NYC), or ISO country code.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"iata_code": "NYC"
},
"name": "aviationstack_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No | ||
| iata_code | No | City IATA code (e.g. "NYC" for all NYC airports) | |
| country_iso2 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Array of city objects | |
| pagination | No | Pagination metadata |