Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.
The news lookup endpoint allows developers to get news and headlines breaking on X.This endpoint supports app-auth and user-auth authentication for OAuth1 and OAuth2 PKCE.
If the request is successful, you should see the JSON response as shown below:
Example response
{ "data":{ "category":"News", "name":"Nebius Group Stock Plunges 30% Despite Q3 Revenue Surge and Meta Deal", "summary":"Nebius Group announced third-quarter revenue of $214 million, a fourfold increase year-over-year, alongside a $3 billion five-year GPU cloud services contract with Meta Platforms on November 11, 2025. Despite these positives, shares fell over 30% to $83.58 by November 14, driven by AI sector cooling and a $119.6 million net loss. Analysts hold a strong Buy rating with an average price target of $139.67, while X users see the dip as a buying opportunity.", "hook":"Nebius Group's shares cratered 30% after blockbuster Q3 earnings and a $3 billion Meta deal—yet analysts and investors are calling it a golden buying chance amid AI hype.", "contexts":{ "sports":{ "teams":[] }, "entities":{ "events":[], "organizations":[ "Goldman Sachs", "Nebius Group N.V." ], "people":[], "places":[], "products":[] }, "topics":[ "Stocks" ], "finance":{ "tickers":[ "NBIS" ] } }, "cluster_posts_results":[ { "post_id":"1989409257394245835" }, { "post_id":"1989410019562197162" }, { "post_id":"1989413132993999177" }, { "post_id":"1989411147179610400" }, { "post_id":"1989409829937656067" }, { "post_id":"1989415596249985296" }, { "post_id":"1989415537781477721" }, { "post_id":"1989413002739691628" }, { "post_id":"1989414454644363445" }, { "post_id":"1989411489988710860" } ], "disclaimer":"This story is a summary of posts on X and may evolve over time. Grok can make mistakes, verify its outputs.", "last_updated_at_ms":"2025-11-17T16:21:41.000Z", "id":"1989418137272422538" }}
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"X","colors":{"primary":"#0D0D0D","light":"#B2B2B2","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d","dark":"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/dark.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=d7b8656c2bcee6e9d5c947f6419e8b82"},"favicon":"https://mintcdn.com/x-preview/s_D1jGy1nLdDmXkd/favicon.png?fit=max\u0026auto=format\u0026n=s_D1jGy1nLdDmXkd\u0026q=85\u0026s=80ae09fccb5fee6b52fc4f31c15ac2f7","appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#000000"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.x.com/en/portal/petition/essential/basic-info"}},"footer":{"socials":{"x":"https://x.com/xdevelopers","github":"https://github.com/xdevplatform"},"links":[{"header":"Resources","items":[{"label":"Status","href":"https://developer.x.com/status"},{"label":"Incidents","href":"/incidents"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://x.com/en/tos"},{"label":"Privacy Policy","href":"https://x.com/en/privacy"},{"label":"Cookies","href":"https://help.x.com/en/rules-and-policies/x-cookies"},{"label":"Developer Terms","href":"https://docs.x.com/developer-terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.x.com","og:site_name":"X Developer Platform","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@xdevelopers","description":"Build, analyze, and innovate with X's real-time global data and APIs. Access comprehensive API documentation, SDKs, tutorials, and developer tools.","author":"X Developer Platform","language":"en","robots":"index, follow","googlebot":"index, follow","og:image":"https://docs.x.com/images/og-default.png","og:image:width":"1200","og:image:height":"630","twitter:image":"https://docs.x.com/images/og-default.png"},"indexing":"all"},"fonts":{"family":"Chirp","weight":400,"source":"fonts/chirp-regular-web.woff2","format":"woff2"},"contextual":{"options":["copy","view",{"title":"Open in Grok","description":"Ask questions about this page","icon":"/logo/grok.svg","href":{"base":"https://grok.com","query":[{"key":"q","value":"Read from https://docs.x.com$path so I can ask questions about it."}]}}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"x-preview","hasAudioNarration":false,"actualSubdomain":"x-preview","customDomains":["docs.x.com"],"gitSource":{"type":"github","owner":"xdevplatform","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae6433f3badfbce406cb3a4","collectionId":"fa28b03a-144c-4188-a64c-a80304a9828e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae6433f3badfbce406cb3a4"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae69e9b420faf70548cbfad","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":695},{"language":"default","tag":"X API","count":355},{"language":"default","tag":"TypeScript XDK","count":315},{"language":"default","tag":"Interfaces","count":284},{"language":"default","tag":"Misc","count":281},{"language":"default","tag":"General","count":260},{"language":"default","tag":"Documentation","count":157},{"language":"default","tag":"Guides","count":81},{"language":"default","tag":"Posts","count":77},{"language":"default","tag":"Python XDK","count":67}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/x-preview/9ac9ff4335261041/style.css"}],"page":{"pagePath":"x-api/news/introduction","slug":"/x-api/news/introduction","pageMetadata":{"title":"News lookup endpoint on the X API v2","description":"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.","sidebarTitle":"Introduction","keywords":["news","news API","headlines","breaking news","news lookup","news stories","news search"],"href":"/x-api/news/introduction"},"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: \"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\"\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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The news lookup endpoint allows developers to get news and headlines breaking on X.`}),`\n`,_jsx(_components.p,{children:`This endpoint supports app-auth and user-auth authentication for OAuth1 and OAuth2 PKCE.`}),`\n`,_jsx(Heading,{level:`2`,id:`getting-started`,children:`Getting started`}),`\n`,_jsxs(_components.p,{children:[`To use the endpoint, you need a `,_jsx(_components.a,{href:`/fundamentals/authentication/oauth-2-0/application-only`,children:`bearer token`}),` from the `,_jsx(_components.a,{href:`https://developer.x.com/en/portal/dashboard`,children:`Developer Console`}),`.`]}),`\n`,_jsx(_components.p,{children:`Once you have the bearer token, you can call the news API as shown below:`}),`\n`,_jsx(CodeBlock,{filename:``,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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.x.com/2/news/1989418137272422538?news.fields=contexts,cluster_posts_results'`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer XXXXX'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If the request is successful, you should see the JSON response as shown below:`}),`\n`,_jsx(CodeBlock,{filename:`Example response`,icon:`https://mintcdn.com/x-preview/Vn2KEkZaPF9LiPi3/icons/xds/icon-brackets.svg?fit=max\u0026auto=format\u0026n=Vn2KEkZaPF9LiPi3\u0026q=85\u0026s=ed2428e77bab43e57800e1a590e982fa`,lines:`true`,wrap:`true`,expandable:`true`,numberOfLines:`66`,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:`66`,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:` \"data\"`}),_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:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Nebius Group Stock Plunges 30% Despite Q3 Revenue Surge and Meta Deal\"`}),_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:`\"Nebius Group announced third-quarter revenue of $214 million, a fourfold increase year-over-year, alongside a $3 billion five-year GPU cloud services contract with Meta Platforms on November 11, 2025. Despite these positives, shares fell over 30% to $83.58 by November 14, driven by AI sector cooling and a $119.6 million net loss. Analysts hold a strong Buy rating with an average price target of $139.67, while X users see the dip as a buying opportunity.\"`}),_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:` \"hook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Nebius Group's shares cratered 30% after blockbuster Q3 earnings and a $3 billion Meta deal—yet analysts and investors are calling it a golden buying chance amid AI hype.\"`}),_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:` \"contexts\"`}),_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:` \"sports\"`}),_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:` \"teams\"`}),_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:` \"entities\"`}),_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:` \"events\"`}),_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:` \"organizations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Goldman Sachs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Nebius Group N.V.\"`})}),`\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:` \"people\"`}),_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:` \"places\"`}),_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:` \"products\"`}),_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:` \"topics\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Stocks\"`})}),`\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:` \"finance\"`}),_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:` \"tickers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NBIS\"`})}),`\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`,_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:` \"cluster_posts_results\"`}),_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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989409257394245835\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989410019562197162\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989413132993999177\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989411147179610400\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989409829937656067\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989415596249985296\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989415537781477721\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989413002739691628\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989414454644363445\"`})]}),`\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:` \"post_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989411489988710860\"`})]}),`\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:` \"disclaimer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This story is a summary of posts on X and may evolve over time. Grok can make mistakes, verify its outputs.\"`}),_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:` \"last_updated_at_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-11-17T16:21:41.000Z\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1989418137272422538\"`})]}),`\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`]})})})]})}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":"News lookup endpoint on the X API v2","description":"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.","sidebarTitle":"Introduction","keywords":["news","news API","headlines","breaking news","news lookup","news stories","news search"],"href":"/x-api/news/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Getting started","slug":"getting-started","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/x-preview/381ffe7e9b15b180/widgets.js","/_mintlify/custom/x-preview/6a1f299520abeae4/sliders.js","/_mintlify/custom/x-preview/c7d32b76ae276d29/xds-motion.js","/_mintlify/custom/x-preview/4e9cd7891e98068a/tmp/gen_prompts.js"],"subdomain":"x-preview","siteName":"X","title":"News lookup endpoint on the X API v2 - X","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-25T02:13:58.159Z","originalFileLocation":"x-api/news/introduction.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\">\u003cmeta data-mint-head name=\"application-name\" content=\"X\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"News lookup endpoint on the X API v2 - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/x-api/news/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.x.com/images/og-default.png\">\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=\"News lookup endpoint on the X API v2 - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.x.com/images/og-default.png\">\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/x-preview/FsnFMtl8dbNRWPu8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"X\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D0D0D\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"X Developer Platform\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.x.com/x-api/news/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/x-api/news/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.x.com/#organization\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/x-preview/CX6FNhUUR8mtNZ97/logo/light.svg?fit=max\u0026auto=format\u0026n=CX6FNhUUR8mtNZ97\u0026q=85\u0026s=b2e6f2ff399e1bc5cd0c588f9644983d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.x.com#website\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.x.com/x-api/news/introduction#webpage\",\"url\":\"https://docs.x.com/x-api/news/introduction\",\"name\":\"News lookup endpoint on the X API v2\",\"description\":\"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\",\"dateModified\":\"2026-07-25T02:13:58.159Z\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.x.com/x-api/news/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.x.com/x-api/news/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"X\",\"item\":\"https://docs.x.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"News lookup endpoint on the X API v2\",\"item\":\"https://docs.x.com/x-api/news/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.x.com/x-api/news/introduction#article\",\"headline\":\"News lookup endpoint on the X API v2\",\"name\":\"News lookup endpoint on the X API v2\",\"description\":\"Look up breaking news stories and headlines on X with the v2 news endpoint, including summaries, hooks, contexts, tickers, and clustered Post results.\",\"url\":\"https://docs.x.com/x-api/news/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/x-api/news/introduction#webpage\"},\"image\":\"https://docs.x.com/images/og-default.png\",\"dateModified\":\"2026-07-25T02:13:58.159Z\",\"keywords\":\"news, news API, headlines, breaking news, news lookup, news stories, news search\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>","siteName":"X","nav":{"global":{"anchors":[{"anchor":"Developer Console","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-console.svg","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-chat.svg","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]},"products":[{"product":"X API","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"General","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-brackets.svg","groups":[{"group":"Overview","pages":[{"title":"X API Overview","sidebarTitle":"Overview","icon":"house","mode":"wide","href":"/x-api/overview"},{"group":"Fundamentals","pages":[{"group":"Data Dictionary","icon":"/icons/xds/icon-book.svg","pages":[{"title":"X API v2 data dictionary: Post, User, Space fields","sidebarTitle":"Overview","href":"/x-api/fundamentals/data-dictionary"},{"title":"Data Dictionary Reference","sidebarTitle":"Reference","href":"/x-api/fundamentals/data-dictionary/reference"}]},{"title":"Fields","sidebarTitle":"Fields","href":"/x-api/fundamentals/fields"},{"title":"Expansions","sidebarTitle":"Expansions","href":"/x-api/fundamentals/expansions"},{"title":"Post Annotations","sidebarTitle":"Annotations","href":"/x-api/fundamentals/post-annotations"},{"title":"Metrics","sidebarTitle":"Metrics","href":"/x-api/fundamentals/metrics"},{"title":"Conversation ID","sidebarTitle":"Conversation ID","href":"/x-api/fundamentals/conversation-id"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/fundamentals/pagination"},{"title":"Versioning","sidebarTitle":"Versioning","href":"/x-api/fundamentals/versioning"},{"title":"API Consistency","sidebarTitle":"Consistency","href":"/x-api/fundamentals/consistency"},{"title":"X API Rate Limits","sidebarTitle":"Rate Limits","href":"/x-api/fundamentals/rate-limits"},{"title":"Usage and Billing","sidebarTitle":"Usage \u0026 Billing","href":"/x-api/fundamentals/post-cap"},{"title":"Edit Posts","sidebarTitle":"Edit Posts","href":"/x-api/fundamentals/edit-posts"},{"title":"Response Codes \u0026 Errors","sidebarTitle":"Response Codes","href":"/x-api/fundamentals/response-codes-and-errors"},{"group":"Streaming","pages":[{"title":"Consuming streaming data","sidebarTitle":"Consuming streaming data","href":"/x-api/fundamentals/consuming-streaming-data"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/fundamentals/handling-disconnections"},{"title":"Handling high-volume capacity","sidebarTitle":"High volume capacity","href":"/x-api/fundamentals/high-volume-capacity"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/fundamentals/recovery-and-redundancy"}]}]}]},{"group":"Posts","pages":[{"group":"Search","pages":[{"title":"Search Posts","sidebarTitle":"Introduction","href":"/x-api/posts/search/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Search Quickstart","sidebarTitle":"Recent Search","href":"/x-api/posts/search/quickstart/recent-search"},{"title":"Full-Archive Search Quickstart","sidebarTitle":"Full-Archive Search","href":"/x-api/posts/search/quickstart/full-archive-search"}]},{"group":"Integration guide","pages":[{"title":"Integration Guide","sidebarTitle":"Overview","href":"/x-api/posts/search/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/search/integrate/build-a-query"},{"title":"Search Operators","sidebarTitle":"Operators","href":"/x-api/posts/search/integrate/operators"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/posts/search/integrate/paginate"}]}]},{"openapi":"get /2/tweets/search/all","title":"Search All Posts","href":"/x-api/posts/search-all-posts"},{"openapi":"get /2/tweets/search/recent","title":"Search Recent Posts","href":"/x-api/posts/search-recent-posts"}]},{"group":"Post Counts","pages":[{"title":"Post Counts","sidebarTitle":"Introduction","href":"/x-api/posts/counts/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Post Counts","sidebarTitle":"Recent Post Counts","href":"/x-api/posts/counts/quickstart/recent-tweet-counts"},{"title":"Full-Archive Post Counts","sidebarTitle":"Full-Archive Post Counts","href":"/x-api/posts/counts/quickstart/full-archive-tweet-counts"}]},{"group":"Integration guide","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/x-api/posts/counts/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/counts/integrate/build-a-query"}]}]},{"openapi":"get /2/tweets/counts/all","title":"Get Count of All Posts","href":"/x-api/posts/get-count-of-all-posts"},{"openapi":"get /2/tweets/counts/recent","title":"Get Count of Recent Posts","href":"/x-api/posts/get-count-of-recent-posts"}]},{"group":"Filtered Stream","pages":[{"title":"Filtered Stream","sidebarTitle":"Introduction","href":"/x-api/posts/filtered-stream/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/filtered-stream/quickstart"},{"group":"Integration guide","pages":[{"title":"Build a rule","sidebarTitle":"Build a rule","href":"/x-api/posts/filtered-stream/integrate/build-a-rule"},{"title":"Filtered Stream Operators","sidebarTitle":"Operators","href":"/x-api/posts/filtered-stream/integrate/operators"},{"title":"Matching Posts to Rules","sidebarTitle":"Matching Posts to Rules","href":"/x-api/posts/filtered-stream/integrate/matching-returned-tweets"},{"title":"Consuming streaming data","sidebarTitle":"Consuming streaming data","href":"/x-api/fundamentals/consuming-streaming-data"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/fundamentals/handling-disconnections"},{"title":"Handling high-volume capacity","sidebarTitle":"High volume capacity","href":"/x-api/fundamentals/high-volume-capacity"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/fundamentals/recovery-and-redundancy"}]}]},{"openapi":"get /2/tweets/search/stream","title":"Stream Filtered Posts","href":"/x-api/stream/stream-filtered-posts"},{"openapi":"get /2/tweets/search/stream/rules","title":"Get Stream Rules","href":"/x-api/stream/get-stream-rules"},{"openapi":"get /2/tweets/search/stream/rules/counts","title":"Get Stream Rule Counts","href":"/x-api/stream/get-stream-rule-counts"},{"openapi":"post /2/tweets/search/stream/rules","title":"Update Stream Rules","href":"/x-api/stream/update-stream-rules"}]},{"group":"Timelines","pages":[{"title":"Timelines","sidebarTitle":"Introduction","href":"/x-api/posts/timelines/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Home Timeline Quickstart","sidebarTitle":"Home Timeline","href":"/x-api/posts/timelines/quickstart/reverse-chron-quickstart"},{"title":"User Mentions Timeline","sidebarTitle":"User Mentions","href":"/x-api/posts/timelines/quickstart/user-mention-quickstart"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/timelines/integrate"}]},{"openapi":"get /2/users/{id}/tweets","title":"Get Posts","href":"/x-api/users/get-posts"},{"openapi":"get /2/users/{id}/mentions","title":"Get Mentions","href":"/x-api/users/get-mentions"},{"openapi":"get /2/users/{id}/timelines/reverse_chronological","title":"Get Timeline","href":"/x-api/users/get-timeline"}]},{"group":"Post Lookup","pages":[{"title":"Post Lookup","sidebarTitle":"Introduction","href":"/x-api/posts/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/lookup/integrate"}]},{"openapi":"get /2/tweets","title":"Get Posts by IDs","href":"/x-api/posts/get-posts-by-ids"},{"openapi":"get /2/tweets/{id}","title":"Get Post by ID","href":"/x-api/posts/get-post-by-id"}]},{"group":"Bookmarks","pages":[{"title":"Bookmarks","sidebarTitle":"Introduction","href":"/x-api/posts/bookmarks/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Bookmarks Lookup","sidebarTitle":"Bookmarks Lookup","href":"/x-api/posts/bookmarks/quickstart/bookmarks-lookup"},{"title":"Manage Bookmarks","sidebarTitle":"Manage Bookmarks","href":"/x-api/posts/bookmarks/quickstart/manage-bookmarks"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/bookmarks/integrate"}]},{"group":"Bookmark Folders","pages":[{"openapi":"get /2/users/{id}/bookmarks/folders","title":"Get Bookmark Folders","href":"/x-api/users/get-bookmark-folders"},{"openapi":"get /2/users/{id}/bookmarks/folders/{folder_id}","title":"Get Bookmarks by Folder ID","href":"/x-api/bookmarks/get-bookmarks-by-folder-id"}]},{"openapi":"get /2/users/{id}/bookmarks","title":"Get Bookmarks","href":"/x-api/users/get-bookmarks"},{"openapi":"post /2/users/{id}/bookmarks","title":"Create Bookmark","href":"/x-api/users/create-bookmark"},{"openapi":"delete /2/users/{id}/bookmarks/{tweet_id}","title":"Delete Bookmark","href":"/x-api/users/delete-bookmark"}]},{"group":"Manage Posts","pages":[{"title":"Manage Posts on the X API v2","sidebarTitle":"Introduction","href":"/x-api/posts/manage-tweets/introduction"},{"group":"Guides","pages":[{"title":"X API v2 manage Posts quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/manage-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/manage-tweets/integrate"}]},{"openapi":"post /2/tweets","title":"Create or Edit Post","href":"/x-api/posts/create-post"},{"openapi":"delete /2/tweets/{id}","title":"Delete Post","href":"/x-api/posts/delete-post"}]},{"group":"Reposts","pages":[{"title":"Retweets","sidebarTitle":"Introduction","href":"/x-api/posts/retweets/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Retweets Lookup","sidebarTitle":"Retweets Lookup","href":"/x-api/posts/retweets/quickstart/retweets-lookup"},{"title":"Manage Retweets","sidebarTitle":"Manage Retweets","href":"/x-api/posts/retweets/quickstart/manage-retweets"},{"title":"Retweets of Me","sidebarTitle":"Retweets of Me","href":"/x-api/posts/retweets/quickstart/retweets-of-me"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/retweets/integrate"}]},{"openapi":"get /2/tweets/{id}/retweeted_by","title":"Get Reposted By","href":"/x-api/posts/get-reposted-by"},{"openapi":"post /2/users/{id}/retweets","title":"Repost Post","href":"/x-api/users/repost-post"},{"openapi":"delete /2/users/{id}/retweets/{source_tweet_id}","title":"Unrepost Post","href":"/x-api/users/unrepost-post"},{"openapi":"get /2/tweets/{id}/retweets","title":"Get Reposts","href":"/x-api/posts/get-reposts"},{"openapi":"get /2/users/reposts_of_me","title":"Get Reposts of Me","href":"/x-api/users/get-reposts-of-me"}]},{"group":"Quotes","pages":[{"title":"Quote Posts","sidebarTitle":"Introduction","href":"/x-api/posts/quote-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/quote-tweets/quickstart"}]},{"openapi":"get /2/tweets/{id}/quote_tweets","title":"Get Quoted Posts","href":"/x-api/posts/get-quoted-posts"}]},{"group":"Hide replies","pages":[{"title":"Hide Replies","sidebarTitle":"Introduction","href":"/x-api/posts/hide-replies/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/hide-replies/quickstart"},{"group":"Integration guide","pages":[{"title":"Manage replies by topic","sidebarTitle":"Manage replies by topic","href":"/x-api/posts/hide-replies/integrate/manage-replies-by-topic"},{"title":"Manage replies in real time with Grok","sidebarTitle":"Manage replies in real time","href":"/x-api/posts/hide-replies/integrate/manage-replies-in-realtime"}]}]},{"openapi":"put /2/tweets/{tweet_id}/hidden","title":"Hide Reply","href":"/x-api/posts/hide-reply"}]}]},{"group":"Articles","pages":[{"title":"Articles endpoints for long-form Posts on the X API","sidebarTitle":"Introduction","href":"/x-api/articles/introduction"},{"openapi":"post /2/articles/draft","title":"Create Draft Article","href":"/x-api/articles/create-draft-article"},{"openapi":"post /2/articles/{article_id}/publish","title":"Publish Article","href":"/x-api/articles/publish-article"}]},{"group":"Users","pages":[{"group":"User Lookup","pages":[{"title":"User Lookup","sidebarTitle":"Introduction","href":"/x-api/users/lookup/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"User Lookup Quickstart","sidebarTitle":"User Lookup","href":"/x-api/users/lookup/quickstart/user-lookup"},{"title":"Authenticated User Quickstart","sidebarTitle":"Authenticated User","href":"/x-api/users/lookup/quickstart/authenticated-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/lookup/integrate"}]},{"openapi":"get /2/users/{id}","title":"Get User by ID","href":"/x-api/users/get-user-by-id"},{"openapi":"get /2/users","title":"Get Users by IDs","href":"/x-api/users/get-users-by-ids"},{"openapi":"get /2/users/by","title":"Get Users by Usernames","href":"/x-api/users/get-users-by-usernames"},{"openapi":"get /2/users/by/username/{username}","title":"Get User by Username","href":"/x-api/users/get-user-by-username"},{"openapi":"get /2/users/me","title":"Get My User","href":"/x-api/users/get-my-user"}]},{"group":"Search","pages":[{"title":"User Search","sidebarTitle":"Introduction","href":"/x-api/users/search/introduction"},{"openapi":"get /2/users/search","title":"Search Users","href":"/x-api/users/search-users"}]},{"group":"Follows","pages":[{"title":"Follows","sidebarTitle":"Introduction","href":"/x-api/users/follows/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/follows/quickstart"}]},{"openapi":"get /2/users/{id}/followers","title":"Get Followers","href":"/x-api/users/get-followers"},{"openapi":"get /2/users/{id}/following","title":"Get Following","href":"/x-api/users/get-following"},{"openapi":"post /2/users/{id}/following","title":"Follow User","href":"/x-api/users/follow-user"},{"openapi":"delete /2/users/{source_user_id}/following/{target_user_id}","title":"Unfollow User","href":"/x-api/users/unfollow-user"}]},{"group":"Mutes","pages":[{"title":"Mutes","sidebarTitle":"Introduction","href":"/x-api/users/mutes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Manage Mutes","sidebarTitle":"Manage Mutes","href":"/x-api/users/mutes/quickstart/manage-mutes-quickstart"},{"title":"Mutes Lookup","sidebarTitle":"Mutes Lookup","href":"/x-api/users/mutes/quickstart/mutes-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/mutes/integrate"}]},{"openapi":"post /2/users/{id}/muting","title":"Mute User","href":"/x-api/users/mute-user"},{"openapi":"delete /2/users/{source_user_id}/muting/{target_user_id}","title":"Unmute User","href":"/x-api/users/unmute-user"},{"openapi":"get /2/users/{id}/muting","title":"Get Muting","href":"/x-api/users/get-muting"}]},{"group":"Blocks","pages":[{"title":"Blocks","sidebarTitle":"Introduction","href":"/x-api/users/blocks/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/blocks/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/blocks/integrate"}]},{"openapi":"get /2/users/{id}/blocking","title":"Get Blocked Users","href":"/x-api/users/get-blocking"}]},{"group":"Affiliates","pages":[{"openapi":"get /2/users/{id}/affiliates","title":"Get Affiliates","href":"/x-api/users/get-affiliates"}]}]},{"group":"Direct Messages","pages":[{"group":"Manage","pages":[{"title":"Manage Direct Messages","sidebarTitle":"Introduction","href":"/x-api/direct-messages/manage/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/manage/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/manage/integrate"}]},{"openapi":"post /2/dm_conversations","title":"Create DM Conversation","href":"/x-api/direct-messages/create-dm-conversation"},{"openapi":"delete /2/dm_events/{event_id}","title":"Delete DM Event","href":"/x-api/direct-messages/delete-dm-event"},{"openapi":"post /2/dm_conversations/with/{participant_id}/messages","title":"Create DM Message by Participant ID","href":"/x-api/direct-messages/create-dm-message-by-participant-id"},{"openapi":"post /2/dm_conversations/{dm_conversation_id}/messages","title":"Create DM Message by Conversation ID","href":"/x-api/direct-messages/create-dm-message-by-conversation-id"}]},{"group":"Lookup","pages":[{"title":"Direct Messages Lookup","sidebarTitle":"Introduction","href":"/x-api/direct-messages/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/lookup/integrate"}]},{"openapi":"get /2/dm_conversations/with/{participant_id}/dm_events","title":"Get DM Events by Participant ID","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation"},{"openapi":"get /2/dm_conversations/{id}/dm_events","title":"Get DM Events by Conversation ID","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation-1"},{"openapi":"get /2/dm_events","title":"Get DM Events","href":"/x-api/direct-messages/get-dm-events"},{"openapi":"get /2/dm_events/{event_id}","title":"Get DM Event by ID","href":"/x-api/direct-messages/get-dm-event-by-id"},{"openapi":"get /2/dm_conversations/media/{dm_id}/{media_id}/{resource_id}","title":"Download DM Media","href":"/x-api/direct-messages/download-dm-media"}]},{"group":"Blocks","pages":[{"title":"Manage Direct Message blocks on the X API v2","sidebarTitle":"Introduction","href":"/x-api/direct-messages/blocks/introduction"},{"openapi":"post /2/users/{id}/dm/block","title":"Block DMs","href":"/x-api/users/block-dms"},{"openapi":"post /2/users/{id}/dm/unblock","title":"Unblock DMs","href":"/x-api/users/unblock-dms"}]}]},{"group":"Likes","pages":[{"title":"Likes","sidebarTitle":"Introduction","href":"/x-api/posts/likes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Likes Lookup","sidebarTitle":"Likes Lookup","href":"/x-api/posts/likes/quickstart/likes-lookup"},{"title":"Manage Likes","sidebarTitle":"Manage Likes","href":"/x-api/posts/likes/quickstart/manage-likes"}]}]},{"openapi":"get /2/users/{id}/liked_tweets","title":"Get Liked Posts","href":"/x-api/users/get-liked-posts"},{"openapi":"get /2/tweets/{id}/liking_users","title":"Get Liking Users","href":"/x-api/posts/get-liking-users"},{"openapi":"post /2/users/{id}/likes","title":"Like Post","href":"/x-api/users/like-post"},{"openapi":"delete /2/users/{id}/likes/{tweet_id}","title":"Unlike Post","href":"/x-api/users/unlike-post"}]},{"group":"Lists","pages":[{"group":"Lookup Lists","pages":[{"title":"List Lookup","sidebarTitle":"Introduction","href":"/x-api/lists/list-lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/lists/list-lookup/integrate"}]},{"openapi":"get /2/lists/{id}","title":"Get List by ID","href":"/x-api/lists/get-list-by-id"},{"openapi":"get /2/users/{id}/followed_lists","title":"Get Followed Lists","href":"/x-api/users/get-followed-lists"},{"openapi":"get /2/users/{id}/owned_lists","title":"Get Owned Lists","href":"/x-api/users/get-owned-lists"}]},{"group":"Lookup List Posts","pages":[{"title":"List Posts","sidebarTitle":"Introduction","href":"/x-api/lists/list-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-tweets/integrate"}]},{"openapi":"get /2/lists/{id}/tweets","title":"Get List Posts","href":"/x-api/lists/get-list-posts"}]},{"group":"Manage Lists","pages":[{"title":"Manage Lists","sidebarTitle":"Introduction","href":"/x-api/lists/manage-lists/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/manage-lists/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/manage-lists/integrate"}]},{"openapi":"post /2/lists","title":"Create List","href":"/x-api/lists/create-list"},{"openapi":"put /2/lists/{id}","title":"Update List","href":"/x-api/lists/update-list"},{"openapi":"delete /2/lists/{id}","title":"Delete List","href":"/x-api/lists/delete-list"},{"openapi":"post /2/users/{id}/followed_lists","title":"Follow List","href":"/x-api/users/follow-list"},{"openapi":"delete /2/users/{id}/followed_lists/{list_id}","title":"Unfollow List","href":"/x-api/users/unfollow-list"}]},{"group":"List Members","pages":[{"title":"List Members","sidebarTitle":"Introduction","href":"/x-api/lists/list-members/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"List Members Overview","sidebarTitle":"Overview","href":"/x-api/lists/list-members/quickstart/overview"},{"title":"List Members Lookup","sidebarTitle":"List Members Lookup","href":"/x-api/lists/list-members/quickstart/list-members-lookup"},{"title":"Manage List Members","sidebarTitle":"Manage List Members","href":"/x-api/lists/list-members/quickstart/manage-list-members"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-members/integrate"}]},{"group":"Manage","pages":[{"openapi":"post /2/lists/{id}/members","title":"Add List Member","href":"/x-api/lists/add-list-member"},{"openapi":"delete /2/lists/{id}/members/{user_id}","title":"Remove List Member","href":"/x-api/lists/remove-list-member"}]},{"group":"Lookup","pages":[{"openapi":"get /2/users/{id}/list_memberships","title":"Get List Memberships","href":"/x-api/users/get-list-memberships"},{"openapi":"get /2/lists/{id}/followers","title":"Get List Followers","href":"/x-api/lists/get-list-followers"},{"openapi":"get /2/lists/{id}/members","title":"Get List Members","href":"/x-api/lists/get-list-members"}]}]},{"group":"Pinned Lists","pages":[{"title":"Pinned Lists","sidebarTitle":"Introduction","href":"/x-api/lists/pinned-lists/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Pinned Lists Overview","sidebarTitle":"Overview","href":"/x-api/lists/pinned-lists/quickstart/overview"},{"title":"Pinned Lists Lookup","sidebarTitle":"Pinned Lists Lookup","href":"/x-api/lists/pinned-lists/quickstart/pinned-list-lookup"},{"title":"Manage Pinned Lists","sidebarTitle":"Manage Pinned Lists","href":"/x-api/lists/pinned-lists/quickstart/manage-pinned-lists"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/pinned-lists/integrate"}]},{"openapi":"get /2/users/{id}/pinned_lists","title":"Get Pinned Lists","href":"/x-api/users/get-pinned-lists"},{"openapi":"post /2/users/{id}/pinned_lists","title":"Pin List","href":"/x-api/users/pin-list"},{"openapi":"delete /2/users/{id}/pinned_lists/{list_id}","title":"Unpin List","href":"/x-api/users/unpin-list"}]}]},{"group":"Spaces","pages":[{"title":"Spaces endpoints on the X API v2","sidebarTitle":"Introduction","href":"/x-api/spaces/introduction"},{"group":"Spaces Lookup","pages":[{"title":"Spaces Lookup","sidebarTitle":"Introduction","href":"/x-api/spaces/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/lookup/quickstart"}]},{"openapi":"get /2/spaces","title":"Get Spaces by IDs","href":"/x-api/spaces/get-spaces-by-ids"},{"openapi":"get /2/spaces/by/creator_ids","title":"Get Spaces by Creator IDs","href":"/x-api/spaces/get-spaces-by-creator-ids"},{"openapi":"get /2/spaces/{id}","title":"Get Space by ID","href":"/x-api/spaces/get-space-by-id"},{"openapi":"get /2/spaces/{id}/tweets","title":"Get Space Posts","href":"/x-api/spaces/get-space-posts"},{"openapi":"get /2/spaces/{id}/buyers","title":"Get Space Ticket Buyers","href":"/x-api/spaces/get-space-ticket-buyers"}]},{"group":"Search Spaces","pages":[{"title":"Spaces Search","sidebarTitle":"Introduction","href":"/x-api/spaces/search/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/search/quickstart"}]},{"openapi":"get /2/spaces/search","title":"Search Spaces","href":"/x-api/spaces/search-spaces"}]}]},{"group":"Communities","pages":[{"group":"Communities Lookup","pages":[{"title":"Communities Lookup","sidebarTitle":"Introduction","href":"/x-api/communities/lookup/introduction"},{"openapi":"get /2/communities/{id}","title":"Get Community by ID","href":"/x-api/communities/get-community-by-id"}]},{"group":"Search Communities","pages":[{"title":"Communities Search","sidebarTitle":"Introduction","href":"/x-api/communities/search/introduction"},{"openapi":"get /2/communities/search","title":"Search Communities","href":"/x-api/communities/search-communities"}]}]},{"group":"Community Notes","pages":[{"title":"Community Notes API for X API v2","href":"/x-api/community-notes/introduction"},{"title":"Community Notes API quickstart for X API v2","sidebarTitle":"Quickstart","href":"/x-api/community-notes/quickstart"},{"openapi":"get /2/notes/search/posts_eligible_for_notes","title":"Search for Posts Eligible for Community Notes","href":"/x-api/community-notes/search-for-posts-eligible-for-community-notes"},{"openapi":"get /2/notes/search/notes_written","title":"Search for Community Notes Written","href":"/x-api/community-notes/search-for-community-notes-written"},{"openapi":"post /2/notes","title":"Create a Community Note","href":"/x-api/community-notes/create-a-community-note"},{"openapi":"delete /2/notes/{id}","title":"Delete a Community Note","href":"/x-api/community-notes/delete-a-community-note"},{"openapi":"post /2/notes/evaluate","title":"Evaluate a Community Note","href":"/x-api/community-notes/evaluate-a-community-note"}]},{"group":"Trends","pages":[{"group":"Trends","pages":[{"title":"Trends by WOEID","sidebarTitle":"Introduction","href":"/x-api/trends/trends-by-woeid/introduction"},{"openapi":"get /2/trends/by/woeid/{woeid}","title":"Get Trends by WOEID","href":"/x-api/trends/get-trends-by-woeid"}]},{"group":"Personalized Trends","pages":[{"title":"Personalized Trends","sidebarTitle":"Introduction","href":"/x-api/trends/personalized-trends/introduction"},{"openapi":"get /2/users/personalized_trends","title":"Get Personalized Trends","description":"Retrieves personalized trending topics for the authenticated user.","href":"/x-api/trends/get-personalized-trends"}]}]},{"group":"News","pages":[{"title":"News lookup endpoint on the X API v2","sidebarTitle":"Introduction","href":"/x-api/news/introduction"},{"openapi":"get /2/news/{id}","title":"Get News Stories by ID","description":"Retrieves news story by its ID.","href":"/x-api/news/get-news-stories-by-id"},{"openapi":"get /2/news/search","title":"Search News","href":"/x-api/news/search-news"}]},{"group":"Media","pages":[{"title":"Media upload endpoints on the X API v2","sidebarTitle":"Introduction","href":"/x-api/media/introduction"},{"group":"Upload","pages":[{"group":"Guides","pages":[{"title":"Best practices","sidebarTitle":"Best practices","href":"/x-api/media/quickstart/best-practices"},{"title":"Chunked Media Upload","sidebarTitle":"Quickstart","href":"/x-api/media/quickstart/media-upload-chunked"}]},{"openapi":"post /2/media/upload","title":"Upload Media","href":"/x-api/media/upload-media"},{"openapi":"post /2/media/upload/initialize","title":"Initialize Media Upload","href":"/x-api/media/initialize-media-upload"},{"openapi":"post /2/media/upload/{id}/append","title":"Append Media Upload","href":"/x-api/media/append-media-upload"},{"openapi":"post /2/media/upload/{id}/finalize","title":"Finalize Media Upload","href":"/x-api/media/finalize-media-upload"},{"openapi":"get /2/media/upload","title":"Get Media Upload Status","href":"/x-api/media/get-media-upload-status"}]},{"group":"Metadata","pages":[{"openapi":"post /2/media/metadata","title":"Create Media Metadata","href":"/x-api/media/create-media-metadata"},{"openapi":"post /2/media/subtitles","title":"Create Media Subtitles","href":"/x-api/media/create-media-subtitles"},{"openapi":"delete /2/media/subtitles","title":"Delete Media Subtitles","href":"/x-api/media/delete-media-subtitles"}]}]},{"group":"X Activity","pages":[{"title":"X Activity API","sidebarTitle":"Introduction","href":"/x-api/activity/introduction"},{"title":"X Activity API quickstart guide for streaming events","sidebarTitle":"Quickstart","href":"/x-api/activity/quickstart"},{"title":"X Activity API event payload examples","sidebarTitle":"Event payloads","href":"/x-api/activity/event-payloads"},{"title":"X Activity API event pricing","sidebarTitle":"Event Pricing","href":"/x-api/activity/event-pricing"},{"openapi":"get /2/activity/stream","title":"Activity Stream","href":"/x-api/activity/activity-stream"},{"openapi":"post /2/activity/subscriptions","title":"Create X Activity Subscription","href":"/x-api/activity/create-x-activity-subscription"},{"openapi":"delete /2/activity/subscriptions/{subscription_id}","title":"Delete X Activity Subscription","href":"/x-api/activity/deletes-x-activity-subscription"},{"openapi":"delete /2/activity/subscriptions","title":"Delete X Activity Subscriptions by IDs","href":"/x-api/activity/delete-x-activity-subscriptions-by-ids"},{"openapi":"get /2/activity/subscriptions","title":"Get X Activity Subscriptions","href":"/x-api/activity/get-x-activity-subscriptions"},{"openapi":"put /2/activity/subscriptions/{subscription_id}","title":"Update X Activity Subscription","href":"/x-api/activity/update-x-activity-subscription"}]},{"group":"Usage","pages":[{"title":"Usage","sidebarTitle":"Introduction","href":"/x-api/usage/introduction"},{"openapi":"get /2/usage/tweets","title":"Get Usage","href":"/x-api/usage/get-usage"},{"openapi":"get /2/usage/credits","title":"Get Usage Credits","href":"/x-api/usage/get-usage-credits"}]},{"group":"Stream Connections","pages":[{"title":"Stream Connections","sidebarTitle":"Introduction","href":"/x-api/connections/introduction"},{"openapi":"get /2/connections","title":"Get Connection History","href":"/x-api/connections/get-connection-history"},{"openapi":"delete /2/connections/{endpoint_id}","title":"Terminate Connections by Endpoint","href":"/x-api/connections/terminate-connections-by-endpoint"},{"openapi":"delete /2/connections","title":"Terminate Multiple Connections","href":"/x-api/connections/terminate-multiple-connections"},{"openapi":"delete /2/connections/all","title":"Terminate All Connections","href":"/x-api/connections/terminate-all-connections"}]},{"group":"Compliance","pages":[{"group":"Batch Compliance","pages":[{"title":"Batch Compliance","sidebarTitle":"Introduction","href":"/x-api/compliance/batch-compliance/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/compliance/batch-compliance/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/compliance/batch-compliance/integrate"}]},{"openapi":"get /2/compliance/jobs","title":"Get Compliance Jobs","href":"/x-api/compliance/get-compliance-jobs"},{"openapi":"post /2/compliance/jobs","title":"Create Compliance Job","href":"/x-api/compliance/create-compliance-job"},{"openapi":"get /2/compliance/jobs/{id}","title":"Get Compliance Job by ID","href":"/x-api/compliance/get-compliance-job-by-id"}]},{"group":"Compliance streams","pages":[{"title":"Compliance event streams on the X API v2","sidebarTitle":"Introduction","href":"/x-api/compliance/streams/introduction"},{"openapi":"get /2/likes/compliance/stream","title":"Stream Likes Compliance Data","href":"/x-api/stream/stream-likes-compliance-data"},{"openapi":"get /2/tweets/compliance/stream","title":"Stream Posts Compliance Data","href":"/x-api/stream/stream-posts-compliance-data"},{"openapi":"get /2/users/compliance/stream","title":"Stream Users Compliance Data","href":"/x-api/stream/stream-users-compliance-data"}]}]},{"group":"Webhooks","pages":[{"title":"V2 Webhooks API","sidebarTitle":"Introduction","href":"/x-api/webhooks/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/webhooks/quickstart"},{"openapi":"post /2/webhooks","title":"Create Webhook","href":"/x-api/webhooks/create-webhook"},{"openapi":"delete /2/webhooks/{webhook_id}","title":"Delete Webhook","href":"/x-api/webhooks/delete-webhook"},{"openapi":"get /2/webhooks","title":"Get Webhook","href":"/x-api/webhooks/get-webhook"},{"openapi":"put /2/webhooks/{webhook_id}","title":"Validate Webhook","href":"/x-api/webhooks/validate-webhook"},{"openapi":"post /2/webhooks/replay","title":"Create Replay Job for Webhook","href":"/x-api/webhooks/create-replay-job-for-webhook"}]}]},{"dropdown":"Enterprise","icon":"https://mintlify.s3.us-west-1.amazonaws.com/x-preview/icons/xds/icon-bank.svg","groups":[{"group":"Analytics","pages":[{"openapi":"get /2/tweets/analytics","title":"Get Post Analytics","href":"/x-api/posts/get-post-analytics"},{"openapi":"get /2/media/analytics","title":"Get Media Analytics","href":"/x-api/media/get-media-analytics"}]},{"group":"Blocks","pages":[{"openapi":"post /2/users/{id}/blocking","title":"Block User","href":"/x-api/users/block-user"},{"openapi":"delete /2/users/{source_user_id}/blocking/{target_user_id}","title":"Unblock User","href":"/x-api/users/unblock-user"}]},{"group":"Volume Streams","pages":[{"title":"Volume streams (1% sampled and Decahose) on the X API v2","sidebarTitle":"Introduction","href":"/x-api/posts/volume-streams/introduction"},{"openapi":"get /2/tweets/firehose/stream","title":"Stream All Posts","href":"/x-api/stream/stream-all-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/en","title":"Stream English Posts","href":"/x-api/stream/stream-english-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/ja","title":"Stream Japanese Posts","href":"/x-api/stream/stream-japanese-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/ko","title":"Stream Korean Posts","href":"/x-api/stream/stream-korean-posts"},{"openapi":"get /2/tweets/firehose/stream/lang/pt","title":"Stream Portuguese Posts","href":"/x-api/stream/stream-portuguese-posts"},{"openapi":"get /2/tweets/sample/stream","title":"Stream Sampled Posts","href":"/x-api/stream/stream-sampled-posts"},{"openapi":"get /2/tweets/sample10/stream","title":"Stream 10% Sampled Posts","href":"/x-api/stream/stream-10-sampled-posts"}]},{"group":"Likes Streams","pages":[{"title":"Likes Streams","sidebarTitle":"Introduction","href":"/x-api/stream/likes-streams-introduction"},{"openapi":"get /2/likes/firehose/stream","title":"Stream All Likes","href":"/x-api/stream/stream-all-likes"},{"openapi":"get /2/likes/sample10/stream","title":"Stream Sampled Likes","href":"/x-api/stream/stream-sampled-likes"}]},{"group":"Powerstream","pages":[{"title":"Powerstream low-latency streaming API on the X API v2","sidebarTitle":"Introduction","href":"/x-api/powerstream/introduction"},{"title":"Powerstream Operators","sidebarTitle":"Operators","href":"/x-api/powerstream/operators"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/powerstream/handling-disconnections"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/powerstream/recovery-and-redundancy"}]},{"group":"Account Activity","pages":[{"title":"Account Activity API v2 introduction and overview","sidebarTitle":"Introduction","tag":"DEPRECATED","href":"/x-api/account-activity/introduction"},{"title":"Account Activity API quickstart guide","sidebarTitle":"Quickstart","tag":"DEPRECATED","href":"/x-api/account-activity/quickstart"},{"group":"Migration guide","pages":[{"title":"Account Activity API v2 migration guide","tag":"DEPRECATED","href":"/x-api/account-activity/migrate/overview"},{"title":"Migrate from the Account Activity API to the X Activity API","sidebarTitle":"AAA to XAA migration","href":"/x-api/account-activity/migrate/aaa-to-xaa-migration"}]},{"openapi":"post /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Create Subscription","href":"/x-api/account-activity/create-subscription"},{"openapi":"get /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Validate Subscription","href":"/x-api/account-activity/validate-subscription"},{"openapi":"delete /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all","title":"Delete Subscription","href":"/x-api/account-activity/delete-subscription"},{"openapi":"get /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list","title":"Get Subscriptions","href":"/x-api/account-activity/get-subscriptions"},{"openapi":"get /2/account_activity/subscriptions/count","title":"Get Subscription Count","href":"/x-api/account-activity/get-subscription-count"},{"openapi":"post /2/account_activity/replay/webhooks/{webhook_id}/subscriptions/all","title":"Create Account Activity replay job","tag":"DEPRECATED","href":"/x-api/account-activity/create-replay-job"}]},{"group":"Filtered Stream Webhooks","pages":[{"title":"Filtered Stream Webhooks API","sidebarTitle":"Introduction","href":"/x-api/webhooks/stream/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/webhooks/stream/quickstart"},{"openapi":"post /2/tweets/search/webhooks/{webhook_id}","title":"Create Stream Link","href":"/x-api/webhooks/create-stream-link"},{"openapi":"delete /2/tweets/search/webhooks/{webhook_id}","title":"Delete Stream Link","href":"/x-api/webhooks/delete-stream-link"},{"openapi":"get /2/tweets/search/webhooks","title":"Get Stream Links","href":"/x-api/webhooks/get-stream-links"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"product":"Chat API","pages":[{"title":"Chat API","href":"/xchat/introduction"}]},{"product":"Ads API","pages":[{"title":"Ads API","href":"/x-ads-api/introduction"}]},{"product":"Livestream API","pages":[{"title":"Livestream API","href":"/livestream-api/introduction"}]},{"product":"Enterprise","hidden":true,"pages":[{"title":"Enterprise","href":"/enterprise-api/introduction"}]},{"product":"Python XDK","hidden":true,"pages":[{"title":"Python XDK","href":"/xdks/python/overview"}]},{"product":"TypeScript XDK","hidden":true,"pages":[{"title":"TypeScript XDK","href":"/xdks/typescript/overview"}]}]},"basePath":"","title":"News lookup endpoint on the X API v2 - X","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}