Scrappa

YouTube Trending

External YouTube API endpoint for YouTube Trending.

Endpoint

GET /api/youtube-external/trending
Open in Playground

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Parameters

type string Optional

Trending category. Options: now (default), music, gaming, movies

hl string Optional

Language/locale code. Default: en

gl string Optional

Country/region code for trending content. Different regions have different trending videos. Default: US

Try It Live

Test this endpoint in our interactive playground with real data.

Open in Playground