{"id":"avinor","name":"Avinor flight data","description":"Real-time arrivals, departures, status, airport metadata and airline names for Norwegian airports.","documentation":"https://partner.avinor.no/","operations":[{"name":"get_flights","description":"Flights to/from one airport, with schedule and live status from Avinor.","parameters":[{"name":"airport","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"IATA code, e.g. \"OSL\", \"BGO\", \"TRD\", \"SVG\", \"TOS\". Full coverage for Avinor's 43 Norwegian airports; a foreign airport returns only its flights to/from Norway. Unknown codes error."},{"name":"direction","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Optional \"arrivals\" or \"departures\"; default both."},{"name":"hours_back","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":1,"description":"Window start, hours before now (default 1)."},{"name":"hours_ahead","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":7,"description":"Window end, hours after now (default 7)."},{"name":"include_codeshare","type":"boolean","schema":{"type":"boolean"},"display_type":"yes/no","required":false,"default":false,"description":"Also list codeshare flight numbers (e.g. the KL/AF number of a SAS-operated flight) per flight."},{"name":"max_results","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":100,"description":"Cap on flights returned (default 100). A large airport can have hundreds in the default window; narrow the window or direction rather than raising the cap."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/get_flights?airport={airport}&direction={direction}&hours_back=1&hours_ahead=7&include_codeshare=false&max_results=100&limit=25&offset=0","output_fields":["airport","last_update","flight_count","flights","flights.flight_id","flights.airline","flights.direction","flights.schedule_time","flights.airport","flights.area","flights.delayed","flights.status","flights.status.code","flights.status.text","flights.status.time","flights.codeshare_flights","truncated","attribution"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["flights.status.code"],"timestamp":["flights.status.time"]},"description_language":"en","documentation":"Flights to/from one airport, with schedule and live status from Avinor.\n\nArgs:\n    airport: IATA code, e.g. \"OSL\", \"BGO\", \"TRD\", \"SVG\", \"TOS\". Full\n        coverage for Avinor's 43 Norwegian airports; a foreign airport\n        returns only its flights to/from Norway. Unknown codes error.\n    direction: Optional \"arrivals\" or \"departures\"; default both.\n    hours_back: Window start, hours before now (default 1).\n    hours_ahead: Window end, hours after now (default 7).\n    include_codeshare: Also list codeshare flight numbers (e.g. the\n        KL/AF number of a SAS-operated flight) per flight.\n    max_results: Cap on flights returned (default 100). A large airport\n        can have hundreds in the default window; narrow the window or\n        direction rather than raising the cap.\n\nReturns `flights` sorted by schedule_time. All timestamps\n(schedule_time, status time, last_update) are Europe/Oslo local time,\nISO 8601 with explicit offset (e.g. \"2026-07-07T14:20:00+02:00\"),\nconverted from Avinor's UTC feed. Each flight has\nflight_id, airline (IATA code), direction, schedule_time, airport (the\nother end; use lookup_airport for its name), area\n(domestic/schengen/international), and when known: gate, check_in\n(departures), belt (arrivals), via_airport, delayed, and a live\nstatus {code, text, time} (statuses: New info, New time, Departed,\nArrived, Cancelled). `flight_count` is the total before the cap;\n`truncated` is true if the cap cut flights.\n\nWhen displaying this data, credit it as \"Flight data from Avinor\"\n(www.avinor.no) - required by Avinor's terms of use.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/avinor/get_flights/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/avinor/get_flights/?airport={airport}&direction={direction}&hours_back=1&hours_ahead=7&include_codeshare=false&max_results=100&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/get_flights","response_schema":{"type":"object","properties":{"airport":{"type":"string"},"last_update":{"anyOf":[{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},{"type":"null"}]},"flight_count":{"type":"integer"},"flights":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"object","properties":{"flight_id":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"airline":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"direction":{"type":"string"},"schedule_time":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"string"}]},"airport":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"area":{"anyOf":[{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},{"type":"null"}]},"delayed":{"type":"boolean"},"status":{"type":"object","properties":{"code":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"text":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"time":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false},"codeshare_flights":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}]},"truncated":{"type":"boolean"},"attribution":{"type":"string"}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["airport"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/get_flights/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/get_flights","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/get_flights?airport={airport}&direction={direction}&hours_back=1&hours_ahead=7&include_codeshare=false&max_results=100&limit=25&offset=0"},{"name":"lookup_airport","description":"Find an airport's IATA code by name, or its name by code.","parameters":[{"name":"query","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"IATA code (e.g. \"OSL\") or part of an airport name (e.g. \"Bergen\"). Case-insensitive."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport?query={query}&limit=25&offset=0","output_fields":["[].code","[].name","[].avinor"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["[].code"],"name":["[].name"]},"description_language":"en","documentation":"Find an airport's IATA code by name, or its name by code.\n\nArgs:\n    query: IATA code (e.g. \"OSL\") or part of an airport name (e.g.\n        \"Bergen\"). Case-insensitive.\n\nReturns up to 25 [{code, name, avinor}] matches, Avinor's 43 Norwegian\nairports (avinor: true, full coverage in get_flights) listed first. The\nupstream feed has no country field, and a name search can hit unrelated\nforeign airports (e.g. \"Bergen\" also matches Bergen op Zoom, NL), so\ncheck the flag. Covers every airport appearing in Avinor's flight data,\nworldwide destinations included.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airport/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airport/?query={query}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport","response_schema":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"avinor":{"type":"boolean"}},"additionalProperties":false,"required":["code","name","avinor"]}},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["airport"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport?query={query}&limit=25&offset=0","response_example":{"source":"avinor","operation":"lookup_airport","parameters":{"query":"example value"},"data":[{"code":"example value","name":"Example","avinor":true}],"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"avinor","name":"Avinor flight data","description":"Real-time arrivals, departures, status, airport metadata and airline names for Norwegian airports.","cache_ttl_seconds":60,"documentation":"https://partner.avinor.no/"}]},"_provenance":{"data":{"source":"avinor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/avinor"},"entities":{"source":"avinor","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airport","source":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","wiki":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airport/"}}},{"name":"lookup_airline","description":"Find an airline's IATA code by name, or its name by code.","parameters":[{"name":"query","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"IATA code (e.g. \"SK\") or part of an airline name (e.g. \"Norwegian\"). Case-insensitive."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airline?query={query}&limit=25&offset=0","output_fields":[],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Find an airline's IATA code by name, or its name by code.\n\nArgs:\n    query: IATA code (e.g. \"SK\") or part of an airline name (e.g.\n        \"Norwegian\"). Case-insensitive.\n\nReturns up to 25 [{code, name}] matches.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airline/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/avinor/lookup_airline/?query={query}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airline","response_schema":{"type":"array","items":{"type":"object","additionalProperties":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."}}},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["airport"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airline/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airline","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/lookup_airline?query={query}&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/avinor/{operation}/schema","related_sources":[{"id":"banenor","name":"Bane NOR train data","reason":"Rail departures and disruptions as an alternative transport mode.","api":"https://allemannsdata.com/wiki/api/v1/kilder/banenor","wiki":"https://allemannsdata.com/wiki/kilder/banenor/"}],"_meta":{"retrieved_at":"2026-08-02T14:01:14Z","language":"en","content_languages":["en"],"sources":[{"id":"avinor","name":"Avinor flight data","description":"Real-time arrivals, departures, status, airport metadata and airline names for Norwegian airports.","documentation":"https://partner.avinor.no/","cache_ttl_seconds":60}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","names":"https://allemannsdata.com/wiki/api/v1/kilder/avinor?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/avinor?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/avinor","wiki":"https://allemannsdata.com/wiki/kilder/avinor/"}}
