Airport StatsAirline StatsHub AnalysisFleet BreakdownNetwork Profile

    Full aviation network stats in one request

    Query an airport or airline and get back a complete network profile — route counts, destinations, hub airlines, fleet composition, and countries served. No aggregation needed on your side.

    GET https://aviation-api.logostream.dev/v1/stats/airport/FRA
    Endpoints
    2
    Airport Stats
    IATA or ICAO
    Airline Stats
    IATA or ICAO
    One request. Complete picture.

    The Stats API for Aviation Applications

    Stop joining routes, airports, and fleet tables yourself. The Stats API returns pre-aggregated network data for any airport or airline — ready to render in dashboards, cards, and comparisons.

    Airport Network Profile

    Pass an airport IATA (3-letter, e.g. FRA) or ICAO (4-letter, e.g. EDDF) code and get back destinations count, origin count, number of airlines operating, countries reachable, longest and shortest routes, top destinations with distance, and all hub carriers — in a single response.

    GET /v1/stats/airport/FRA

    Airline Network Profile

    Full route network, hub airports, top destinations, fleet breakdown by aircraft type with range — all in one call.

    Countries Served

    See at a glance how many countries an airline reaches or an airport connects to — perfect for connectivity scoring.

    Hub Analysis

    Identify which airlines use an airport as a hub and how many routes each hub carrier operates from there.

    Fleet Breakdown

    For airline stats: get a full fleet list by aircraft IATA type with count and maximum range — useful for capacity analysis.

    Real responses

    What the API returns

    Two concrete examples — Frankfurt Airport and Lufthansa — showing the full response structure you get from a single GET request.

    GET /v1/stats/airport/FRA
    {
      "iata": "FRA",
      "stats": {
        "destinations_count": 312,
        "origins_count": 309,
        "airlines_count": 94,
        "countries_reached": 87,
        "outbound_routes": 312,
        "inbound_routes": 309,
        "longest_destination": "SYD",
        "shortest_destination": "MUC"
      },
      "top_destinations": [
        { "iata": "LHR", "airlines_count": 8, "distance_km": 631 },
        { "iata": "CDG", "airlines_count": 6, "distance_km": 448 },
        { "iata": "JFK", "airlines_count": 5, "distance_km": 6197 }
      ],
      "hub_for": [
        { "iata": "LH", "name": "Lufthansa" },
        { "iata": "LX", "name": "Swiss International Air Lines" },
        { "iata": "EN", "name": "Air Dolomiti" }
      ]
    }
    Airport Connectivity Card
    Frankfurt (FRA)
    Destinations
    312
    Origins
    309
    Airlines
    94
    Countries Reached
    87
    Outbound Routes
    312
    Inbound Routes
    309
    Longest Destination
    SYD
    Shortest Destination
    MUC
    Top Destinations
    LHRLondon Heathrow
    8 airlines · 631 km
    CDGParis Charles de Gaulle
    6 airlines · 448 km
    JFKNew York JFK
    5 airlines · 6,197 km
    Hub Airlines
    Lufthansa (LH)Swiss (LX)Air Dolomiti (EN)
    What you can build

    Visualizations powered by the Stats API

    Make a few parallel requests and you have all the data you need for charts, comparison tables, and dashboards. Examples below use real API responses.

    Airport Comparison

    Destinations & Airlines per Hub Airport

    Parallel calls to /v1/stats/airport/{iata|icao} — one request per airport, then compare.

    DestinationsAirlinesCountries
    top_destinations

    FRA Top Routes by Distance

    From top_destinations[] in the airport stats response.

    fleet[]

    Lufthansa Fleet by Aircraft Type

    From fleet[].aircraft_iata in the airline stats response.

    Airline Comparison

    Routes & Countries Served per Airline

    Parallel calls to /v1/stats/airline/{code}stats.routes_count and stats.countries_served side by side.

    RoutesCountries
    Quick start

    Two endpoints, full coverage

    GET/v1/stats/airport/{iata|icao}

    Airport statistics — route counts, destinations, airlines, countries, top routes, hub carriers. Accepts IATA (3-letter) or ICAO (4-letter) airport codes.

    curl https://aviation-api.logostream.dev/v1/stats/airport/FRA \
      --header 'x-api-key: YOUR_API_KEY'
    
    # Also accepts 4-letter ICAO codes
    curl https://aviation-api.logostream.dev/v1/stats/airport/EDDF \
      --header 'x-api-key: YOUR_API_KEY'
    GET/v1/stats/airline/{code}

    Airline statistics — network size, fleet, hubs, top destinations, longest route.

    curl https://aviation-api.logostream.dev/v1/stats/airline/DLH \
      --header 'x-api-key: YOUR_API_KEY'

    Frequently Asked Questions

    Ready to add stats to your aviation app?

    Start with the free tier and upgrade when you need the Stats API. One API key — all aviation endpoints.