Structured city records sorted by global popularity — with IATA codes, coordinates, timezones, population, state data, and country enrichment. Built for travel autocomplete, destination pickers, and flight search UIs.
Stop maintaining static city lists. Get live, enriched city records sorted by popularity — with IATA codes, coordinates, and country context — via a single REST API call.
Results sorted by a composite popularity metric so the most relevant destinations always appear first.
Find cities by name fragment — perfect for autocomplete inputs. Min 2 chars, sorted by popularity.
Latitude and longitude for every city — ready for map rendering and distance calculations.
IANA timezone string per city — no extra geo-lookup needed for local time display.
Nested country object with ISO codes and continent — no join query required.
Real records from the Cities API
Popularity, geo, timezone, and country — one request.
const res = await fetch(
"https://aviation-api.logostream.dev/v1/cities?name=London",
{ headers: { "x-api-key": "YOUR_API_KEY" } }
);
const { data } = await res.json();
const city = data[0];
// City profile
console.log(city.iata_code); // "LON"
console.log(city.city_name); // "London"
console.log(city.population); // 8_982_000
console.log(city.popularity_score); // 98.4
console.log(city.timezone); // "Europe/London"
// State / region
console.log(city.state_full); // "England"
console.log(city.state_short); // "ENG"
// Geo
console.log(city.latitude, city.longitude); // 51.509, -0.118
// Country
console.log(city.country.name); // "United Kingdom"
console.log(city.country.code2); // "GB"
console.log(city.country.continent_code); // "EU"
// Links
console.log(city.wikipedia_url);
console.log(city.website);Results always sorted by global travel popularity so the most relevant destinations surface automatically — no manual ranking needed.
Fuzzy name search returns results in milliseconds — perfect for real-time destination autocomplete inputs in booking UIs.
Every record includes coordinates, timezone, state, population, country, and Wikipedia link — all in one response, no extra lookups needed.
Everything you need to know about the cities data endpoint.