Public Playground
Preview the endpoint before sending a live request
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Playground
Search YouTube API Playground
Returns normalized YouTube search results using YouTube's InnerTube search API. Pass `continuation_token` from a previous response to retrieve the next page.
GETapiKey3 credits/requestyoutube.searchResponseDocYouTube
Endpoint details
Returns normalized YouTube search results using YouTube's InnerTube search API. Pass `continuation_token` from a previous response to retrieve the next page. Use `q` as the primary query parameter; `search_query` is accepted as an alias.
- Method
- GET
- Path
- /youtube/search
- Authentication
- apiKey
- Credit cost
- 3 credits/request
- Platform
- YouTube
- Parameters
- 10 documented fields
Request parameters
q:querysearch_query:querycontinuation_token:querytype:querysort_by:queryupload_date:queryduration:queryfeatures:queryparams:queryx-api-key:header
Response schema fields
codedatadata.continuation_tokendata.estimated_resultsdata.itemsdata.items[].badgesdata.items[].channel_iddata.items[].channel_thumbnaildata.items[].channel_titledata.items[].description_snippetdata.items[].durationdata.items[].duration_seconds
Sample response summary
{
"code": 200,
"msg": "OK",
"data": {
"query": "gpt",
"estimated_results": 9895225,
"items": [
{
"type": "video",
"position": 1,
"title": "ChatGPT Explained",
"url": "https://www.youtube.com/watch?v=abc123xyz89",
"thumbnail": "https://i.ytimg.com/vi/abc123xyz89/hq720.jpg",
"video_id": "abc123xyz89",
"channel_title": "OpenAI",
"channel_id": "UCXZCJLdBC09xxGZ6gcdrc6A",
"duration": "12:34",
"duration_seconds": 754,
"published_text": "2 days ago",
"view_count": "123,456 views",
"short_view_count": "123K views",
"description_snippet": "A concise walkthrough of GPT features.",
"channel_thumbnail": "https://yt3.ggpht.com/channel-thumb",
"is_verified": true,
"badges": [
"HD",
"CC"
]
},
{
"type": "channel",
"position": 2,
"title": "OpenAI",
"url": "https://www.youtube.com/@OpenAI",
"thumbnail": "https://yt3.ggpht.com/channel-avatar",
"channel_id": "UCXZCJLdBC09xxGZ6gcdrc6A",
"handle": "@OpenAI",
"subscriber_count": "1.93M subscribers",
"description_snippet": "OpenAI's mission is to ensure AGI benefits all of humanity.",
"is_verified": true
},
{
"type": "playlist",
"position": 3,
"title": "Python Language Full Course (2026)",
"url": "https://www.youtube.com/playlist?list=PL1234567890abcdef",
"thumbnail": "https://i.ytimg.com/vi/pl123/hqdefault.jpg",
"playlist_id": "PL1234567890abcdef",
"channel_title": "Shradha Khapra",
"channel_id": "UC1XBh-m27kkgwLAwu_SRJBg",
"video_count": "9 lessons"
}
],
"continuation_token": "NEXT_TOKEN"
}
}cURL example
curl "https://api.crawlora.net/api/v1/youtube/search" \
-H "x-api-key: <api-key>"