Skip to content
API Builders
AI

TransportationPublic API

AirportMiles

Airport codes, distances, routes and passenger numbers as static JSON files

Visit documentationSnapshot 2026-10-26

Before you call it

What this listing means in practice

01

No key to obtain

You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.

02

HTTPS supported

Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.

03

CORS enabled

The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.

Documentationexternal

Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.

https://airportmiles.com/api

No API calls are proxied by this directory. Links go directly to the provider.

API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.

Overview

About AirportMiles

AirportMiles needs no API key. That puts it among 47 of the 97 transportation APIs we list that you can try without signing up.

It also supports HTTPS and CORS, so you can call it straight from browser JavaScript with no key and no proxy. Only 14 transportation APIs tick all three boxes.

Documentation is on airportmiles.com.

Transportation APIs in general

Transport APIs cover public transit timetables, real-time arrivals, bike shares, flights, trains and road traffic, often from city transit agencies.

What people build with them

  • Next-departure boards
  • Journey planners
  • Commute alerts

Watch out for

Real-time feeds can drop out for whole lines. Fall back to the timetable and tell users the data is scheduled, not live.

First request

Calling AirportMiles

Works in the browser or in Node.

JavaScript// Replace the path with an endpoint from the AirportMiles docs
const res = await fetch("https://airportmiles.com/api/<endpoint>");
if (!res.ok) throw new Error(`AirportMiles returned ${res.status}`);
const data = await res.json();

Compare

AirportMiles vs similar APIs

APIAuthHTTPSCORS
AirportMilesNo keyYesYes
India EV Charging StationsNo keyYesYes
GTFS ScorecardNo keyYesYes
ConnectMeGuruNo keyYesYes
ChargeAlongNo keyYesYes
Can I enterNo keyYesYes

FAQ

Common questions about AirportMiles

Does AirportMiles need an API key?

No. AirportMiles is listed with no authentication, so you can send a request without registering.

Can I call AirportMiles from the browser?

CORS is listed as enabled, so frontend JavaScript can call it directly.

Is AirportMiles free?

No key is required, which usually means free access, but providers can still limit volume. Check AirportMiles's docs for rate limits and fair-use terms.

What are some alternatives to AirportMiles?

Other transportation APIs in the directory include India EV Charging Stations (no key), GTFS Scorecard (no key), ConnectMeGuru (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.

Next step

Keep looking until the constraints fit.

Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.