List IATA codes
get_data_iatacodesRetrieve IATA airport codes with names, coordinates, and country data to find hotels near airports and enable airport-based searches.
Instructions
Overview
Get IATA (International Air Transport Association) airport codes with airport names, coordinates, and country information. Useful for airport-based hotel searches.
When to Use
Airport searches - Find hotels near airports
Location selection - Let users search by airport codes
Geographic data - Get airport locations and coordinates
Reference data - Get IATA codes for use in hotel searches
What You Get
Airport list - All available airports with IATA codes
Airport names - Full airport names
Coordinates - Latitude and longitude for each airport
Country codes - ISO-2 country codes for each airport
Quick Start
No parameters required. Returns all airports with IATA codes, names, coordinates, and country information.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_data_iatacodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | request timeout in seconds |