---
title: "Get related videos"
method: GET
path: "/public/youtube/related/{videoId}"
tags: ["📢 Public APIs"]
---

# Get related videos

`GET /public/youtube/related/{videoId}`

The API endpoint returns a list of recommended YouTube videos based on the `videoId` provided in the path variable.

When accessing this endpoint and passing a valid video ID, you will receive a response containing a list of videos that are related to the current video.

These recommended videos can be displayed in a list view on the right side of the user interface, providing users with relevant and engaging content that complements the video they are currently viewing.

**Disclaimer:**

Data provided by the API is static and not real-time.

This simplifies the process of developing a **YouTube clone**, allowing developers to solely focus on UI design and creativity, without worrying about complex API key configuration.

## Query parameters

- `page` string
- `limit` string

## Response `200`

Get related videos

- object
  - `data` object
    - `currentPageItems` number
    - `data` object[]
      - `items` object
        - `contentDetails` object
          - `caption` string
          - `contentRating` object
          - `definition` string
          - `dimension` string
          - `duration` string
          - `licensedContent` boolean
          - `projection` string
        - `id` string
        - `kind` string
        - `snippet` object
          - `categoryId` string
          - `channelId` string
          - `channelTitle` string
          - `defaultAudioLanguage` string
          - `description` string
          - `liveBroadcastContent` string
          - `localized` object
            - `description` string
            - `title` string
          - `publishedAt` string
          - `tags` string[]
          - `thumbnails` object
            - `default` object
              - …
            - `high` object
              - …
            - `maxres` object
              - …
            - `medium` object
              - …
            - `standard` object
              - …
          - `title` string
        - `statistics` object
          - `commentCount` string
          - `favoriteCount` string
          - `likeCount` string
          - `viewCount` string
      - `kind` string
    - `limit` number
    - `nextPage` boolean
    - `page` number
    - `previousPage` boolean
    - `totalItems` number
    - `totalPages` number
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
