Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.
This route is deprecated and will be removed on January 1, 2027, after which it returns 404. Use Get Source by ID (GET /2/sources/:id) instead, which takes the source id rather than the stream key. See the migration guide.
Returns a single source (must be owned by the authenticated user).Endpoint:GET /2/users/:user_id/sources/:source_id:source_id is the source’s stream key (its id on the deprecated routes).
Response
Same shape as an item inside the list response, wrapped:
{ "source": { ... }}
A source that doesn’t exist, or that belongs to another user, returns 404.
Poll this endpoint after starting your encoder to check that video is arriving: is_stream_active becomes true within a few seconds of your encoder connecting.
⌘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":""},"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":"6af9138c8deffcac16fd9c11","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":695},{"language":"default","tag":"X API","count":354},{"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":167},{"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":"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":"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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/x-preview/02879997143147b8/style.css"}],"page":{"pagePath":"livestream-api/sources/get-source","slug":"/livestream-api/sources/get-source","pageMetadata":{"title":"Get Stream Source","sidebarTitle":"Get Stream Source","description":"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.","keywords":["get stream source","GET source","source lookup","deprecated"],"tag":"DEPRECATED","href":"/livestream-api/sources/get-source"},"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: \"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\"\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`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This route is deprecated and will be removed on January 1, 2027`}),`, after which it returns `,_jsx(_components.code,{children:`404`}),`. Use `,_jsx(_components.a,{href:`/livestream-api/sources/get-source-by-id`,children:`Get Source by ID`}),` (`,_jsx(_components.code,{children:`GET /2/sources/:id`}),`) instead, which takes the source id rather than the stream key. See the `,_jsx(_components.a,{href:`/livestream-api/migration-guide`,children:`migration guide`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Returns a single source (must be owned by the authenticated user).`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Endpoint:`}),` `,_jsx(_components.code,{children:`GET /2/users/:user_id/sources/:source_id`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`:source_id`}),` is the source’s stream key (its `,_jsx(_components.code,{children:`id`}),` on the deprecated routes).`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Same shape as an item inside the `,_jsx(_components.a,{href:`/livestream-api/sources/list-sources`,children:`list response`}),`, wrapped:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,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:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},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`,_jsxs(_components.p,{children:[`A source that doesn’t exist, or that belongs to another user, returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Poll this endpoint after starting your encoder to check that video is arriving: `,_jsx(_components.code,{children:`is_stream_active`}),` becomes `,_jsx(_components.code,{children:`true`}),` within a few seconds of your encoder connecting.`]})})]})}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":"Get Stream Source","sidebarTitle":"Get Stream Source","description":"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.","keywords":["get stream source","GET source","source lookup","deprecated"],"tag":"DEPRECATED","href":"/livestream-api/sources/get-source"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","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":"Get Stream Source - X","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T15:28:31.036Z","originalFileLocation":"livestream-api/sources/get-source.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=\"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\">\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=\"Get Stream Source - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/livestream-api/sources/get-source\">\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=\"Get Stream Source - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\">\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/livestream-api/sources/get-source\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/livestream-api/sources/get-source.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/livestream-api/sources/get-source#webpage\",\"url\":\"https://docs.x.com/livestream-api/sources/get-source\",\"name\":\"Get Stream Source\",\"description\":\"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\",\"dateModified\":\"2026-11-06T15:28:31.036Z\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.x.com/livestream-api/sources/get-source#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.x.com/livestream-api/sources/get-source#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Stream Sources\",\"item\":\"https://docs.x.com/livestream-api/sources/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Stream Source\",\"item\":\"https://docs.x.com/livestream-api/sources/get-source\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.x.com/livestream-api/sources/get-source#article\",\"headline\":\"Get Stream Source\",\"name\":\"Get Stream Source\",\"description\":\"Deprecated. GET /2/users/:user_id/sources/:source_id returns a single stream source owned by the authenticated user. Use GET /2/sources/:id instead; this route will be removed on January 1, 2027.\",\"url\":\"https://docs.x.com/livestream-api/sources/get-source\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/livestream-api/sources/get-source#webpage\"},\"image\":\"https://docs.x.com/images/og-default.png\",\"dateModified\":\"2026-11-06T15:28:31.036Z\",\"keywords\":\"get stream source, GET source, source lookup, deprecated\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>","agentPointerHref":"/livestream-api/sources/get-source.md","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","pages":[{"title":"X API","href":"/overview"}]},{"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","tabs":[{"tab":"Documentation","groups":[{"group":"Overview","pages":[{"title":"Livestream API","sidebarTitle":"Introduction","href":"/livestream-api/introduction"},{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/livestream-api/getting-started"},{"title":"Typical Workflow","sidebarTitle":"Typical Workflow","href":"/livestream-api/typical-workflow"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/livestream-api/authentication"},{"title":"Migrating to the /2/sources and /2/broadcasts routes","sidebarTitle":"Migration Guide","href":"/livestream-api/migration-guide"},{"title":"Livestream API SKILL.md","sidebarTitle":"SKILL.md","href":"/livestream-api/skill-md"}]},{"group":"Stream Sources","pages":[{"title":"Stream Source Management","sidebarTitle":"Overview","href":"/livestream-api/sources/overview"},{"title":"Get Recommended Region","sidebarTitle":"Get Recommended Region","openapi":"get /2/region","href":"/livestream-api/sources/get-recommended-region"},{"title":"Create a Source","sidebarTitle":"Create a Source","openapi":"post /2/sources","href":"/livestream-api/sources/create-a-source"},{"title":"Get Sources","sidebarTitle":"Get Sources","openapi":"get /2/sources","href":"/livestream-api/sources/get-sources"},{"title":"Get Source by ID","sidebarTitle":"Get Source by ID","openapi":"get /2/sources/{id}","href":"/livestream-api/sources/get-source-by-id"},{"title":"Get Source Stream Key","sidebarTitle":"Get Source Stream Key","openapi":"get /2/sources/{id}/stream_key","href":"/livestream-api/sources/get-source-stream-key"},{"title":"Update Source by ID","sidebarTitle":"Update Source by ID","openapi":"put /2/sources/{id}","href":"/livestream-api/sources/update-source-by-id"},{"title":"Delete Source by ID","sidebarTitle":"Delete Source by ID","openapi":"delete /2/sources/{id}","href":"/livestream-api/sources/delete-source-by-id"},{"title":"Create Stream Source","sidebarTitle":"Create Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/create-source"},{"title":"List Stream Sources","sidebarTitle":"List Stream Sources","description":"Deprecated. GET /2/users/:user_id/sources returns all stream sources owned by the user. Use GET /2/sources instead; this route will be removed on January 1, 2027.","tag":"DEPRECATED","href":"/livestream-api/sources/list-sources"},{"title":"Get Stream Source","sidebarTitle":"Get Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/get-source"},{"title":"Update Stream Source","sidebarTitle":"Update Stream Source","description":"Deprecated. PUT /2/users/:user_id/sources/:source_id renames a stream source. Use PUT /2/sources/:id instead; this route will be removed on January 1, 2027.","tag":"DEPRECATED","href":"/livestream-api/sources/update-source"},{"title":"Delete Stream Source","sidebarTitle":"Delete Stream Source","tag":"DEPRECATED","href":"/livestream-api/sources/delete-source"}]},{"group":"Broadcasts","pages":[{"title":"Broadcast Lifecycle","sidebarTitle":"Overview","href":"/livestream-api/broadcasts/overview"},{"title":"Go Live","sidebarTitle":"Go Live","openapi":"post /2/broadcasts","href":"/livestream-api/broadcasts/go-live"},{"title":"Get Broadcasts","sidebarTitle":"Get Broadcasts","openapi":"get /2/broadcasts","href":"/livestream-api/broadcasts/get-broadcasts"},{"title":"Get Broadcast by ID","sidebarTitle":"Get Broadcast by ID","openapi":"get /2/broadcasts/{id}","href":"/livestream-api/broadcasts/get-broadcast-by-id"},{"title":"End Broadcast","sidebarTitle":"End Broadcast","openapi":"put /2/broadcasts/{id}/state","href":"/livestream-api/broadcasts/end-broadcast"},{"title":"Delete Broadcast by ID","sidebarTitle":"Delete Broadcast by ID","openapi":"delete /2/broadcasts/{id}","href":"/livestream-api/broadcasts/delete-broadcast-by-id"},{"title":"Create Broadcast","sidebarTitle":"Create Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/create-broadcast"},{"title":"Publish (Go Live) or End a Broadcast","sidebarTitle":"Publish or End Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/publish-or-end-broadcast"},{"title":"List Broadcasts","sidebarTitle":"List Broadcasts","tag":"DEPRECATED","href":"/livestream-api/broadcasts/list-broadcasts"},{"title":"Get Broadcast","sidebarTitle":"Get Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/get-broadcast"},{"title":"Delete Broadcast","sidebarTitle":"Delete Broadcast","tag":"DEPRECATED","href":"/livestream-api/broadcasts/delete-broadcast"}]},{"group":"Scheduled Broadcasts","pages":[{"title":"Livestream Scheduling API","sidebarTitle":"Overview","href":"/livestream-api/scheduled-broadcasts/overview"},{"title":"Create a Scheduled Broadcast","sidebarTitle":"Create Scheduled Broadcast","openapi":"post /2/broadcasts/scheduled","href":"/livestream-api/scheduled-broadcasts/create-scheduled-broadcast"},{"title":"List Scheduled Broadcasts","sidebarTitle":"List Scheduled Broadcasts","openapi":"get /2/broadcasts/scheduled","href":"/livestream-api/scheduled-broadcasts/list-scheduled-broadcasts"},{"title":"Get a Scheduled Broadcast","sidebarTitle":"Get Scheduled Broadcast","openapi":"get /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/get-scheduled-broadcast"},{"title":"Update a Scheduled Broadcast","sidebarTitle":"Update Scheduled Broadcast","openapi":"put /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/update-scheduled-broadcast"},{"title":"Delete a Scheduled Broadcast","sidebarTitle":"Delete Scheduled Broadcast","openapi":"delete /2/broadcasts/scheduled/{id}","href":"/livestream-api/scheduled-broadcasts/delete-scheduled-broadcast"},{"title":"Go Live on a Scheduled Broadcast","sidebarTitle":"Go Live","openapi":"post /2/broadcasts/scheduled/{id}/live","href":"/livestream-api/scheduled-broadcasts/go-live"}]},{"group":"Live Chat","pages":[{"title":"Accessing Live Chat","sidebarTitle":"Accessing Live Chat","href":"/livestream-api/chat/accessing-live-chat"},{"title":"Get Chat History","sidebarTitle":"Get Chat History","openapi":"get /2/broadcasts/{id}/chat","href":"/livestream-api/chat/get-chat-history"},{"title":"Send a Chat Message","sidebarTitle":"Send a Chat Message","openapi":"post /2/broadcasts/{id}/chat","href":"/livestream-api/chat/send-chat-message"},{"title":"Mute a Chat User","sidebarTitle":"Mute a Chat User","openapi":"post /2/broadcasts/chat/mutes","href":"/livestream-api/chat/mute-user"},{"title":"Unmute a Chat User","sidebarTitle":"Unmute a Chat User","openapi":"delete /2/broadcasts/chat/mutes/{user_id}","href":"/livestream-api/chat/unmute-user"},{"title":"List Muted Chat Users","sidebarTitle":"List Muted Chat Users","openapi":"get /2/broadcasts/chat/mutes","href":"/livestream-api/chat/list-muted-chat-users"},{"title":"Mute a Chat User by Broadcast ID","sidebarTitle":"Mute a Chat User by Broadcast ID","openapi":"post /2/broadcasts/{id}/chat/mutes","tag":"DEPRECATED","href":"/livestream-api/chat/mute-chat-user"},{"title":"Unmute a Chat User by Broadcast ID","sidebarTitle":"Unmute a Chat User by Broadcast ID","openapi":"delete /2/broadcasts/{id}/chat/mutes/{user_id}","tag":"DEPRECATED","href":"/livestream-api/chat/unmute-chat-user"},{"title":"Delete a Chat Message","sidebarTitle":"Delete a Chat Message","openapi":"delete /2/broadcasts/{id}/chat/{message_id}","href":"/livestream-api/chat/delete-chat-message"},{"title":"List Broadcast Moderators","sidebarTitle":"List Broadcast Moderators","openapi":"get /2/broadcasts/chat/moderators","href":"/livestream-api/chat/list-moderators"},{"title":"Add a Broadcast Moderator","sidebarTitle":"Add a Broadcast Moderator","openapi":"post /2/broadcasts/chat/moderators","href":"/livestream-api/chat/add-moderator"},{"title":"Remove a Broadcast Moderator","sidebarTitle":"Remove a Broadcast Moderator","openapi":"delete /2/broadcasts/chat/moderators/{user_id}","href":"/livestream-api/chat/remove-moderator"}]}]}]},{"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":"Get Stream Source - X","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}