{ "error": { "code": "NOT_FOUND", "message": "No live, recent or planned flight matches this code." }}
The Flight Lookup API combines schedule data, near real-time tracking, and aircraft details for a single scheduled & live flight. It’s ideal for flight detail screens: status, position, usual times, delays and aircraft information in one response. Terminals, gates and baggage belts are returned as null: no open source provides them.
This endpoint returns the closest matching flight (live, scheduled, or landed). If you need all occurrences of a flight number across a day, use the Flight Schedules API and query by flight_iata or flight_icao.
Scheduled times are the usual times of the flight, learned from at least 3 of its flights FlyStack tracked; delays are measured against them, not against an airline timetable.
Authentication
string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).
Query parameters
string
Search by flight ICAO code-number (e.g., AAL6).
string
Or search by flight IATA code-number (e.g., AA6).
Provide either flight_iata or flight_icao.
string
Comma-separated list of fields to return (e.g., flight_iata,status,dep_iata,arr_iata).
Response
Show Live tracking
string
ICAO24 hex address.
number
Latitude.
number
Longitude.
number
Altitude (meters).
number
Heading (degrees).
number
Horizontal speed (km/h).
number
Vertical speed (m/s, positive when climbing).
string
Squawk code (when available).
number
UNIX timestamp of last update.
string
Flight status (e.g., scheduled, en-route, landed). A flight that leaves receiver coverage is landed once it should have arrived, or 6 hours after its last position when no arrival is known: its landing was not observed, and its arrival airport is the one its route publishes.
{ "error": { "code": "NOT_FOUND", "message": "No live, recent or planned flight matches this code." }}
When no live, recent or planned flight matches, the response is 404 with the error code NOT_FOUND. You can often find future occurrences using the Routes Dataset.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"FlyStack","colors":{"primary":"#051039","light":"#051039","dark":"#051039"},"favicon":"https://mintcdn.com/flystack/bqOJC7EB8jszNymV/favicon.png?fit=max\u0026auto=format\u0026n=bqOJC7EB8jszNymV\u0026q=85\u0026s=ef7f0a8dd635e5024d6ab9f8ee85422a","logo":{"light":"https://mintcdn.com/flystack/bqOJC7EB8jszNymV/logo/light.svg?fit=max\u0026auto=format\u0026n=bqOJC7EB8jszNymV\u0026q=85\u0026s=2427a1f133ff2744c15e2e6385bbdafd","dark":"https://mintcdn.com/flystack/bqOJC7EB8jszNymV/logo/dark.svg?fit=max\u0026auto=format\u0026n=bqOJC7EB8jszNymV\u0026q=85\u0026s=8bdbb02fae9c13880c1a63d5504b0ba0"},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"label":"Support","href":"mailto:josselin.liebe@piloterr.com"},{"label":"Status","href":"https://status.flystack.dev"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.flystack.dev/login"}},"footer":{"socials":{"github":"https://github.com/flystackdev","linkedin":"https://www.linkedin.com/company/flystack","discord":"https://discord.com/invite/CFj3ph8aHU"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flystack","hasAudioNarration":false,"actualSubdomain":"flystack","customDomains":["docs.flystack.dev"],"gitSource":{"type":"github","owner":"flystackdev","repo":"flystack-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c9b29ffae5051c40867c"},"entitlements":{},"buildId":"6af434492a7230ffd7ac057e","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API Reference","count":13},{"language":"default","tag":"Datasets","count":8},{"language":"default","tag":"Real-time","count":4},{"language":"default","tag":"Documentation","count":4},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Platform","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoints/flight","slug":"/api-reference/endpoints/flight","pageMetadata":{"title":"Flight Lookup","api":"GET https://api.flystack.dev/v1/flights/lookup","description":"Lookup a single flight and get detailed information by IATA or ICAO flight code.","href":"/api-reference/endpoints/flight"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Lookup a single flight and get detailed information by IATA or ICAO flight code.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Flight Lookup API combines schedule data, near real-time tracking, and aircraft details for a `,_jsx(_components.strong,{children:`single`}),` scheduled \u0026 live flight. It’s ideal for flight detail screens: status, position, usual times, delays and aircraft information in one response. Terminals, gates and baggage belts are returned as `,_jsx(_components.code,{children:`null`}),`: no open source provides them.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint returns the closest matching flight (live, scheduled, or landed). If you need all occurrences of a flight number across a day, use the `,_jsx(_components.a,{href:`/api-reference/endpoints/schedules`,children:`Flight Schedules API`}),` and query by `,_jsx(_components.code,{children:`flight_iata`}),` or `,_jsx(_components.code,{children:`flight_icao`}),`.`]})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Scheduled times are the usual times of the flight, learned from at least 3 of its flights FlyStack tracked; delays are measured against them, not against an airline timetable.`})}),`\n`,_jsx(Heading,{level:`3`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your FlyStack API token. You can create one from the dashboard (see `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`flight_icao`,type:`string`,required:false,id:`param-flight-icao`,children:_jsxs(_components.p,{children:[`Search by flight ICAO code-number (e.g., `,_jsx(_components.code,{children:`AAL6`}),`).`]})}),`\n`,_jsx(ParamField,{query:`flight_iata`,type:`string`,required:false,id:`param-flight-iata`,children:_jsxs(_components.p,{children:[`Or search by flight IATA code-number (e.g., `,_jsx(_components.code,{children:`AA6`}),`).`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Provide either `,_jsx(_components.code,{children:`flight_iata`}),` or `,_jsx(_components.code,{children:`flight_icao`}),`.`]})}),`\n`,_jsx(ParamField,{query:`_fields`,type:`string`,required:false,id:`param-fields`,children:_jsxs(_components.p,{children:[`Comma-separated list of fields to return (e.g., `,_jsx(_components.code,{children:`flight_iata,status,dep_iata,arr_iata`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{type:`object`,children:[_jsxs(Expandable,{title:`Live tracking`,defaultOpen:false,children:[_jsx(ResponseField,{name:`hex`,type:`string`,id:`param-hex`,children:_jsx(_components.p,{children:`ICAO24 hex address.`})}),_jsx(ResponseField,{name:`lat`,type:`number`,id:`param-lat`,children:_jsx(_components.p,{children:`Latitude.`})}),_jsx(ResponseField,{name:`lng`,type:`number`,id:`param-lng`,children:_jsx(_components.p,{children:`Longitude.`})}),_jsx(ResponseField,{name:`alt`,type:`number`,id:`param-alt`,children:_jsx(_components.p,{children:`Altitude (meters).`})}),_jsx(ResponseField,{name:`dir`,type:`number`,id:`param-dir`,children:_jsx(_components.p,{children:`Heading (degrees).`})}),_jsx(ResponseField,{name:`speed`,type:`number`,id:`param-speed`,children:_jsx(_components.p,{children:`Horizontal speed (km/h).`})}),_jsx(ResponseField,{name:`v_speed`,type:`number`,id:`param-v-speed`,children:_jsx(_components.p,{children:`Vertical speed (m/s, positive when climbing).`})}),_jsx(ResponseField,{name:`squawk`,type:`string`,id:`param-squawk`,children:_jsx(_components.p,{children:`Squawk code (when available).`})}),_jsx(ResponseField,{name:`updated`,type:`number`,id:`param-updated`,children:_jsx(_components.p,{children:`UNIX timestamp of last update.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Flight status (e.g., `,_jsx(_components.code,{children:`scheduled`}),`, `,_jsx(_components.code,{children:`en-route`}),`, `,_jsx(_components.code,{children:`landed`}),`). A flight that leaves receiver coverage is `,_jsx(_components.code,{children:`landed`}),` once it should have arrived, or 6 hours after its last position when no arrival is known: its landing was not observed, and its arrival airport is the one its route publishes.`]})})]}),_jsxs(Expandable,{title:`Airline \u0026 flight identifiers`,defaultOpen:false,children:[_jsx(ResponseField,{name:`airline_iata`,type:`string`,id:`param-airline-iata`,children:_jsx(_components.p,{children:`Airline IATA code.`})}),_jsx(ResponseField,{name:`airline_icao`,type:`string`,id:`param-airline-icao`,children:_jsx(_components.p,{children:`Airline ICAO code.`})}),_jsx(ResponseField,{name:`flight_number`,type:`string`,id:`param-flight-number`,children:_jsx(_components.p,{children:`Flight number only.`})}),_jsx(ResponseField,{name:`flight_iata`,type:`string`,id:`param-flight-iata-1`,children:_jsx(_components.p,{children:`Flight IATA code-number.`})}),_jsx(ResponseField,{name:`flight_icao`,type:`string`,id:`param-flight-icao-1`,children:_jsx(_components.p,{children:`Flight ICAO code-number.`})}),_jsx(ResponseField,{name:`cs_airline_iata`,type:`string`,id:`param-cs-airline-iata`,children:_jsx(_components.p,{children:`Codeshare airline IATA code (when available).`})}),_jsx(ResponseField,{name:`cs_flight_number`,type:`string`,id:`param-cs-flight-number`,children:_jsx(_components.p,{children:`Codeshare flight number (when available).`})}),_jsx(ResponseField,{name:`cs_flight_iata`,type:`string`,id:`param-cs-flight-iata`,children:_jsx(_components.p,{children:`Codeshare flight IATA code-number (when available).`})})]}),_jsxs(Expandable,{title:`Route`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_iata`,type:`string`,id:`param-dep-iata`,children:_jsx(_components.p,{children:`Departure airport IATA code.`})}),_jsx(ResponseField,{name:`dep_icao`,type:`string`,id:`param-dep-icao`,children:_jsx(_components.p,{children:`Departure airport ICAO code.`})}),_jsx(ResponseField,{name:`arr_iata`,type:`string`,id:`param-arr-iata`,children:_jsx(_components.p,{children:`Arrival airport IATA code.`})}),_jsx(ResponseField,{name:`arr_icao`,type:`string`,id:`param-arr-icao`,children:_jsx(_components.p,{children:`Arrival airport ICAO code.`})})]}),_jsxs(Expandable,{title:`Airport operations`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_terminal`,type:`string`,id:`param-dep-terminal`,children:_jsx(_components.p,{children:`Departure terminal (when available).`})}),_jsx(ResponseField,{name:`dep_gate`,type:`string`,id:`param-dep-gate`,children:_jsx(_components.p,{children:`Departure gate (when available).`})}),_jsx(ResponseField,{name:`arr_terminal`,type:`string`,id:`param-arr-terminal`,children:_jsx(_components.p,{children:`Arrival terminal (when available).`})}),_jsx(ResponseField,{name:`arr_gate`,type:`string`,id:`param-arr-gate`,children:_jsx(_components.p,{children:`Arrival gate (when available).`})}),_jsx(ResponseField,{name:`arr_baggage`,type:`string`,id:`param-arr-baggage`,children:_jsx(_components.p,{children:`Arrival baggage belt (when available).`})})]}),_jsxs(Expandable,{title:`Times \u0026 delays`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_time`,type:`string`,id:`param-dep-time`,children:_jsx(_components.p,{children:`Scheduled departure time (local).`})}),_jsx(ResponseField,{name:`dep_time_ts`,type:`number`,id:`param-dep-time-ts`,children:_jsx(_components.p,{children:`Scheduled departure time (unix).`})}),_jsx(ResponseField,{name:`dep_time_utc`,type:`string`,id:`param-dep-time-utc`,children:_jsx(_components.p,{children:`Scheduled departure time (UTC).`})}),_jsx(ResponseField,{name:`arr_time`,type:`string`,id:`param-arr-time`,children:_jsx(_components.p,{children:`Scheduled arrival time (local).`})}),_jsx(ResponseField,{name:`arr_time_ts`,type:`number`,id:`param-arr-time-ts`,children:_jsx(_components.p,{children:`Scheduled arrival time (unix).`})}),_jsx(ResponseField,{name:`arr_time_utc`,type:`string`,id:`param-arr-time-utc`,children:_jsx(_components.p,{children:`Scheduled arrival time (UTC).`})}),_jsx(ResponseField,{name:`duration`,type:`number`,id:`param-duration`,children:_jsx(_components.p,{children:`Flight duration in minutes, takeoff to landing: observed on the flights FlyStack tracked, else estimated from the distance.`})}),_jsx(ResponseField,{name:`delayed`,type:`number`,id:`param-delayed`,children:_jsx(_components.p,{children:`Estimated total delay (minutes, when available).`})}),_jsx(ResponseField,{name:`dep_delayed`,type:`number`,id:`param-dep-delayed`,children:_jsx(_components.p,{children:`Departure delay (minutes, when available).`})}),_jsx(ResponseField,{name:`arr_delayed`,type:`number`,id:`param-arr-delayed`,children:_jsx(_components.p,{children:`Arrival delay (minutes, when available).`})})]}),_jsxs(Expandable,{title:`Aircraft details`,defaultOpen:false,children:[_jsx(ResponseField,{name:`reg_number`,type:`string`,id:`param-reg-number`,children:_jsx(_components.p,{children:`Aircraft registration number (when available).`})}),_jsx(ResponseField,{name:`aircraft_icao`,type:`string`,id:`param-aircraft-icao`,children:_jsx(_components.p,{children:`Aircraft ICAO type designator.`})}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`Aircraft model (when available).`})}),_jsx(ResponseField,{name:`manufacturer`,type:`string`,id:`param-manufacturer`,children:_jsx(_components.p,{children:`Aircraft manufacturer (when available).`})}),_jsx(ResponseField,{name:`msn`,type:`string`,id:`param-msn`,children:_jsx(_components.p,{children:`Manufacturer serial number (when available).`})}),_jsx(ResponseField,{name:`engine`,type:`string`,id:`param-engine`,children:_jsx(_components.p,{children:`Engine type (when available).`})}),_jsx(ResponseField,{name:`engine_count`,type:`string`,id:`param-engine-count`,children:_jsx(_components.p,{children:`Engine count (when available).`})}),_jsx(ResponseField,{name:`built`,type:`number`,id:`param-built`,children:_jsx(_components.p,{children:`Build year (when available).`})}),_jsx(ResponseField,{name:`age`,type:`number`,id:`param-age`,children:_jsx(_components.p,{children:`Aircraft age (years, when available).`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`Airframe type (when available).`})}),_jsx(ResponseField,{name:`flag`,type:`string`,id:`param-flag`,children:_jsx(_components.p,{children:`Country of registration of the aircraft (ISO-2 code, when available).`})})]})]}),`\n`,`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`When no live, recent or planned flight matches, the response is `,_jsx(_components.code,{children:`404`}),` with the error code `,_jsx(_components.code,{children:`NOT_FOUND`}),`. You can often find future occurrences using the `,_jsx(_components.a,{href:`/api-reference/endpoints/routes`,children:`Routes Dataset`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`see-also`,children:`See also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/flights`,children:`Real-Time Flights API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/schedules`,children:`Flight Schedules API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/routes`,children:`Routes Dataset API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/fleets`,children:`Aircraft Fleets Dataset API`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Flight Lookup","api":"GET https://api.flystack.dev/v1/flights/lookup","description":"Lookup a single flight and get detailed information by IATA or ICAO flight code.","href":"/api-reference/endpoints/flight"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Flight Lookup API combines schedule data, near real-time tracking, and aircraft details for a `,_jsx(_components.strong,{children:`single`}),` scheduled \u0026 live flight. It’s ideal for flight detail screens: status, position, usual times, delays and aircraft information in one response. Terminals, gates and baggage belts are returned as `,_jsx(_components.code,{children:`null`}),`: no open source provides them.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint returns the closest matching flight (live, scheduled, or landed). If you need all occurrences of a flight number across a day, use the `,_jsx(_components.a,{href:`/api-reference/endpoints/schedules`,children:`Flight Schedules API`}),` and query by `,_jsx(_components.code,{children:`flight_iata`}),` or `,_jsx(_components.code,{children:`flight_icao`}),`.`]})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Scheduled times are the usual times of the flight, learned from at least 3 of its flights FlyStack tracked; delays are measured against them, not against an airline timetable.`})}),`\n`,_jsx(Heading,{level:`3`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(ParamField,{header:`x-api-key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your FlyStack API token. You can create one from the dashboard (see `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`flight_icao`,type:`string`,required:false,id:`param-flight-icao`,children:_jsxs(_components.p,{children:[`Search by flight ICAO code-number (e.g., `,_jsx(_components.code,{children:`AAL6`}),`).`]})}),`\n`,_jsx(ParamField,{query:`flight_iata`,type:`string`,required:false,id:`param-flight-iata`,children:_jsxs(_components.p,{children:[`Or search by flight IATA code-number (e.g., `,_jsx(_components.code,{children:`AA6`}),`).`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Provide either `,_jsx(_components.code,{children:`flight_iata`}),` or `,_jsx(_components.code,{children:`flight_icao`}),`.`]})}),`\n`,_jsx(ParamField,{query:`_fields`,type:`string`,required:false,id:`param-fields`,children:_jsxs(_components.p,{children:[`Comma-separated list of fields to return (e.g., `,_jsx(_components.code,{children:`flight_iata,status,dep_iata,arr_iata`}),`).`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{type:`object`,children:[_jsxs(Expandable,{title:`Live tracking`,defaultOpen:false,children:[_jsx(ResponseField,{name:`hex`,type:`string`,id:`param-hex`,children:_jsx(_components.p,{children:`ICAO24 hex address.`})}),_jsx(ResponseField,{name:`lat`,type:`number`,id:`param-lat`,children:_jsx(_components.p,{children:`Latitude.`})}),_jsx(ResponseField,{name:`lng`,type:`number`,id:`param-lng`,children:_jsx(_components.p,{children:`Longitude.`})}),_jsx(ResponseField,{name:`alt`,type:`number`,id:`param-alt`,children:_jsx(_components.p,{children:`Altitude (meters).`})}),_jsx(ResponseField,{name:`dir`,type:`number`,id:`param-dir`,children:_jsx(_components.p,{children:`Heading (degrees).`})}),_jsx(ResponseField,{name:`speed`,type:`number`,id:`param-speed`,children:_jsx(_components.p,{children:`Horizontal speed (km/h).`})}),_jsx(ResponseField,{name:`v_speed`,type:`number`,id:`param-v-speed`,children:_jsx(_components.p,{children:`Vertical speed (m/s, positive when climbing).`})}),_jsx(ResponseField,{name:`squawk`,type:`string`,id:`param-squawk`,children:_jsx(_components.p,{children:`Squawk code (when available).`})}),_jsx(ResponseField,{name:`updated`,type:`number`,id:`param-updated`,children:_jsx(_components.p,{children:`UNIX timestamp of last update.`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Flight status (e.g., `,_jsx(_components.code,{children:`scheduled`}),`, `,_jsx(_components.code,{children:`en-route`}),`, `,_jsx(_components.code,{children:`landed`}),`). A flight that leaves receiver coverage is `,_jsx(_components.code,{children:`landed`}),` once it should have arrived, or 6 hours after its last position when no arrival is known: its landing was not observed, and its arrival airport is the one its route publishes.`]})})]}),_jsxs(Expandable,{title:`Airline \u0026 flight identifiers`,defaultOpen:false,children:[_jsx(ResponseField,{name:`airline_iata`,type:`string`,id:`param-airline-iata`,children:_jsx(_components.p,{children:`Airline IATA code.`})}),_jsx(ResponseField,{name:`airline_icao`,type:`string`,id:`param-airline-icao`,children:_jsx(_components.p,{children:`Airline ICAO code.`})}),_jsx(ResponseField,{name:`flight_number`,type:`string`,id:`param-flight-number`,children:_jsx(_components.p,{children:`Flight number only.`})}),_jsx(ResponseField,{name:`flight_iata`,type:`string`,id:`param-flight-iata-1`,children:_jsx(_components.p,{children:`Flight IATA code-number.`})}),_jsx(ResponseField,{name:`flight_icao`,type:`string`,id:`param-flight-icao-1`,children:_jsx(_components.p,{children:`Flight ICAO code-number.`})}),_jsx(ResponseField,{name:`cs_airline_iata`,type:`string`,id:`param-cs-airline-iata`,children:_jsx(_components.p,{children:`Codeshare airline IATA code (when available).`})}),_jsx(ResponseField,{name:`cs_flight_number`,type:`string`,id:`param-cs-flight-number`,children:_jsx(_components.p,{children:`Codeshare flight number (when available).`})}),_jsx(ResponseField,{name:`cs_flight_iata`,type:`string`,id:`param-cs-flight-iata`,children:_jsx(_components.p,{children:`Codeshare flight IATA code-number (when available).`})})]}),_jsxs(Expandable,{title:`Route`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_iata`,type:`string`,id:`param-dep-iata`,children:_jsx(_components.p,{children:`Departure airport IATA code.`})}),_jsx(ResponseField,{name:`dep_icao`,type:`string`,id:`param-dep-icao`,children:_jsx(_components.p,{children:`Departure airport ICAO code.`})}),_jsx(ResponseField,{name:`arr_iata`,type:`string`,id:`param-arr-iata`,children:_jsx(_components.p,{children:`Arrival airport IATA code.`})}),_jsx(ResponseField,{name:`arr_icao`,type:`string`,id:`param-arr-icao`,children:_jsx(_components.p,{children:`Arrival airport ICAO code.`})})]}),_jsxs(Expandable,{title:`Airport operations`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_terminal`,type:`string`,id:`param-dep-terminal`,children:_jsx(_components.p,{children:`Departure terminal (when available).`})}),_jsx(ResponseField,{name:`dep_gate`,type:`string`,id:`param-dep-gate`,children:_jsx(_components.p,{children:`Departure gate (when available).`})}),_jsx(ResponseField,{name:`arr_terminal`,type:`string`,id:`param-arr-terminal`,children:_jsx(_components.p,{children:`Arrival terminal (when available).`})}),_jsx(ResponseField,{name:`arr_gate`,type:`string`,id:`param-arr-gate`,children:_jsx(_components.p,{children:`Arrival gate (when available).`})}),_jsx(ResponseField,{name:`arr_baggage`,type:`string`,id:`param-arr-baggage`,children:_jsx(_components.p,{children:`Arrival baggage belt (when available).`})})]}),_jsxs(Expandable,{title:`Times \u0026 delays`,defaultOpen:false,children:[_jsx(ResponseField,{name:`dep_time`,type:`string`,id:`param-dep-time`,children:_jsx(_components.p,{children:`Scheduled departure time (local).`})}),_jsx(ResponseField,{name:`dep_time_ts`,type:`number`,id:`param-dep-time-ts`,children:_jsx(_components.p,{children:`Scheduled departure time (unix).`})}),_jsx(ResponseField,{name:`dep_time_utc`,type:`string`,id:`param-dep-time-utc`,children:_jsx(_components.p,{children:`Scheduled departure time (UTC).`})}),_jsx(ResponseField,{name:`arr_time`,type:`string`,id:`param-arr-time`,children:_jsx(_components.p,{children:`Scheduled arrival time (local).`})}),_jsx(ResponseField,{name:`arr_time_ts`,type:`number`,id:`param-arr-time-ts`,children:_jsx(_components.p,{children:`Scheduled arrival time (unix).`})}),_jsx(ResponseField,{name:`arr_time_utc`,type:`string`,id:`param-arr-time-utc`,children:_jsx(_components.p,{children:`Scheduled arrival time (UTC).`})}),_jsx(ResponseField,{name:`duration`,type:`number`,id:`param-duration`,children:_jsx(_components.p,{children:`Flight duration in minutes, takeoff to landing: observed on the flights FlyStack tracked, else estimated from the distance.`})}),_jsx(ResponseField,{name:`delayed`,type:`number`,id:`param-delayed`,children:_jsx(_components.p,{children:`Estimated total delay (minutes, when available).`})}),_jsx(ResponseField,{name:`dep_delayed`,type:`number`,id:`param-dep-delayed`,children:_jsx(_components.p,{children:`Departure delay (minutes, when available).`})}),_jsx(ResponseField,{name:`arr_delayed`,type:`number`,id:`param-arr-delayed`,children:_jsx(_components.p,{children:`Arrival delay (minutes, when available).`})})]}),_jsxs(Expandable,{title:`Aircraft details`,defaultOpen:false,children:[_jsx(ResponseField,{name:`reg_number`,type:`string`,id:`param-reg-number`,children:_jsx(_components.p,{children:`Aircraft registration number (when available).`})}),_jsx(ResponseField,{name:`aircraft_icao`,type:`string`,id:`param-aircraft-icao`,children:_jsx(_components.p,{children:`Aircraft ICAO type designator.`})}),_jsx(ResponseField,{name:`model`,type:`string`,id:`param-model`,children:_jsx(_components.p,{children:`Aircraft model (when available).`})}),_jsx(ResponseField,{name:`manufacturer`,type:`string`,id:`param-manufacturer`,children:_jsx(_components.p,{children:`Aircraft manufacturer (when available).`})}),_jsx(ResponseField,{name:`msn`,type:`string`,id:`param-msn`,children:_jsx(_components.p,{children:`Manufacturer serial number (when available).`})}),_jsx(ResponseField,{name:`engine`,type:`string`,id:`param-engine`,children:_jsx(_components.p,{children:`Engine type (when available).`})}),_jsx(ResponseField,{name:`engine_count`,type:`string`,id:`param-engine-count`,children:_jsx(_components.p,{children:`Engine count (when available).`})}),_jsx(ResponseField,{name:`built`,type:`number`,id:`param-built`,children:_jsx(_components.p,{children:`Build year (when available).`})}),_jsx(ResponseField,{name:`age`,type:`number`,id:`param-age`,children:_jsx(_components.p,{children:`Aircraft age (years, when available).`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsx(_components.p,{children:`Airframe type (when available).`})}),_jsx(ResponseField,{name:`flag`,type:`string`,id:`param-flag`,children:_jsx(_components.p,{children:`Country of registration of the aircraft (ISO-2 code, when available).`})})]})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`?flight_iata=AF66`,numberOfLines:`50`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`50`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"39D2A2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reg_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"F-HUVC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aircraft_icao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A359\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flag\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`48.882457`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lng\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-68.940221`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12192.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dir\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`241.7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"speed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`807.8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"v_speed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"squawk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2420\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"airline_icao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AFR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"airline_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flight_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"66\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flight_icao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AFR66\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flight_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AF66\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cs_airline_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cs_flight_number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cs_flight_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_icao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LFPG\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CDG\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_terminal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_gate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_time_ts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_time_utc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_icao\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"KLAX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_iata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LAX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_terminal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_gate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_baggage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_time_ts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_time_utc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`692`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delayed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dep_delayed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arr_delayed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1793732805`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en-route\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"age\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"built\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2023`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"engine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"engine_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Airbus A-350-900 XWB\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"manufacturer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AIRBUS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"616\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"landplane\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`404`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NOT_FOUND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No live, recent or planned flight matches this code.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`When no live, recent or planned flight matches, the response is `,_jsx(_components.code,{children:`404`}),` with the error code `,_jsx(_components.code,{children:`NOT_FOUND`}),`. You can often find future occurrences using the `,_jsx(_components.a,{href:`/api-reference/endpoints/routes`,children:`Routes Dataset`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`see-also`,children:`See also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/flights`,children:`Real-Time Flights API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/schedules`,children:`Flight Schedules API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/routes`,children:`Routes Dataset API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/endpoints/fleets`,children:`Aircraft Fleets Dataset API`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Flight Lookup","api":"GET https://api.flystack.dev/v1/flights/lookup","description":"Lookup a single flight and get detailed information by IATA or ICAO flight code.","href":"/api-reference/endpoints/flight"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":3,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"See also","slug":"see-also","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"?flight_iata=AF66","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"50\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hex\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"39D2A2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reg_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"F-HUVC\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"aircraft_icao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A359\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flag\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lat\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">48.882457\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lng\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">-68.940221\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"alt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12192.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dir\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">241.7\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"speed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">807.8\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"v_speed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"squawk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2420\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"airline_icao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AFR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"airline_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AF\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flight_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"66\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flight_icao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AFR66\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"flight_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AF66\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cs_airline_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cs_flight_number\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cs_flight_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_icao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LFPG\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CDG\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_terminal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_gate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_time_ts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_time_utc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_icao\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"KLAX\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_iata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LAX\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_terminal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_gate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_baggage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_time_ts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_time_utc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">692\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"delayed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dep_delayed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"arr_delayed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1793732805\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"en-route\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"age\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"built\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2023\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"engine\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jet\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"engine_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Airbus A-350-900 XWB\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"manufacturer\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AIRBUS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"msn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"616\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"landplane\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"404","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NOT_FOUND\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"No live, recent or planned flight matches this code.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Flight Lookup","path":"/v1/flights/lookup","servers":[{"url":"https://api.flystack.dev"}],"method":"get","request":{"security":[],"parameters":{"query":{"flight_icao":{"schema":[{"type":"string","description":"Search by flight ICAO code-number (e.g., `AAL6` )."}]},"flight_iata":{"schema":[{"type":"string","description":"Or search by flight IATA code-number (e.g., `AA6` )."}]},"_fields":{"schema":[{"type":"string","description":"Comma-separated list of fields to return (e.g., `flight_iata,status,dep_iata,arr_iata` )."}]}},"header":{"x-api-key":{"schema":[{"type":"string","description":"Your FlyStack API token. You can create one from the dashboard (see Authentication ).","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"flystack","siteName":"FlyStack","title":"Flight Lookup - FlyStack","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/endpoints/flight","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T22:32:16.612Z","originalFileLocation":"api-reference/endpoints/flight.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Lookup a single flight and get detailed information by IATA or ICAO flight code.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FlyStack\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Flight Lookup - FlyStack\">\u003cmeta data-mint-head property=\"og:description\" content=\"Lookup a single flight and get detailed information by IATA or ICAO flight code.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FlyStack\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flystack.dev/api-reference/endpoints/flight\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flystack.mintlify.site/_mintlify/api/og/v2?division=Real-time\u0026amp;title=Flight+Lookup\u0026amp;description=Lookup+a+single+flight+and+get+detailed+information+by+IATA+or+ICAO+flight+code.\u0026amp;theme=f37be95c973897d0f93e33f3\u0026amp;signature=f08385bced58761668e31c1512000b64d8fad2a2badafdbcccd20741908b0fcc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Flight Lookup - FlyStack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Lookup a single flight and get detailed information by IATA or ICAO flight code.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flystack.mintlify.site/_mintlify/api/og/v2?division=Real-time\u0026amp;title=Flight+Lookup\u0026amp;description=Lookup+a+single+flight+and+get+detailed+information+by+IATA+or+ICAO+flight+code.\u0026amp;theme=f37be95c973897d0f93e33f3\u0026amp;signature=f08385bced58761668e31c1512000b64d8fad2a2badafdbcccd20741908b0fcc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/flystack/SZr0L2CxGG-SdzBg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FlyStack\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#051039\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flystack.dev/api-reference/endpoints/flight\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/flight.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flystack.dev/#organization\",\"name\":\"FlyStack\",\"url\":\"https://docs.flystack.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flystack/bqOJC7EB8jszNymV/logo/light.svg?fit=max\u0026auto=format\u0026n=bqOJC7EB8jszNymV\u0026q=85\u0026s=2427a1f133ff2744c15e2e6385bbdafd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flystack.dev#website\",\"name\":\"FlyStack\",\"url\":\"https://docs.flystack.dev\",\"publisher\":{\"@id\":\"https://docs.flystack.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flystack.dev/api-reference/endpoints/flight#webpage\",\"url\":\"https://docs.flystack.dev/api-reference/endpoints/flight\",\"name\":\"Flight Lookup\",\"description\":\"Lookup a single flight and get detailed information by IATA or ICAO flight code.\",\"dateModified\":\"2026-11-05T22:32:16.612Z\",\"isPartOf\":{\"@id\":\"https://docs.flystack.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flystack.dev/api-reference/endpoints/flight#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flystack.dev/api-reference/endpoints/flight#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Real-time\",\"item\":\"https://docs.flystack.dev/api-reference/endpoints/flights\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flight Lookup\",\"item\":\"https://docs.flystack.dev/api-reference/endpoints/flight\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flystack.dev/api-reference/endpoints/flight#apireference\",\"headline\":\"Flight Lookup\",\"name\":\"Flight Lookup\",\"description\":\"Lookup a single flight and get detailed information by IATA or ICAO flight code.\",\"url\":\"https://docs.flystack.dev/api-reference/endpoints/flight\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flystack.dev/api-reference/endpoints/flight#webpage\"},\"dateModified\":\"2026-11-05T22:32:16.612Z\",\"publisher\":{\"@id\":\"https://docs.flystack.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flystack.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FlyStack\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FlyStack\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/flight.md","siteName":"FlyStack","nav":{"global":null,"versions":[{"version":"v1","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Real-time","pages":[{"title":"Real-Time Flights","api":"GET https://api.flystack.dev/v1/flights","description":"Track live flights worldwide with near real-time position, speed, heading, and status.","href":"/api-reference/endpoints/flights"},{"title":"Flight Lookup","api":"GET https://api.flystack.dev/v1/flights/lookup","href":"/api-reference/endpoints/flight"},{"title":"Flight Delays","api":"GET https://api.flystack.dev/v1/delays","description":"Monitor live flight delays worldwide or filter by airport, airline, or flight.","href":"/api-reference/endpoints/delays"},{"title":"Flight Schedules","api":"GET https://api.flystack.dev/v1/schedules","href":"/api-reference/endpoints/schedules"}]},{"group":"Datasets","pages":[{"title":"Airports Dataset","api":"GET https://api.flystack.dev/v1/airports","href":"/api-reference/endpoints/airports"},{"title":"Airports Nearby","api":"GET https://api.flystack.dev/v1/airports/nearby","href":"/api-reference/endpoints/airports-nearby"},{"title":"Airlines Dataset","api":"GET https://api.flystack.dev/v1/airlines","href":"/api-reference/endpoints/airlines"},{"title":"Airline Routes","api":"GET https://api.flystack.dev/v1/routes","href":"/api-reference/endpoints/routes"},{"title":"Cities Dataset","api":"GET https://api.flystack.dev/v1/cities","href":"/api-reference/endpoints/cities"},{"title":"Countries Dataset","api":"GET https://api.flystack.dev/v1/countries","href":"/api-reference/endpoints/countries"},{"title":"Timezones","api":"GET https://api.flystack.dev/v1/timezones","href":"/api-reference/endpoints/timezones"},{"title":"Aircraft Fleets Dataset","api":"GET https://api.flystack.dev/v1/fleets","href":"/api-reference/endpoints/fleets"}]},{"group":"Platform","pages":[{"title":"Usage","api":"GET https://api.flystack.dev/v1/usage","href":"/api-reference/usage"}]}]}]}]},"basePath":"","title":"Flight Lookup - FlyStack","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","SectionHeading-CKObOTcn.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js"]}