---
title: "Get trending videos"
method: GET
path: "/youtube/trending"
tags: ["YouTube"]
---

# Get trending videos

`GET /youtube/trending`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/youtube/trending`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `type` 'now' | 'music' | 'gaming' | 'movies'
- `gl` string
- `hl` string
- `continuation` string

## Response `200`

- object
  - `results` object[], required
    - `type` string, required
    - `id` string, required
    - `title` string, required
    - `description` string, required
    - `thumbnail` string, required
    - `duration` string, required
    - `viewCount` string, required
    - `publishedTime` string, required
    - `channel` object, required
      - `id` string, required
      - `name` string, required
      - `thumbnail` string, required
      - `verified` boolean, required
      - `isVerifiedArtist` boolean, required
      - `url` string, required
    - `badges` string[], required
    - `isLive` boolean, required
    - `isShort` boolean, required
    - `isPremium` boolean, required
    - `expandableMetadata` unknown, required
  - `pagination` object, required
    - `continuationToken` string, nullable, required
    - `hasMore` boolean, required
  - `query` string, required
  - `filters` object, required
    - `type` string, required
    - `sort` string, required
    - `hl` string, nullable, required
    - `gl` string, nullable, required
  - `type` string, required
  - `source` string, required
  - `locale` object, required
    - `hl` string, required
    - `gl` string, required

## Other responses

- `400`: Error response
- `401`: Unauthorized - API key is missing or invalid
- `422`: Validation error

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
