YouTube Search Advanced API
Scrape YouTube Search Advanced data with one API call. Searches YouTube videos with the full filter set — sort `order`, `duration`, live/upcoming `event_type`, Creative-Commons `license`, `category`, `region`, `language`, and `published_after`/`published_before` date windows — returning video id, title, thumbnail, channel, and publish time, plus a `cursor` for the next page. Results are always videos.
Last updated June 2026
Try the YouTube Search Advanced API
See real data before writing a single line
Searching 42 platforms in parallel
What can you do with the Search Advanced API?
The Search Advanced endpoint gives you structured YouTube data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl "https://www.socialcrawl.dev/v1/youtube/search/advanced?query=lofi+hip+hop" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/youtube/search/advanced",
headers={"x-api-key": "YOUR_API_KEY"},
params={"query": "lofi hip hop"},
)
data = response.json()const params = new URLSearchParams({
"query": "lofi hip hop",
});
const response = await fetch(`https://www.socialcrawl.dev/v1/youtube/search/advanced?${params}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| query | Yes | Search query. |
| order | No | Sort order: date, rating, relevance (default), title, videoCount, viewCount. |
| duration | No | Video length: short (<4m), medium (4–20m), long (>20m), any. |
| event_type | No | Broadcast type: live, upcoming, completed. |
| license | No | License filter: creativeCommon, youtube, any. |
| category | No | YouTube video category id (e.g. 10 = Music). |
| region | No | ISO 3166-1 alpha-2 country code. |
| language | No | Preferred result language (ISO 639-1). |
| published_after | No | RFC-3339 datetime lower bound (e.g. 2026-01-01T00:00:00Z). |
| published_before | No | RFC-3339 datetime upper bound. |
| channel_id | No | Restrict results to a single channel id. |
| max_results | No | Maximum number of videos to return (1–50). |
| cursor | No | Pagination cursor from a previous response — fetches the next page. |
How does the YouTube Search Advanced API work?
Send a GET request with your API key and get back clean, structured JSON. Every response follows our unified schema with computed fields.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 42 platforms covering 10B+ monthly active users.
One schema, every platform
Query 42 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
Every response includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Ready to scrape YouTube Search Advanced data?
Get your API key and start pulling YouTube data in under 60 seconds.
