Airport Distance API
Airport Distance is a simple tool for getting the distance between two airports. It returns the distance between the two airports.
Live Test API
Try out the Airport Distance with a live request and see the response in real-time.
API Request
API Response
123456789101112131415161718192021222324252627282930{ "status": "ok", "error": null, "data": { "distanceMiles": 2470.23, "distanceKm": 3974.2, "airport1": { "name": "John F Kennedy International Airport", "iata": "JFK", "icao": "KJFK", "city": "New York", "state": "New-York", "country": "US", "elevation": 13, "latitude": 40.63980103, "longitude": -73.77890015 }, "airport2": { "name": "Los Angeles International Airport", "iata": "LAX", "icao": "KLAX", "city": "Los Angeles", "state": "California", "country": "US", "elevation": 125, "latitude": 33.94250107, "longitude": -118.4079971 } } }
Multiple Access Methods
REST API with multiple response formats, GraphQL, and MCP for AI agents
View all integrationsJSON
JavaScript Object Notation
XML
Extensible Markup Language
YAML
Human-readable data format
CSV
Comma-separated values
GraphQL
Query language for APIs
MCP
AI agent integration
Skip the HTTP calls. Use our official packages
Integrate faster with type-safe SDKs and comprehensive documentation
View all integrationsRelated APIs
Explore other transportation APIs that complement the Airport Distance
Frequently Asked Questions
Get answers to common questions about the Airport Distance API
What does the Airport Distance API do?
Airport Distance is a simple tool for getting the distance between two airports. It returns the distance between the two airports. The API returns structured data in JSON, XML, or YAML format, making it easy to integrate into any application or workflow.
How fast is the Airport Distance API?
The Airport Distance API has an average response time of 1312ms, with a median (p50) of 1194ms and 99th percentile of 2099ms. Our infrastructure maintains 99.9% uptime with servers distributed globally for low latency.
How much does the Airport Distance API cost?
Each call to the Airport Distance API uses 1 credit. The free tier includes 100 credits per month. Paid plans start at $29.99/month with higher limits, and enterprise plans offer custom pricing with priority support.
How do I authenticate Airport Distance API requests?
Include your API key in the request header as X-API-Key: your_key_here. All requests are made over HTTPS for security. You can get your API key by signing up for a free account.
What HTTP methods does Airport Distance support?
The Airport Distance API supports GET requests. Simply pass your parameters as query strings in the URL. Check our documentation for detailed parameter specifications.
Ready to integrate Airport Distance API?
Join thousands of developers building amazing applications with reliable API data. Get started with your free API key today.