{
"error": {
"code": "BAD_REQUEST",
"message": "The request was invalid.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source is temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
YouTube
Search
Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist’s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube’s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (“Shorts”, “Latest from …”, an artist’s card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.
GET
/
v1
/
youtube
/
search
Search
curl --request GET \ --url https://api.scraperize.com/v1/youtube/search \ --header 'x-api-key: <api-key>'
{
"error": {
"code": "BAD_REQUEST",
"message": "The request was invalid.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source is temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}
Cost: 1 credit per successful request. Errors and cache hits (cache_max_age) are free.
Copy for AI assistant
Paste this into ChatGPT, Claude or your coding assistant to generate working code for this endpoint (use the copy button).
Prompt
I want to make an API call to /v1/youtube/search. Here are the details:Endpoint: GET https://api.scraperize.com/v1/youtube/searchDescription: Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf ("Shorts", "Latest from …", an artist's card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.Required Headers:- x-api-key: Your API keyParameters:- query (string) [required]: What to search for.- uploadDate (select): Only results uploaded in this period. Not for `type=channels` or `type=playlists`.- sortBy (select): `relevance` (default) or `popular` (most viewed first).- type (select): Only this kind of result. Omit for everything YouTube shows.- duration (select): Only videos of this length. Videos only: use it without `type` or with `type=videos`.- region (select): The country to search from, as a two-letter code (ISO 3166-1) — YouTube ranks results for the viewer's country. Omit for the default.- cursor (string): The `cursor` from the previous page, to get the next one (it keeps the filters and region). Omit for the first page.- cache_max_age (select): Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.Example Response:{ "data": { "query": "lofi hip hop", "region": null, "filters": { "uploadDate": null, "sortBy": "relevance", "type": null, "duration": null }, "showingResultsFor": null, "includingResultsFor": null, "hashtag": null, "estimatedResults": 11370869, "results": [ { "type": "playlist", "kind": "mix", "id": "RDATfmbG9maSBoaXAgaG9w", "url": "https://www.youtube.com/playlist?list=RDATfmbG9maSBoaXAgaG9w", "title": "Mix • Lofi hip hop", "videoCount": null, "channelName": "Академия глубокой релаксации, Kudasaibeats, RŮDE, and more", "channelId": null, "firstVideoId": "R8om0QifqII", "thumbnailUrl": "https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ", "thumbnails": [ { "url": "https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ", "width": 480, "height": 270 } ], "position": 1, "shelfTitle": null } ], "counts": { "video": 14, "short": 25, "live": 5, "channel": 0, "playlist": 1 }, "count": 45, "cursor": "eyJrIjoibG9maSBoaXAgaG9wIiwiYyI6IkVxMERFZ3hzYjJacElHaHBjQ0JvYjNBYW5BTlRRbE5EUVZKYVUxSkZSbFZhYlRGcFVucHNkRmxXVGtOaU1rWlpVVmRrYUZKNmJETm5aMFZNWW1wWmVGWlZlRVpXVkdS…", "hasMore": true, "fetchedAt": "2026-11-05T19:15:07.802Z" }, "meta": { "requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f", "creditsCharged": 1, "creditsRemaining": 4999, "cached": false }}Please help me write code in my preferred programming language to make this API call and handle the response appropriately. Include error handling and best practices.
Optional. Return a cached result if one this age or newer exists — served for 0 credits with meta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scraperize","description":"Extract public data from social media platforms as clean JSON.","colors":{"primary":"#2f76ef","light":"#6099f4","dark":"#205ecd"},"logo":{"light":"https://mintcdn.com/alakowe-technology/axLUKEL7Qhhi3iwd/images/logo.svg?fit=max\u0026auto=format\u0026n=axLUKEL7Qhhi3iwd\u0026q=85\u0026s=ad1c0e75cd9b11245dbbb91fed19d29a","dark":"https://mintcdn.com/alakowe-technology/axLUKEL7Qhhi3iwd/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=axLUKEL7Qhhi3iwd\u0026q=85\u0026s=b948c7b148e25b9f5d24ef25553facba"},"favicon":"https://mintcdn.com/alakowe-technology/axLUKEL7Qhhi3iwd/images/favicon.svg?fit=max\u0026auto=format\u0026n=axLUKEL7Qhhi3iwd\u0026q=85\u0026s=433104280d9aff50df4b21078951d6ee","api":{"playground":{"proxy":false}},"navbar":{"links":[{"href":"https://app.scraperize.com","label":"Dashboard"}],"primary":{"type":"button","label":"Get your API key","href":"https://app.scraperize.com"}},"footer":{"socials":{"website":"https://scraperize.com","x":"https://x.com/scraperize"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Copy MCP server URL","description":"Get https://api.scraperize.com/mcp and setup steps","icon":"plug","href":"https://docs.scraperize.com/integrations/mcp"},{"title":"Connect to Cursor","description":"Install the Scraperize MCP server in Cursor","icon":"/images/clients/cursor.svg","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=scraperize\u0026config=eyJ1cmwiOiJodHRwczovL2FwaS5zY3JhcGVyaXplLmNvbS9tY3AifQ=="},{"title":"Connect to VS Code","description":"Install the Scraperize MCP server in VS Code","icon":"/images/clients/vscode.svg","href":"https://vscode.dev/redirect/mcp/install?name=scraperize\u0026config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.scraperize.com%2Fmcp%22%7D"},{"title":"View OpenAPI JSON","description":"Open the endpoint OpenAPI spec","icon":"brackets-curly","href":"https://docs.scraperize.com/api-reference/openapi.json"}],"display":"header"},"markdown":{"schema":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alakowe-technology","hasAudioNarration":false,"actualSubdomain":"alakowe-technology","customDomains":["docs.scraperize.com"],"gitSource":{"type":"github","owner":"samuelcody","repo":"scraperize-web","deployBranch":"master","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aef4515ec2091b7c464d720","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":116},{"language":"default","tag":"TikTok","count":19},{"language":"default","tag":"YouTube","count":17},{"language":"default","tag":"Documentation","count":11},{"language":"default","tag":"Instagram","count":11},{"language":"default","tag":"Facebook","count":10},{"language":"default","tag":"Lagos Life","count":9},{"language":"default","tag":"Reddit","count":7},{"language":"default","tag":"Core concepts","count":5},{"language":"default","tag":"LinkedIn","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/youtube/search","slug":"/api-reference/youtube/search","pageMetadata":{"title":"Search","description":"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\"Shorts\", \"Latest from …\", an artist's card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/search","href":"/api-reference/youtube/search","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist’s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube’s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with \", _jsx(_components.code, {\n children: \"region\"\n }), \". Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (“Shorts”, “Latest from …”, an artist’s card) say which. When YouTube corrects a misspelt query, \", _jsx(_components.code, {\n children: \"showingResultsFor\"\n }), \" says what it searched instead. Pass the returned \", _jsx(_components.code, {\n children: \"cursor\"\n }), \" back (with the same query) for the next page. Only publicly available data is returned.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Info}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cost: 1 credit`}),` per successful request. Errors and cache hits (`,_jsx(_components.code,{children:`cache_max_age`}),`) are free.`]})}),`\n`,_jsxs(Accordion,{title:`Copy for AI assistant`,icon:`sparkles`,id:`copy-for-ai-assistant`,children:[_jsx(_components.p,{children:`Paste this into ChatGPT, Claude or your coding assistant to generate working code for this endpoint (use the copy button).`}),_jsx(CodeBlock,{filename:`Prompt`,numberOfLines:`78`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`78`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I want to make an API call to /v1/youtube/search. Here are the details:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Endpoint: GET https://api.scraperize.com/v1/youtube/search`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:'Description: Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist\\'s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube\\'s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\"Shorts\", \"Latest from …\", an artist\\'s card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.'})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Required Headers:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- x-api-key: Your API key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Parameters:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- query (string) [required]: What to search for.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"- uploadDate (select): Only results uploaded in this period. Not for `type=channels` or `type=playlists`.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"- sortBy (select): `relevance` (default) or `popular` (most viewed first).\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- type (select): Only this kind of result. Omit for everything YouTube shows.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"- duration (select): Only videos of this length. Videos only: use it without `type` or with `type=videos`.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- region (select): The country to search from, as a two-letter code (ISO 3166-1) — YouTube ranks results for the viewer's country. Omit for the default.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"- cursor (string): The `cursor` from the previous page, to get the next one (it keeps the filters and region). Omit for the first page.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"- cache_max_age (select): Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Example Response:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"query\": \"lofi hip hop\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"region\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"filters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"uploadDate\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"sortBy\": \"relevance\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"type\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duration\": null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"showingResultsFor\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"includingResultsFor\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"hashtag\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"estimatedResults\": 11370869,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"results\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"type\": \"playlist\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"kind\": \"mix\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"id\": \"RDATfmbG9maSBoaXAgaG9w\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"url\": \"https://www.youtube.com/playlist?list=RDATfmbG9maSBoaXAgaG9w\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"title\": \"Mix • Lofi hip hop\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"videoCount\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"channelName\": \"Академия глубокой релаксации, Kudasaibeats, RŮDE, and more\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"channelId\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"firstVideoId\": \"R8om0QifqII\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"thumbnailUrl\": \"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"thumbnails\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"url\": \"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"width\": 480,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"height\": 270`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"position\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"shelfTitle\": null`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"counts\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"video\": 14,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"short\": 25,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"live\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"channel\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"playlist\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"count\": 45,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"cursor\": \"eyJrIjoibG9maSBoaXAgaG9wIiwiYyI6IkVxMERFZ3hzYjJacElHaHBjQ0JvYjNBYW5BTlRRbE5EUVZKYVUxSkZSbFZhYlRGcFVucHNkRmxXVGtOaU1rWlpVVmRrYUZKNmJETm5aMFZNWW1wWmVGWlZlRVpXVkdS…\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"hasMore\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"fetchedAt\": \"2026-11-05T19:15:07.802Z\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"meta\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"requestId\": \"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"creditsCharged\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"creditsRemaining\": 4999,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"cached\": false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Please help me write code in my preferred programming language to make this API call and handle the response appropriately. Include error handling and best practices.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Search","description":"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\"Shorts\", \"Latest from …\", an artist's card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/search","href":"/api-reference/youtube/search","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["YouTube"],"summary":"Search","description":"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\"Shorts\", \"Latest from …\", an artist's card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.","parameters":["38867574-e4cd-4ada-9fa9-6b56f99b2b7e","09d5fd10-5029-4909-8668-b7cc8a5a44e7","898a853b-93dc-4626-852a-06be8060a90c","53fef50d-cace-4be4-a399-688b2cc8cf6f","659cf5cf-d03c-49b8-8042-d457c27aef30","98830b86-0b43-40e5-a601-4b4ab8c0e641","bdccf49d-19b8-48b9-8d5f-89a272729a8f","e9085a8b-5032-4b12-9df4-8a534b384548"],"responses":{"200":"c788bb1c-800c-42b4-beb1-63d669996d6e","400":"2b56189e-1b7e-4af8-b3e2-d2a3eea84964","401":"7be799df-d7f8-4657-82b0-31daafd99046","402":"0377cb99-ad0d-4ac0-9547-50f60d659829","422":"841c0506-04ac-4ba4-a335-565e6233241d","429":"248f256a-f709-4e14-80bc-6b1dcbcf4f50","503":"ce94c323-bad4-4df8-9af2-edad777a736e"},"x-mint":{"content":"\u003cInfo>\n**Cost: 1 credit** per successful request. Errors and cache hits (`cache_max_age`) are free.\n\u003c/Info>\n\n\u003cAccordion title=\"Copy for AI assistant\" icon=\"sparkles\">\nPaste this into ChatGPT, Claude or your coding assistant to generate working code for this endpoint (use the copy button).\n\n````text Prompt\nI want to make an API call to /v1/youtube/search. Here are the details:\n\nEndpoint: GET https://api.scraperize.com/v1/youtube/search\nDescription: Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with `region`. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\"Shorts\", \"Latest from …\", an artist's card) say which. When YouTube corrects a misspelt query, `showingResultsFor` says what it searched instead. Pass the returned `cursor` back (with the same query) for the next page. Only publicly available data is returned.\n\nRequired Headers:\n- x-api-key: Your API key\n\nParameters:\n- query (string) [required]: What to search for.\n- uploadDate (select): Only results uploaded in this period. Not for `type=channels` or `type=playlists`.\n- sortBy (select): `relevance` (default) or `popular` (most viewed first).\n- type (select): Only this kind of result. Omit for everything YouTube shows.\n- duration (select): Only videos of this length. Videos only: use it without `type` or with `type=videos`.\n- region (select): The country to search from, as a two-letter code (ISO 3166-1) — YouTube ranks results for the viewer's country. Omit for the default.\n- cursor (string): The `cursor` from the previous page, to get the next one (it keeps the filters and region). Omit for the first page.\n- cache_max_age (select): Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.\n\nExample Response:\n{\n \"data\": {\n \"query\": \"lofi hip hop\",\n \"region\": null,\n \"filters\": {\n \"uploadDate\": null,\n \"sortBy\": \"relevance\",\n \"type\": null,\n \"duration\": null\n },\n \"showingResultsFor\": null,\n \"includingResultsFor\": null,\n \"hashtag\": null,\n \"estimatedResults\": 11370869,\n \"results\": [\n {\n \"type\": \"playlist\",\n \"kind\": \"mix\",\n \"id\": \"RDATfmbG9maSBoaXAgaG9w\",\n \"url\": \"https://www.youtube.com/playlist?list=RDATfmbG9maSBoaXAgaG9w\",\n \"title\": \"Mix • Lofi hip hop\",\n \"videoCount\": null,\n \"channelName\": \"Академия глубокой релаксации, Kudasaibeats, RŮDE, and more\",\n \"channelId\": null,\n \"firstVideoId\": \"R8om0QifqII\",\n \"thumbnailUrl\": \"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ\",\n \"thumbnails\": [\n {\n \"url\": \"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ\",\n \"width\": 480,\n \"height\": 270\n }\n ],\n \"position\": 1,\n \"shelfTitle\": null\n }\n ],\n \"counts\": {\n \"video\": 14,\n \"short\": 25,\n \"live\": 5,\n \"channel\": 0,\n \"playlist\": 1\n },\n \"count\": 45,\n \"cursor\": \"eyJrIjoibG9maSBoaXAgaG9wIiwiYyI6IkVxMERFZ3hzYjJacElHaHBjQ0JvYjNBYW5BTlRRbE5EUVZKYVUxSkZSbFZhYlRGcFVucHNkRmxXVGtOaU1rWlpVVmRrYUZKNmJETm5aMFZNWW1wWmVGWlZlRVpXVkdS…\",\n \"hasMore\": true,\n \"fetchedAt\": \"2026-11-05T19:15:07.802Z\"\n },\n \"meta\": {\n \"requestId\": \"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f\",\n \"creditsCharged\": 1,\n \"creditsRemaining\": 4999,\n \"cached\": false\n }\n}\n\nPlease help me write code in my preferred programming language to make this API call and handle the response appropriately. Include error handling and best practices.\n````\n\u003c/Accordion>"},"x-credits":1,"method":"get","type":"path","servers":["87174df2-499b-47ec-9f0f-d417df04ca5b"],"security":["dc513ba9-30ee-4c24-8759-e8b79dc35b73"],"path":"/v1/youtube/search","baseUrlOptions":["https://api.scraperize.com"],"title":"Search","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"38867574-e4cd-4ada-9fa9-6b56f99b2b7e":{"name":"query","in":"query","required":true,"description":"What to search for.","schema":{"type":"string","isRequired":true,"description":"What to search for.","uniqueKey":"","typeLabel":"string"},"example":"lofi hip hop"},"09d5fd10-5029-4909-8668-b7cc8a5a44e7":{"name":"uploadDate","in":"query","required":false,"description":"Only results uploaded in this period. Not for `type=channels` or `type=playlists`.","schema":{"type":"string","enum":["today","this-week","this-month","this-year"],"isRequired":false,"description":"Only results uploaded in this period. Not for `type=channels` or `type=playlists`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"898a853b-93dc-4626-852a-06be8060a90c":{"name":"sortBy","in":"query","required":false,"description":"`relevance` (default) or `popular` (most viewed first).","schema":{"type":"string","enum":["relevance","popular"],"default":"relevance","isRequired":false,"description":"`relevance` (default) or `popular` (most viewed first).","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"53fef50d-cace-4be4-a399-688b2cc8cf6f":{"name":"type","in":"query","required":false,"description":"Only this kind of result. Omit for everything YouTube shows.","schema":{"type":"string","enum":["videos","shorts","channels","playlists"],"isRequired":false,"description":"Only this kind of result. Omit for everything YouTube shows.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"659cf5cf-d03c-49b8-8042-d457c27aef30":{"name":"duration","in":"query","required":false,"description":"Only videos of this length. Videos only: use it without `type` or with `type=videos`.","schema":{"type":"string","enum":["under-3-min","between-3-and-20-min","over-20-min"],"isRequired":false,"description":"Only videos of this length. Videos only: use it without `type` or with `type=videos`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"98830b86-0b43-40e5-a601-4b4ab8c0e641":{"name":"region","in":"query","required":false,"description":"The country to search from, as a two-letter code (ISO 3166-1) — YouTube ranks results for the viewer's country. Omit for the default.","schema":{"type":"string","enum":["AL","DZ","AR","AU","AT","AZ","BY","BE","BO","BR","KH","CM","CA","CL","CO","CR","CZ","EG","FR","DE","GH","GR","HK","IS","IE","IL","IT","JM","JP","KZ","KE","KW","LI","LT","LU","MX","MA","MZ","NA","NL","NG","MK","NO","PA","PE","PH","PT","PR","RO","SA","SG","ZA","KR","ES","SE","CH","TW","TH","TT","TN","TR","UG","UA","AE","GB","US","UY","UZ","VE"],"x-enumNames":["Albania (AL)","Algeria (DZ)","Argentina (AR)","Australia (AU)","Austria (AT)","Azerbaijan (AZ)","Belarus (BY)","Belgium (BE)","Bolivia (BO)","Brazil (BR)","Cambodia (KH)","Cameroon (CM)","Canada (CA)","Chile (CL)","Colombia (CO)","Costa Rica (CR)","Czechia (CZ)","Egypt (EG)","France (FR)","Germany (DE)","Ghana (GH)","Greece (GR)","Hong Kong (HK)","Iceland (IS)","Ireland (IE)","Israel (IL)","Italy (IT)","Jamaica (JM)","Japan (JP)","Kazakhstan (KZ)","Kenya (KE)","Kuwait (KW)","Liechtenstein (LI)","Lithuania (LT)","Luxembourg (LU)","Mexico (MX)","Morocco (MA)","Mozambique (MZ)","Namibia (NA)","Netherlands (NL)","Nigeria (NG)","North Macedonia (MK)","Norway (NO)","Panama (PA)","Peru (PE)","Philippines (PH)","Portugal (PT)","Puerto Rico (PR)","Romania (RO)","Saudi Arabia (SA)","Singapore (SG)","South Africa (ZA)","South Korea (KR)","Spain (ES)","Sweden (SE)","Switzerland (CH)","Taiwan (TW)","Thailand (TH)","Trinidad and Tobago (TT)","Tunisia (TN)","Türkiye (TR)","Uganda (UG)","Ukraine (UA)","United Arab Emirates (AE)","United Kingdom (GB)","United States (US)","Uruguay (UY)","Uzbekistan (UZ)","Venezuela (VE)"],"isRequired":false,"description":"The country to search from, as a two-letter code (ISO 3166-1) — YouTube ranks results for the viewer's country. Omit for the default.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"bdccf49d-19b8-48b9-8d5f-89a272729a8f":{"name":"cursor","in":"query","required":false,"description":"The `cursor` from the previous page, to get the next one (it keeps the filters and region). Omit for the first page.","schema":{"type":"string","isRequired":false,"description":"The `cursor` from the previous page, to get the next one (it keeps the filters and region). Omit for the first page.","uniqueKey":"","typeLabel":"string"}},"e9085a8b-5032-4b12-9df4-8a534b384548":{"name":"cache_max_age","in":"query","required":false,"description":"Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.","schema":{"type":"string","enum":["1d","3d","7d","14d","30d"],"isRequired":false,"description":"Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"7d"}},"responses":{"c788bb1c-800c-42b4-beb1-63d669996d6e":{"description":"One page of results (empty when nothing matches).","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"query":{"type":"string","uniqueKey":"data.query","typeLabel":"string"},"region":{"oneOf":[{"type":"string","uniqueKey":"data.region.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.region","typeLabel":"string | null"},"filters":{"type":"object","uniqueKey":"data.filters","typeLabel":"object"},"showingResultsFor":{"oneOf":[{"type":"string","uniqueKey":"data.showingResultsFor.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.showingResultsFor.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.showingResultsFor","typeLabel":"string | null"},"includingResultsFor":{"oneOf":[{"type":"string","uniqueKey":"data.includingResultsFor.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.includingResultsFor.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.includingResultsFor","typeLabel":"string | null"},"hashtag":{"oneOf":[{"type":"object","uniqueKey":"data.hashtag.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.hashtag.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.hashtag","typeLabel":"object | null"},"estimatedResults":{"oneOf":[{"type":"integer","uniqueKey":"data.estimatedResults.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.estimatedResults.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.estimatedResults","typeLabel":"integer | null"},"results":{"type":"array","items":{"type":"object","uniqueKey":"data.results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.results","typeLabel":"object[]"},"counts":{"type":"object","uniqueKey":"data.counts","typeLabel":"object"},"count":{"type":"integer","uniqueKey":"data.count","typeLabel":"integer"},"cursor":{"oneOf":[{"type":"string","uniqueKey":"data.cursor.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.cursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.cursor","typeLabel":"string | null"},"hasMore":{"type":"boolean","uniqueKey":"data.hasMore","typeLabel":"boolean"},"fetchedAt":{"type":"string","format":"date-time","uniqueKey":"data.fetchedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","description":"requestId + credit/caching metadata (creditsCharged, creditsRemaining, cached, cachedAt).","isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["data","meta"],"uniqueKey":"","typeLabel":"object"},"example":{"data":{"query":"lofi hip hop","region":null,"filters":{"uploadDate":null,"sortBy":"relevance","type":null,"duration":null},"showingResultsFor":null,"includingResultsFor":null,"hashtag":null,"estimatedResults":11370869,"results":[{"type":"playlist","kind":"mix","id":"RDATfmbG9maSBoaXAgaG9w","url":"https://www.youtube.com/playlist?list=RDATfmbG9maSBoaXAgaG9w","title":"Mix • Lofi hip hop","videoCount":null,"channelName":"Академия глубокой релаксации, Kudasaibeats, RŮDE, and more","channelId":null,"firstVideoId":"R8om0QifqII","thumbnailUrl":"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ","thumbnails":[{"url":"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ","width":480,"height":270}],"position":1,"shelfTitle":null},{"type":"video","id":"n61ULEU7CO0","url":"https://www.youtube.com/watch?v=n61ULEU7CO0","title":"Best of lofi hip hop 2021 ✨ [beats to relax/study to]","descriptionSnippet":"Listen on Spotify, Apple music and more → https://fanlink.tv/BestofLofi2021 The new Lofi Girl compilation “Best of 2021” is out now ...","viewCount":58551430,"viewCountText":"58,551,430 views","concurrentViewers":null,"publishedText":"4 years ago","wasLive":false,"durationSeconds":22258,"durationText":"6:10:58","badges":["1 product"],"channelId":"UCSJ4gkVC6NrvII8umztf0Ow","channelName":"Lofi Girl","channelHandle":null,"isChannelVerified":true,"thumbnailUrl":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAi4TCpAtbxLFIBULRlcZHudl1uFw","thumbnails":[{"url":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAi4TCpAtbxLFIBULRlcZHudl1uFw","width":720,"height":404},{"url":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLBsbMTx1evh72jfc4JDtfDXYVhYNg","width":360,"height":202}],"previewUrl":"https://i.ytimg.com/an_webp/n61ULEU7CO0/mqdefault_6s.webp?du=3000\u0026sqp=CICLs9cG\u0026rs=AOn4CLBirO-GQGnSLhV-m_dz0O2g1dEFRQ","frameUrl":null,"collaborators":[],"position":2,"shelfTitle":null},{"type":"live","id":"rFZHOHl-L8A","url":"https://www.youtube.com/watch?v=rFZHOHl-L8A","title":"lofi hip hop radio 📚 beats to relax/study to","descriptionSnippet":"Spooky season is officially upon us 2026 Halloween playlist available now: https://lnk.to/halloween-lofi02 | Listen on Spotify, ...","viewCount":null,"viewCountText":"10,197 watching","concurrentViewers":10197,"publishedText":null,"wasLive":false,"durationSeconds":null,"durationText":null,"badges":["LIVE","24 products"],"channelId":"UCSJ4gkVC6NrvII8umztf0Ow","channelName":"Lofi Girl","channelHandle":null,"isChannelVerified":true,"thumbnailUrl":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLCdekX1ygqqUJynjbliA5ayfR7tlw","thumbnails":[{"url":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLCdekX1ygqqUJynjbliA5ayfR7tlw","width":720,"height":404},{"url":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLDN3Yy-Dw3B9x_HYcTaGXq7gEVppA","width":360,"height":202}],"previewUrl":null,"frameUrl":null,"collaborators":[],"position":3,"shelfTitle":null}],"counts":{"video":14,"short":25,"live":5,"channel":0,"playlist":1},"count":45,"cursor":"eyJrIjoibG9maSBoaXAgaG9wIiwiYyI6IkVxMERFZ3hzYjJacElHaHBjQ0JvYjNBYW5BTlRRbE5EUVZKYVUxSkZSbFZhYlRGcFVucHNkRmxXVGtOaU1rWlpVVmRrYUZKNmJETm5aMFZNWW1wWmVGWlZlRVpXVkdSRVZIcERRMEZSZEhsU2JIQkpWREJvYzB4VmR6UlJXVWxDUXpCT1RWcFdjRFZUVld4RlQxVktkbWRuUlV4UldGb3hXakprU2xNeFRrVlNSVmREUVZGMGMxWkdTbkJrVlZwS1ZqRlpNVTVKU1VKRE1FbzFWMnRrTVUxcVNUVk1XR3hDWjJkRlRGRllTbkpOVjJoeFlVWkdUbVZJVDBOQlVYUTJWbnBXTTJORmNGcE5XRXB1VlZsSlFrTXdUa2RTTUhoMlZWVnNiMkpYT1ROblowVk1Zekl3TWxOdFNrOU9WM1JvVjIwdFEwRlJkSGxoU0VwRVVucENWMlJJWjNwYU5FbENRM3BPVVZKcmJ6VlZNRlpWVlhwU1RtZG5SVXhPTURWUVZUQlNURmxxUWtsaVJsZERRVkYwVlZVd1JUSlNNRkUxVkZkc2RsUlpTVUpETWxJeFl6SmFkRlJHT1dsaVZFWjJaMmRGVEUxVmJ6QlpWR3hxVmtSS2MyRXpaVU5CVVhNMVZGUlNjVmR1Vm5oYVNHTjNUa2xKUWtNelRrZFBSRUpLVEZaU1VtRldZM2RuWjBWTVlsVmplRmxYVmtWT01qbHJZMWQxZVVGUldVdENRV2RYUlVGTWNVRlJVVWxCYUVGYUdJSGc2QmdpQzNObFlYSmphQzFtWldWayIsImYiOnsidXBsb2FkRGF0ZSI6bnVsbCwic29ydEJ5IjoicmVsZXZhbmNlIiwidHlwZSI6bnVsbCwiZHVyYXRpb24iOm51bGx9LCJyIjpudWxsfQ","hasMore":true,"fetchedAt":"2026-11-05T19:15:07.802Z"},"meta":{"requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","creditsCharged":1,"creditsRemaining":4999,"cached":false}},"examples":{"Example":{"title":"Example","value":{"data":{"query":"lofi hip hop","region":null,"filters":{"uploadDate":null,"sortBy":"relevance","type":null,"duration":null},"showingResultsFor":null,"includingResultsFor":null,"hashtag":null,"estimatedResults":11370869,"results":[{"type":"playlist","kind":"mix","id":"RDATfmbG9maSBoaXAgaG9w","url":"https://www.youtube.com/playlist?list=RDATfmbG9maSBoaXAgaG9w","title":"Mix • Lofi hip hop","videoCount":null,"channelName":"Академия глубокой релаксации, Kudasaibeats, RŮDE, and more","channelId":null,"firstVideoId":"R8om0QifqII","thumbnailUrl":"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ","thumbnails":[{"url":"https://i.ytimg.com/vi/R8om0QifqII/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=\u0026rs=AOn4CLBN0ePqpHQrvDXXKRJL_9Fgj53naQ","width":480,"height":270}],"position":1,"shelfTitle":null},{"type":"video","id":"n61ULEU7CO0","url":"https://www.youtube.com/watch?v=n61ULEU7CO0","title":"Best of lofi hip hop 2021 ✨ [beats to relax/study to]","descriptionSnippet":"Listen on Spotify, Apple music and more → https://fanlink.tv/BestofLofi2021 The new Lofi Girl compilation “Best of 2021” is out now ...","viewCount":58551430,"viewCountText":"58,551,430 views","concurrentViewers":null,"publishedText":"4 years ago","wasLive":false,"durationSeconds":22258,"durationText":"6:10:58","badges":["1 product"],"channelId":"UCSJ4gkVC6NrvII8umztf0Ow","channelName":"Lofi Girl","channelHandle":null,"isChannelVerified":true,"thumbnailUrl":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAi4TCpAtbxLFIBULRlcZHudl1uFw","thumbnails":[{"url":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLAi4TCpAtbxLFIBULRlcZHudl1uFw","width":720,"height":404},{"url":"https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLBsbMTx1evh72jfc4JDtfDXYVhYNg","width":360,"height":202}],"previewUrl":"https://i.ytimg.com/an_webp/n61ULEU7CO0/mqdefault_6s.webp?du=3000\u0026sqp=CICLs9cG\u0026rs=AOn4CLBirO-GQGnSLhV-m_dz0O2g1dEFRQ","frameUrl":null,"collaborators":[],"position":2,"shelfTitle":null},{"type":"live","id":"rFZHOHl-L8A","url":"https://www.youtube.com/watch?v=rFZHOHl-L8A","title":"lofi hip hop radio 📚 beats to relax/study to","descriptionSnippet":"Spooky season is officially upon us 2026 Halloween playlist available now: https://lnk.to/halloween-lofi02 | Listen on Spotify, ...","viewCount":null,"viewCountText":"10,197 watching","concurrentViewers":10197,"publishedText":null,"wasLive":false,"durationSeconds":null,"durationText":null,"badges":["LIVE","24 products"],"channelId":"UCSJ4gkVC6NrvII8umztf0Ow","channelName":"Lofi Girl","channelHandle":null,"isChannelVerified":true,"thumbnailUrl":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLCdekX1ygqqUJynjbliA5ayfR7tlw","thumbnails":[{"url":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLCdekX1ygqqUJynjbliA5ayfR7tlw","width":720,"height":404},{"url":"https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed\u0026sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==\u0026rs=AOn4CLDN3Yy-Dw3B9x_HYcTaGXq7gEVppA","width":360,"height":202}],"previewUrl":null,"frameUrl":null,"collaborators":[],"position":3,"shelfTitle":null}],"counts":{"video":14,"short":25,"live":5,"channel":0,"playlist":1},"count":45,"cursor":"eyJrIjoibG9maSBoaXAgaG9wIiwiYyI6IkVxMERFZ3hzYjJacElHaHBjQ0JvYjNBYW5BTlRRbE5EUVZKYVUxSkZSbFZhYlRGcFVucHNkRmxXVGtOaU1rWlpVVmRrYUZKNmJETm5aMFZNWW1wWmVGWlZlRVpXVkdSRVZIcERRMEZSZEhsU2JIQkpWREJvYzB4VmR6UlJXVWxDUXpCT1RWcFdjRFZUVld4RlQxVktkbWRuUlV4UldGb3hXakprU2xNeFRrVlNSVmREUVZGMGMxWkdTbkJrVlZwS1ZqRlpNVTVKU1VKRE1FbzFWMnRrTVUxcVNUVk1XR3hDWjJkRlRGRllTbkpOVjJoeFlVWkdUbVZJVDBOQlVYUTJWbnBXTTJORmNGcE5XRXB1VlZsSlFrTXdUa2RTTUhoMlZWVnNiMkpYT1ROblowVk1Zekl3TWxOdFNrOU9WM1JvVjIwdFEwRlJkSGxoU0VwRVVucENWMlJJWjNwYU5FbENRM3BPVVZKcmJ6VlZNRlpWVlhwU1RtZG5SVXhPTURWUVZUQlNURmxxUWtsaVJsZERRVkYwVlZVd1JUSlNNRkUxVkZkc2RsUlpTVUpETWxJeFl6SmFkRlJHT1dsaVZFWjJaMmRGVEUxVmJ6QlpWR3hxVmtSS2MyRXpaVU5CVVhNMVZGUlNjVmR1Vm5oYVNHTjNUa2xKUWtNelRrZFBSRUpLVEZaU1VtRldZM2RuWjBWTVlsVmplRmxYVmtWT01qbHJZMWQxZVVGUldVdENRV2RYUlVGTWNVRlJVVWxCYUVGYUdJSGc2QmdpQzNObFlYSmphQzFtWldWayIsImYiOnsidXBsb2FkRGF0ZSI6bnVsbCwic29ydEJ5IjoicmVsZXZhbmNlIiwidHlwZSI6bnVsbCwiZHVyYXRpb24iOm51bGx9LCJyIjpudWxsfQ","hasMore":true,"fetchedAt":"2026-11-05T19:15:07.802Z"},"meta":{"requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","creditsCharged":1,"creditsRemaining":4999,"cached":false}}}},"exampleType":"examples"}},"exampleType":"examples"},"2b56189e-1b7e-4af8-b3e2-d2a3eea84964":{"description":"Invalid or expired cursor (or one for another query).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"BAD_REQUEST","message":"The request was invalid.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"The request was invalid.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}}}},"exampleType":"examples"}},"exampleType":"examples"},"7be799df-d7f8-4657-82b0-31daafd99046":{"description":"Missing, invalid, or revoked API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UNAUTHORIZED","message":"API key required — pass it in the `x-api-key` header.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UNAUTHORIZED","message":"API key required — pass it in the `x-api-key` header.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0377cb99-ad0d-4ac0-9547-50f60d659829":{"description":"Not enough credits for this request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"INSUFFICIENT_CREDITS","message":"This request costs 1 credit, but your balance is 0. Top up to continue.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"INSUFFICIENT_CREDITS","message":"This request costs 1 credit, but your balance is 0. Top up to continue.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}}}},"exampleType":"examples"}},"exampleType":"examples"},"841c0506-04ac-4ba4-a335-565e6233241d":{"description":"Invalid query parameters (query is required; a filter value YouTube doesn't have, or a combination it can't do).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"VALIDATION_ERROR","message":"Request validation failed","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","details":[{"path":"url","message":"url is required"}]}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"VALIDATION_ERROR","message":"Request validation failed","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","details":[{"path":"url","message":"url is required"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"248f256a-f709-4e14-80bc-6b1dcbcf4f50":{"description":"Over the per-minute rate limit — honour `Retry-After`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"RATE_LIMITED","message":"Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"RATE_LIMITED","message":"Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}}}},"exampleType":"examples"}},"exampleType":"examples"},"ce94c323-bad4-4df8-9af2-edad777a736e":{"description":"Temporarily unavailable — retry after `Retry-After`. `error.code` tells you why: `UPSTREAM_BLOCKED` (the source blocked this request), `EXTRACTION_FAILED` (the source returned unexpected data), `PLATFORM_UNAVAILABLE` (the source is down), or `SERVICE_UNAVAILABLE` (we are at capacity).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","example":"NOT_FOUND","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"The requested content was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"requestId":{"type":"string","example":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f","isRequired":true,"uniqueKey":"error.requestId","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Present on validation errors.","uniqueKey":"error.details","typeLabel":"object[]"}},"required":["code","message","requestId"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"UPSTREAM_BLOCKED","message":"The source is temporarily unavailable. Please try again shortly.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"UPSTREAM_BLOCKED","message":"The source is temporarily unavailable. Please try again shortly.","requestId":"req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"dc513ba9-30ee-4c24-8759-e8b79dc35b73":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your API key. Send it in the `x-api-key` header (or `Authorization: Bearer \u003ckey>`). Create and manage keys from your dashboard.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"87174df2-499b-47ec-9f0f-d417df04ca5b":{"url":"https://api.scraperize.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your API key. Send it in the `x-api-key` header (or `Authorization: Bearer \u003ckey>`). Create and manage keys from your dashboard.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Your API key. Send it in the `x-api-key` header (or `Authorization: Bearer \u003ckey>`). Create and manage keys from your dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"alakowe-technology","siteName":"Scraperize","title":"Search - Scraperize","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T15:34:57.834Z","originalFileLocation":"api-reference/youtube/search.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}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=\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist\u0026#x27;s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube\u0026#x27;s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\u0026quot;Shorts\u0026quot;, \u0026quot;Latest from …\u0026quot;, an artist\u0026#x27;s card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scraperize\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_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/alakowe-technology/nY6MCikimCWxyIud/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Search - Scraperize\">\u003cmeta data-mint-head property=\"og:description\" content=\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist\u0026#x27;s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube\u0026#x27;s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\u0026quot;Shorts\u0026quot;, \u0026quot;Latest from …\u0026quot;, an artist\u0026#x27;s card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scraperize\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.scraperize.com/api-reference/youtube/search\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alakowe-technology.mintlify.site/_mintlify/api/og/v2?division=YouTube\u0026amp;title=Search\u0026amp;description=Searches+YouTube+and+returns+what+its+search+shows%2C+in+its+order%3A+videos%2C+Shorts%2C+live+streams%2C+channels+%28an+artist%27s+card+included%29+and+playlists+%28Mixes+and+po\u0026amp;theme=1bf3657ca3b181fb6ed2ab26\u0026amp;signature=e085a6e33ff514073d121e17350442a3d9321c1e60b8110cec1cb5bce5456124\">\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=\"Search - Scraperize\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist\u0026#x27;s card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube\u0026#x27;s own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\u0026quot;Shorts\u0026quot;, \u0026quot;Latest from …\u0026quot;, an artist\u0026#x27;s card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alakowe-technology.mintlify.site/_mintlify/api/og/v2?division=YouTube\u0026amp;title=Search\u0026amp;description=Searches+YouTube+and+returns+what+its+search+shows%2C+in+its+order%3A+videos%2C+Shorts%2C+live+streams%2C+channels+%28an+artist%27s+card+included%29+and+playlists+%28Mixes+and+po\u0026amp;theme=1bf3657ca3b181fb6ed2ab26\u0026amp;signature=e085a6e33ff514073d121e17350442a3d9321c1e60b8110cec1cb5bce5456124\">\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/alakowe-technology/nY6MCikimCWxyIud/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scraperize\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2f76ef\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.scraperize.com/api-reference/youtube/search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/youtube/search.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.scraperize.com/#organization\",\"name\":\"Scraperize\",\"url\":\"https://docs.scraperize.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alakowe-technology/axLUKEL7Qhhi3iwd/images/logo.svg?fit=max\u0026auto=format\u0026n=axLUKEL7Qhhi3iwd\u0026q=85\u0026s=ad1c0e75cd9b11245dbbb91fed19d29a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.scraperize.com#website\",\"name\":\"Scraperize\",\"url\":\"https://docs.scraperize.com\",\"publisher\":{\"@id\":\"https://docs.scraperize.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.scraperize.com/api-reference/youtube/search#webpage\",\"url\":\"https://docs.scraperize.com/api-reference/youtube/search\",\"name\":\"Search\",\"description\":\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\\\"Shorts\\\", \\\"Latest from …\\\", an artist's card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.\",\"dateModified\":\"2026-11-07T15:34:57.834Z\",\"isPartOf\":{\"@id\":\"https://docs.scraperize.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.scraperize.com/api-reference/youtube/search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.scraperize.com/api-reference/youtube/search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"YouTube\",\"item\":\"https://docs.scraperize.com/api-reference/youtube/channel\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search\",\"item\":\"https://docs.scraperize.com/api-reference/youtube/search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.scraperize.com/api-reference/youtube/search#apireference\",\"headline\":\"Search\",\"name\":\"Search\",\"description\":\"Searches YouTube and returns what its search shows, in its order: videos, Shorts, live streams, channels (an artist's card included) and playlists (Mixes and podcasts included), about 20–60 per page. Narrow it like YouTube's own filters: by upload date, by type (videos, Shorts, channels or playlists), by length (videos only), and sort by popularity instead of relevance; and pick the country to search from with region. Videos come with their title, link, description snippet, views, upload time, length, badges, channel and thumbnails; live streams with how many are watching; Shorts with their title, views, cover and first frame; channels with their handle, avatar, subscribers and verified / official-artist badge; playlists with their owner, video count and first video. Results shown in a shelf (\\\"Shorts\\\", \\\"Latest from …\\\", an artist's card) say which. When YouTube corrects a misspelt query, showingResultsFor says what it searched instead. Pass the returned cursor back (with the same query) for the next page. Only publicly available data is returned.\",\"url\":\"https://docs.scraperize.com/api-reference/youtube/search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.scraperize.com/api-reference/youtube/search#webpage\"},\"dateModified\":\"2026-11-07T15:34:57.834Z\",\"publisher\":{\"@id\":\"https://docs.scraperize.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.scraperize.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scraperize\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Scraperize","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Twitter","pages":[{"title":"Tweet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitter/tweet","href":"/api-reference/twitter/tweet"},{"title":"User tweets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitter/user-tweets","href":"/api-reference/twitter/user-tweets"},{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitter/profile","href":"/api-reference/twitter/profile"},{"title":"Community","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitter/community","href":"/api-reference/twitter/community"},{"title":"Community tweets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitter/community/tweets","href":"/api-reference/twitter/community-tweets"}]},{"group":"Facebook","pages":[{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/post","href":"/api-reference/facebook/post"},{"title":"Profile photos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/profile/photos","href":"/api-reference/facebook/profile-photos"},{"title":"Profile reels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/profile/reels","href":"/api-reference/facebook/profile-reels"},{"title":"Profile posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/profile/posts","href":"/api-reference/facebook/profile-posts"},{"title":"Profile events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/profile/events","href":"/api-reference/facebook/profile-events"},{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/profile","href":"/api-reference/facebook/profile"},{"title":"Post comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/post/comments","href":"/api-reference/facebook/post-comments"},{"title":"Comment replies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/post/comment/replies","href":"/api-reference/facebook/comment-replies"},{"title":"Group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/group","href":"/api-reference/facebook/group"},{"title":"Group posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/facebook/group/posts","href":"/api-reference/facebook/group-posts"}]},{"group":"Linkme","pages":[{"title":"Linkme profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkme/profile","href":"/api-reference/linkme/linkme-profile"}]},{"group":"Amazon","pages":[{"title":"Amazon Shop page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/amazon/shop","href":"/api-reference/amazon/amazon-shop-page"}]},{"group":"Linkbio","pages":[{"title":"Lnk.Bio page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkbio/page","href":"/api-reference/linkbio/lnkbio-page"}]},{"group":"Pillar","pages":[{"title":"Pillar page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/pillar/page","href":"/api-reference/pillar/pillar-page"}]},{"group":"Komi","pages":[{"title":"Komi page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/komi/page","href":"/api-reference/komi/komi-page"}]},{"group":"Linktree","pages":[{"title":"Linktree page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linktree/page","href":"/api-reference/linktree/linktree-page"}]},{"group":"Kick","pages":[{"title":"Clip","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/kick/clip","href":"/api-reference/kick/clip"}]},{"group":"Snapchat","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/snapchat/profile","href":"/api-reference/snapchat/profile"},{"title":"Spotlight video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/snapchat/spotlight","href":"/api-reference/snapchat/spotlight-video"},{"title":"Spotlight comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/snapchat/spotlight/comments","href":"/api-reference/snapchat/spotlight-comments"}]},{"group":"Telegram","pages":[{"title":"Channel","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/telegram/channel","href":"/api-reference/telegram/channel"},{"title":"Channel posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/telegram/channel/posts","href":"/api-reference/telegram/channel-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/telegram/post","href":"/api-reference/telegram/post"}]},{"group":"LinkedIn","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkedin/profile","href":"/api-reference/linkedin/profile"},{"title":"Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkedin/company","href":"/api-reference/linkedin/company"},{"title":"Company posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkedin/company/posts","href":"/api-reference/linkedin/company-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkedin/post","href":"/api-reference/linkedin/post"},{"title":"Post transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/linkedin/post/transcript","href":"/api-reference/linkedin/post-transcript"}]},{"group":"Twitch","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitch/profile","href":"/api-reference/twitch/profile"},{"title":"Channel videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitch/user/videos","href":"/api-reference/twitch/channel-videos"},{"title":"Stream schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitch/user/schedule","href":"/api-reference/twitch/stream-schedule"},{"title":"Clip","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/twitch/clip","href":"/api-reference/twitch/clip"}]},{"group":"TikTok","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/profile","href":"/api-reference/tiktok/profile"},{"title":"Profile region","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/profile/region","href":"/api-reference/tiktok/profile-region"},{"title":"Collection videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/collection/videos","href":"/api-reference/tiktok/collection-videos"},{"title":"Profile videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/profile/videos","href":"/api-reference/tiktok/profile-videos"},{"title":"Video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/video","href":"/api-reference/tiktok/video"},{"title":"Video transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/video/transcript","href":"/api-reference/tiktok/video-transcript"},{"title":"Video comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/video/comments","href":"/api-reference/tiktok/video-comments"},{"title":"Comment replies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/video/comment/replies","href":"/api-reference/tiktok/comment-replies"},{"title":"Followers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/user/followers","href":"/api-reference/tiktok/followers"},{"title":"Following","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/user/following","href":"/api-reference/tiktok/following"},{"title":"Search users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/search/users","href":"/api-reference/tiktok/search-users"},{"title":"Search suggestions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/search/suggestions","href":"/api-reference/tiktok/search-suggestions"},{"title":"Hashtag videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/search/hashtag","href":"/api-reference/tiktok/hashtag-videos"},{"title":"LIVE stream","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/user/live","href":"/api-reference/tiktok/live-stream"},{"title":"Keyword search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/search/keyword","href":"/api-reference/tiktok/keyword-search"},{"title":"Top search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/search","href":"/api-reference/tiktok/top-search"},{"title":"Song","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/song","href":"/api-reference/tiktok/song"},{"title":"Song videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/song/videos","href":"/api-reference/tiktok/song-videos"},{"title":"Trending feed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/tiktok/get-trending-feed","href":"/api-reference/tiktok/trending-feed"}]},{"group":"Instagram","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/profile","href":"/api-reference/instagram/profile"},{"title":"Basic profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/basic-profile","href":"/api-reference/instagram/basic-profile"},{"title":"User posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/user/posts","href":"/api-reference/instagram/user-posts"},{"title":"User Reels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/user/reels","href":"/api-reference/instagram/user-reels"},{"title":"Profile post count","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/profile/post-count","href":"/api-reference/instagram/profile-post-count"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/post","href":"/api-reference/instagram/post"},{"title":"Popular Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/search/popular","href":"/api-reference/instagram/popular-search"},{"title":"Audio Reels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/audio/reels","href":"/api-reference/instagram/audio-reels"},{"title":"Post comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/post/comments","href":"/api-reference/instagram/post-comments"},{"title":"User highlights","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/user/highlights","href":"/api-reference/instagram/user-highlights"},{"title":"Highlight detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/instagram/user/highlight/detail","href":"/api-reference/instagram/highlight-detail"}]},{"group":"Lagos Life","pages":[{"title":"Site info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/site","href":"/api-reference/lagos-life/site-info"},{"title":"Live stats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/stats","href":"/api-reference/lagos-life/live-stats"},{"title":"Daily bulletin","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/daily","href":"/api-reference/lagos-life/daily-bulletin"},{"title":"Government","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/government","href":"/api-reference/lagos-life/government"},{"title":"Billboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/billboards","href":"/api-reference/lagos-life/billboards"},{"title":"Sea plots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/sea","href":"/api-reference/lagos-life/sea-plots"},{"title":"Player homes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/homes","href":"/api-reference/lagos-life/player-homes"},{"title":"Verified players","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/verified-players","href":"/api-reference/lagos-life/verified-players"},{"title":"Map places","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/lagos-life/places","href":"/api-reference/lagos-life/map-places"}]},{"group":"Bluesky","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/bluesky/profile","href":"/api-reference/bluesky/profile"},{"title":"User posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/bluesky/user/posts","href":"/api-reference/bluesky/user-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/bluesky/post","href":"/api-reference/bluesky/post"}]},{"group":"Threads","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/threads/profile","href":"/api-reference/threads/profile"},{"title":"User posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/threads/user/posts","href":"/api-reference/threads/user-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/threads/post","href":"/api-reference/threads/post"},{"title":"Search users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/threads/search/users","href":"/api-reference/threads/search-users"},{"title":"Keyword search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/threads/search","href":"/api-reference/threads/keyword-search"}]},{"group":"Reddit","pages":[{"title":"Subreddit details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/subreddit/details","href":"/api-reference/reddit/subreddit-details"},{"title":"Subreddit search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/subreddit/search","href":"/api-reference/reddit/subreddit-search"},{"title":"Subreddit posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/subreddit","href":"/api-reference/reddit/subreddit-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/post","href":"/api-reference/reddit/post"},{"title":"Post comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/post/comments","href":"/api-reference/reddit/post-comments"},{"title":"Post transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/post/transcript","href":"/api-reference/reddit/post-transcript"},{"title":"Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/reddit/search","href":"/api-reference/reddit/search"}]},{"group":"Rumble","pages":[{"title":"Channel videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/rumble/channel/videos","href":"/api-reference/rumble/channel-videos"},{"title":"Video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/rumble/video","href":"/api-reference/rumble/video"},{"title":"Video transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/rumble/video/transcript","href":"/api-reference/rumble/video-transcript"},{"title":"Video comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/rumble/video/comments","href":"/api-reference/rumble/video-comments"},{"title":"Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/rumble/search","href":"/api-reference/rumble/search"}]},{"group":"Truth Social","pages":[{"title":"Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/truthsocial/profile","href":"/api-reference/truth-social/profile"},{"title":"User posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/truthsocial/user/posts","href":"/api-reference/truth-social/user-posts"},{"title":"Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/truthsocial/post","href":"/api-reference/truth-social/post"}]},{"group":"YouTube","pages":[{"title":"Channel","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel","href":"/api-reference/youtube/channel"},{"title":"Channel videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel-videos","href":"/api-reference/youtube/channel-videos"},{"title":"Video","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/video","href":"/api-reference/youtube/video"},{"title":"Channel search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel/search","href":"/api-reference/youtube/channel-search"},{"title":"Channel playlists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel/playlists","href":"/api-reference/youtube/channel-playlists"},{"title":"Channel live streams","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel/lives","href":"/api-reference/youtube/channel-live-streams"},{"title":"Channel community posts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel/community-posts","href":"/api-reference/youtube/channel-community-posts"},{"title":"Channel Shorts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/channel/shorts","href":"/api-reference/youtube/channel-shorts"},{"title":"Community post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/community-post","href":"/api-reference/youtube/community-post"},{"title":"Playlist videos","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/playlist","href":"/api-reference/youtube/playlist-videos"},{"title":"Trending Shorts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/shorts/trending","href":"/api-reference/youtube/trending-shorts"},{"title":"Search typeahead","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/search/typeahead","href":"/api-reference/youtube/search-typeahead"},{"title":"Hashtag search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/search/hashtag","href":"/api-reference/youtube/hashtag-search"},{"title":"Video comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/video/comments","href":"/api-reference/youtube/video-comments"},{"title":"Comment replies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/video/comment/replies","href":"/api-reference/youtube/comment-replies"},{"title":"Video transcript","description":"Fetches the transcript of a YouTube video or Short — the same one YouTube shows under \"Show transcript\" — from its uploaded or auto-generated captions. Each segment has its start and end time (seconds, to the millisecond), its timestamp as shown (\"0:18\"), its text and, for videos with chapters, the chapter it belongs to; the whole transcript also comes as one `transcript` text. Pick the language with `language` (e.g. `en`, `es`, `pt-BR`; uploaded captions are preferred over auto-generated ones) or leave it out for the one YouTube picks by default. The response says which captions were used and lists every language its transcript is available in. Not included: YouTube's machine translation, and on videos with YouTube's dubbed audio the captions generated from the dubs (the transcript follows the original audio; uploaded subtitles in any language still work). Only publicly available data is returned.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/video/transcript","href":"/api-reference/youtube/video-transcript"},{"title":"Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/youtube/search","href":"/api-reference/youtube/search"}]}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/mcp"}]}]},"basePath":"","title":"Search - Scraperize","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}