# relatedToVideoId on GET /youtube/v3/search stops working

Calls to GET /youtube/v3/search, query parameter relatedToVideoId on YouTube Data API stopped working on August 7, 2023.

On August 7, 2023, the query parameter relatedToVideoId on GET /youtube/v3/search stopped working. Requests using this parameter began to fail after that day. The parameter was deprecated following an announcement on June 12, 2023.

## What to use instead

No replacement is given. You must drop the relatedToVideoId parameter from your requests.

- API: YouTube Data API (youtube.googleapis.com)
- Kind: Parameter removal
- Announced: June 12, 2023
- Takes effect: August 7, 2023
- Calls after that day: fail
- Calls it hits: `GET /youtube/v3/search`, `query parameter relatedToVideoId`
- Source: [Announcement](https://developers.google.com/youtube/v3/revision_history)
- Verified: November 6, 2026, against YouTube Data API's own pages
- Page: https://www.okapi.bot/providers/youtube-data-api/breaking-changes/relatedtovideoid-on-get-youtube-v3-search-stops-working/

## YouTube Data API's words

> The search.list method's relatedToVideoId parameter has been deprecated. YouTube will stop supporting the parameter as of August 7, 2023.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
