{"error":"Invalid country code. Use ISO 3166-1 alpha-2 format.","code":400}
Responskoder
Code
Description
200 Success
Request processed OK.
400 Bad Request
Input validation failed.
401 Unauthorized
Missing / wrong API key.
403 Forbidden
Key inactive or not allowed.
429 Rate Limit
Too many requests.
500 Server Error
Unexpected failure.
Trending List
youtube/trending0.0100 credits
Parameters
API Key
body · string
· required
Country
body · string
Category
body · string
Limit
body · string
Code Samples
Response
Status:—
Headers
Body
YouTube Trending API — Practical Guide
A hands-on guide to building “what’s hot now” experiences with YouTube Trending:
when to use it, the few parameters that matter, how to read the payload,
and how to turn results into cards, playlists, and editorial blocks.
Last updated: 21 nov 2025, 20:25
API Version: v1
Burst: 20 req/s
Latency: 350.7 msCost: 0.01 credits/req
youtube/trending gives a live snapshot of the most popular videos per country,
optionally focused on a specific YouTube category (e.g., 10 = Music).
Use it for landing pages, auto-curated playlists, “Top Today” widgets, and weekly editorial picks.