The complete country dataset — ISO codes, flags in SVG/PNG, currencies, phone codes, capital cities, driving side, population, and area. No filter required; all 252 countries available on every plan.
One endpoint for every country fact your app needs — flags, currencies, phone codes, capital cities, and geo data. No joins, no extra lookups.
Flags in 1x1 and 4x3 aspect ratios, SVG (scalable) and PNG (fixed pixel width). Served from the logostream CDN.
ISO 4217 currency code, full name, and symbol for every country — ready for checkout flows and display.
International dial prefix per country — ideal for phone number input components.
Capital IATA code and lat/lon included — link straight into the Cities or Airports API.
Area, population, landlocked flag, driving side, TLD, and timezone — all in one record.
Real records from the Countries API
Currency, phone, capital, geo, and flag URL — one request.
// Fetch country data
const res = await fetch(
"https://aviation-api.logostream.dev/v1/countries?code=DE",
{ headers: { "x-api-key": "YOUR_API_KEY" } }
);
const { data } = await res.json();
const country = data[0];
// Country profile
console.log(country.name); // "Germany"
console.log(country.code2); // "DE"
console.log(country.code3); // "DEU"
console.log(country.continent_code); // "EU"
console.log(country.capital); // "Berlin"
console.log(country.population); // 83_200_000
console.log(country.area_km2); // 357_114
console.log(country.driving_side); // "right"
// Currency
console.log(country.currency_code); // "EUR"
console.log(country.currency_symbol); // "€"
console.log(country.phone_code); // "49"
// Embed the flag
const flagUrl = country.flag.url;
// https://airlines-api.logostream.dev/country/DE?key=YOUR_API_KEY
document.querySelector("#flag").src = flagUrl;Everything you need to know about the countries data endpoint.