Returns recent news articles, strike alerts, weather warnings, and disruption reports relevant to a given route. Powered by AI curation from Google News and ANSA — only items with meaningful impact on flight reliability are included.News is cached for 6 hours per route. Pass refresh=true to force a fresh fetch.
{ "origin": "FCO", "dest": "LHR", "news": [ { "title": "Heathrow ATC staffing issues expected this weekend", "summary": "Air traffic control understaffing at Heathrow may cause ground delays of 30–60 minutes on Saturday.", "source": "AviationHerald", "url": "https://example.com/article", "published_at": "2026-04-08T14:30:00Z", "impact": "medium", "event_type": "atc", "severity": 0.55 } ], "meta": { "count": 1, "cached": true, "fetched_at": "2026-04-09T08:00:00Z", "cache_ttl_hours": 6 }}
You can include news inline in the /api/score response by passing news=true. This avoids a second API call when you need both score and news context together.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"AirRating","colors":{"primary":"#00D4FF","light":"#00D4FF","dark":"#00A8CC"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/airrating/eaow8zSXXmsgg17o/AirRating-logos.png?fit=max\u0026auto=format\u0026n=eaow8zSXXmsgg17o\u0026q=85\u0026s=3ab3c9d1d700f623ed4716bd33372946","dark":"https://mintcdn.com/airrating/eaow8zSXXmsgg17o/AirRating-logos.png?fit=max\u0026auto=format\u0026n=eaow8zSXXmsgg17o\u0026q=85\u0026s=3ab3c9d1d700f623ed4716bd33372946"},"appearance":{"default":"dark","strict":null},"navbar":{"links":[{"label":"Status","href":"https://status.airrating.io"}],"primary":{"type":"button","label":"Join Waitlist","href":"https://airrating.io"}},"footer":{"socials":{"website":"https://airrating.io"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"airrating","hasAudioNarration":false,"actualSubdomain":"airrating","customDomains":["docs.airrating.io"],"gitSource":{"type":"github","owner":"steem89","repo":"airrating-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94a3a9198b3764e84abfe:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"Documentation","count":13},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/news","slug":"/api-reference/news","pageMetadata":{"title":"Route News","description":"Get recent news and disruption reports for a route.","api":"GET https://app.airrating.io/api/news","href":"/api-reference/news"},"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: \"Get recent news and disruption reports for a route.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Returns recent news articles, strike alerts, weather warnings, and disruption reports relevant to a given route. Powered by AI curation from Google News and ANSA — only items with meaningful impact on flight reliability are included.`}),`\n`,_jsxs(_components.p,{children:[`News is cached for 6 hours per route. Pass `,_jsx(_components.code,{children:`refresh=true`}),` to force a fresh fetch.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{query:`origin`,type:`string`,required:true,id:`param-origin`,children:_jsx(_components.p,{children:`IATA code of the departure airport.`})}),`\n`,_jsx(ParamField,{query:`dest`,type:`string`,required:true,id:`param-dest`,children:_jsx(_components.p,{children:`IATA code of the arrival airport.`})}),`\n`,_jsx(ParamField,{query:`refresh`,type:`boolean`,default:`false`,id:`param-refresh`,children:_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`true`}),`, bypasses the cache and fetches fresh news. Use sparingly.`]})}),`\n`,_jsx(ParamField,{query:`api_key`,type:`string`,required:true,id:`param-api-key`,children:_jsx(_components.p,{children:`Your API key.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`origin`,type:`string`,id:`param-origin-1`,children:_jsx(_components.p,{children:`IATA code of the departure airport.`})}),`\n`,_jsx(ResponseField,{name:`dest`,type:`string`,id:`param-dest-1`,children:_jsx(_components.p,{children:`IATA code of the arrival airport.`})}),`\n`,_jsxs(ResponseField,{name:`news`,type:`array`,id:`param-news`,children:[_jsx(_components.p,{children:`List of news items relevant to the route.`}),_jsxs(Expandable,{title:`News item`,children:[_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Article or alert title.`})}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary`,children:_jsx(_components.p,{children:`AI-generated one-sentence summary of the disruption impact.`})}),_jsx(ResponseField,{name:`source`,type:`string`,id:`param-source`,children:_jsxs(_components.p,{children:[`Source name (e.g. `,_jsx(_components.code,{children:`AviationHerald`}),`, `,_jsx(_components.code,{children:`ANSA`}),`).`]})}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsx(_components.p,{children:`Link to the original article.`})}),_jsx(ResponseField,{name:`published_at`,type:`string`,id:`param-published-at`,children:_jsx(_components.p,{children:`ISO 8601 publication timestamp.`})}),_jsx(ResponseField,{name:`impact`,type:`string`,id:`param-impact`,children:_jsxs(_components.p,{children:[`Estimated disruption impact: `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, or `,_jsx(_components.code,{children:`high`}),`.`]})}),_jsx(ResponseField,{name:`event_type`,type:`string`,id:`param-event-type`,children:_jsxs(_components.p,{children:[`Category: `,_jsx(_components.code,{children:`strike`}),`, `,_jsx(_components.code,{children:`weather`}),`, `,_jsx(_components.code,{children:`atc`}),`, `,_jsx(_components.code,{children:`security`}),`, `,_jsx(_components.code,{children:`technical`}),`, or `,_jsx(_components.code,{children:`general`}),`.`]})}),_jsx(ResponseField,{name:`severity`,type:`float`,id:`param-severity`,children:_jsx(_components.p,{children:`Numeric severity estimate 0.0–1.0.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`meta`,type:`object`,id:`param-meta`,children:[_jsx(_components.p,{children:`Cache and fetch metadata.`}),_jsxs(Expandable,{title:`meta fields`,children:[_jsx(ResponseField,{name:`count`,type:`integer`,id:`param-count`,children:`Number of news items returned.`}),_jsx(ResponseField,{name:`cached`,type:`boolean`,id:`param-cached`,children:`Whether the response was served from cache.`}),_jsx(ResponseField,{name:`fetched_at`,type:`string`,id:`param-fetched-at`,children:`ISO 8601 timestamp of the last fetch.`}),_jsx(ResponseField,{name:`cache_ttl_hours`,type:`integer`,id:`param-cache-ttl-hours`,children:`Cache TTL in hours (default: 6).`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.airrating.io/api/news?origin=FCO\u0026dest=LHR\u0026api_key=YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`9`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` httpx`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response = httpx.get(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.airrating.io/api/news\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` params={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"origin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FCO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LHR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data = response.json()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` item `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"news\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` print(f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[{item['impact'].upper()}] {item['title']}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response`,numberOfLines:`22`,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:`22`,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:` \"origin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FCO\"`}),_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:` \"dest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LHR\"`}),_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:` \"news\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Heathrow ATC staffing issues expected this weekend\"`}),_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:` \"summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Air traffic control understaffing at Heathrow may cause ground delays of 30–60 minutes on Saturday.\"`}),_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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AviationHerald\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/article\"`}),_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:` \"published_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-08T14:30:00Z\"`}),_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:` \"impact\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_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:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"atc\"`}),_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:` \"severity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.55`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_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:` \"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"cached\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:` \"fetched_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-09T08:00:00Z\"`}),_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:` \"cache_ttl_hours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`})]}),`\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(Tip,{children:_jsxs(_components.p,{children:[`You can include news inline in the `,_jsx(_components.code,{children:`/api/score`}),` response by passing `,_jsx(_components.code,{children:`news=true`}),`. This avoids a second API call when you need both score and news context together.`]})})]})}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":"Route News","description":"Get recent news and disruption reports for a route.","api":"GET https://app.airrating.io/api/news","href":"/api-reference/news"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Route News","path":"/api/news","servers":[{"url":"https://app.airrating.io"}],"method":"get","request":{"security":[],"parameters":{"query":{"origin":{"schema":[{"type":"string","description":"IATA code of the departure airport.","required":true}]},"dest":{"schema":[{"type":"string","description":"IATA code of the arrival airport.","required":true}]},"refresh":{"schema":[{"type":"boolean","description":"If `true` , bypasses the cache and fetches fresh news. Use sparingly."}]},"api_key":{"schema":[{"type":"string","description":"Your API key.","required":true}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"origin":[{"type":"string","description":"IATA code of the departure airport."}],"dest":[{"type":"string","description":"IATA code of the arrival airport."}],"news":[{"type":"array","items":[{"type":"object","properties":{"title":[{"type":"string","description":"Article or alert title."}],"summary":[{"type":"string","description":"AI-generated one-sentence summary of the disruption impact."}],"source":[{"type":"string","description":"Source name (e.g. `AviationHerald` , `ANSA` )."}],"url":[{"type":"string","description":"Link to the original article."}],"published_at":[{"type":"string","description":"ISO 8601 publication timestamp."}],"impact":[{"type":"string","description":"Estimated disruption impact: `low` , `medium` , or `high` ."}],"event_type":[{"type":"string","description":"Category: `strike` , `weather` , `atc` , `security` , `technical` , or `general` ."}],"severity":[{"type":"number","description":"Numeric severity estimate 0.0–1.0."}]}}],"description":"List of news items relevant to the route."}],"meta":[{"type":"object","properties":{"count":[{"type":"integer","description":"Number of news items returned."}],"cached":[{"type":"boolean","description":"Whether the response was served from cache."}],"fetched_at":[{"type":"string","description":"ISO 8601 timestamp of the last fetch."}],"cache_ttl_hours":[{"type":"integer","description":"Cache TTL in hours (default: 6)."}]},"description":"Cache and fetch metadata."}]}}],"examples":{"example":{"value":{"origin":"\u003cstring>","dest":"\u003cstring>","news":[{"title":"\u003cstring>","summary":"\u003cstring>","source":"\u003cstring>","url":"\u003cstring>","published_at":"\u003cstring>","impact":"\u003cstring>","event_type":"\u003cstring>","severity":123}],"meta":{"count":123,"cached":true,"fetched_at":"\u003cstring>","cache_ttl_hours":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"airrating","siteName":"AirRating","title":"Route News - AirRating","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-17T23:20:23.278Z","originalFileLocation":"api-reference/news.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"dark\"}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=\"Get recent news and disruption reports for a route.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AirRating\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/airrating/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/airrating/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/airrating/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/airrating/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Route News - AirRating\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get recent news and disruption reports for a route.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AirRating\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.airrating.io/api-reference/news\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://airrating.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Route+News\u0026amp;description=Get+recent+news+and+disruption+reports+for+a+route.\u0026amp;theme=2afa73e9a6ac8b3bfff08165\u0026amp;signature=97590d807b37a99cf097d86b869acb17f5426ef29b7d26f5bfc4d063d5ac7cb3\">\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=\"Route News - AirRating\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get recent news and disruption reports for a route.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://airrating.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Route+News\u0026amp;description=Get+recent+news+and+disruption+reports+for+a+route.\u0026amp;theme=2afa73e9a6ac8b3bfff08165\u0026amp;signature=97590d807b37a99cf097d86b869acb17f5426ef29b7d26f5bfc4d063d5ac7cb3\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/airrating/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AirRating\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00D4FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.airrating.io/api-reference/news\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/news.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.airrating.io/#organization\",\"name\":\"AirRating\",\"url\":\"https://docs.airrating.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/airrating/eaow8zSXXmsgg17o/AirRating-logos.png?fit=max\u0026auto=format\u0026n=eaow8zSXXmsgg17o\u0026q=85\u0026s=3ab3c9d1d700f623ed4716bd33372946\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.airrating.io#website\",\"name\":\"AirRating\",\"url\":\"https://docs.airrating.io\",\"publisher\":{\"@id\":\"https://docs.airrating.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.airrating.io/api-reference/news#webpage\",\"url\":\"https://docs.airrating.io/api-reference/news\",\"name\":\"Route News\",\"description\":\"Get recent news and disruption reports for a route.\",\"dateModified\":\"2026-03-17T23:20:23.278Z\",\"isPartOf\":{\"@id\":\"https://docs.airrating.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.airrating.io/api-reference/news#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.airrating.io/api-reference/news#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.airrating.io/api-reference/score\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Route News\",\"item\":\"https://docs.airrating.io/api-reference/news\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.airrating.io/api-reference/news#apireference\",\"headline\":\"Route News\",\"name\":\"Route News\",\"description\":\"Get recent news and disruption reports for a route.\",\"url\":\"https://docs.airrating.io/api-reference/news\",\"mainEntityOfPage\":{\"@id\":\"https://docs.airrating.io/api-reference/news#webpage\"},\"dateModified\":\"2026-03-17T23:20:23.278Z\",\"publisher\":{\"@id\":\"https://docs.airrating.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.airrating.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AirRating\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AirRating\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/news.md","siteName":"AirRating","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Risk Score","api":"GET https://app.airrating.io/api/score","href":"/api-reference/score"},{"title":"Airlines on Route","description":"Get all airlines operating a route with their individual risk scores.","api":"GET https://app.airrating.io/api/airlines","href":"/api-reference/airlines"},{"title":"Route News","api":"GET https://app.airrating.io/api/news","href":"/api-reference/news"},{"title":"Widget Score","description":"Lightweight endpoint for the embeddable AirRating badge.","api":"GET https://airrating.io/api/widget-score","href":"/api-reference/widget"},{"title":"AI Explanation","href":"/api-reference/explain"},{"title":"API Key Management","href":"/api-reference/keys"},{"title":"Health","api":"GET https://app.airrating.io/api/health","href":"/api-reference/health"}]}]}]},{"anchor":"Website","href":"https://airrating.io","icon":"globe"},{"anchor":"Status","href":"https://status.airrating.io","icon":"signal"},{"anchor":"Contact","href":"mailto:[email protected]","icon":"envelope"}]},"basePath":"","title":"Route News - AirRating","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}