YouTube Videos Trending API
Scrape YouTube Videos Trending data with one API call. Returns the most popular (trending) YouTube videos for a region and category — title, thumbnail, duration, view/like/comment counts, channel, and publish time — plus a `cursor` when more results are available. Filter by `region` (ISO country) and `category` (YouTube category id); forward `cursor` for subsequent pages.
Last updated June 2026
Try the YouTube Videos Trending API
See real data before writing a single line
Searching 42 platforms in parallel
What can you do with the Videos Trending API?
The Videos Trending 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/videos/trending" \
-H "x-api-key: YOUR_API_KEY"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/youtube/videos/trending",
headers={"x-api-key": "YOUR_API_KEY"},
params={},
)
data = response.json()const params = new URLSearchParams({
});
const response = await fetch(`https://www.socialcrawl.dev/v1/youtube/videos/trending?${params}`, {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| region | No | ISO 3166-1 alpha-2 country code (e.g. US, GB, KR). |
| category | No | YouTube video category id (e.g. 10 = Music, 24 = Entertainment). |
| language | No | Localization language (ISO 639-1) for titles/metadata. |
| 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 Videos Trending 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 Videos Trending data?
Get your API key and start pulling YouTube data in under 60 seconds.
