# YouTube Search API Reference

Canonical: https://monsterapi.co/docs/api/youtube-search

Read the YouTube Search reference. Review parameters, response fields, examples, and current credit prices.

OpenAPI specification: [YouTube](https://monsterapi.co/docs/openapi/platforms/youtube.yaml).

---

Current operation prices: [public catalog](https://monsterapi.co/account/api/v1/public/api-prices). Prices use credits per request.

---

# YouTube: Search results

`GET /youtube/api/search`

Documentation: https://monsterapi.co/docs/api/youtube#search-results

Operation ID: `youtube_search_results`

Returns one page of YouTube search results. Pass next_cursor with the same query and filter. Records can repeat within or across pages; duplicates are retained.

## Authentication

Send your billing API key in the `Authorization: Bearer <YOUR_API_KEY>` header. Your account login is separate.

## Inputs

- `query` (query, required): Search text, from 1 to 512 characters, without control characters.

- `cursor` (query, optional): next_cursor from GET /search, with the same query and filter.

- `filter` (query, optional): One of videos, channels, playlists, shorts, this_week, popularity. Omit for unfiltered results.

## Responses

- 200:

- 400:

Refused at the gateway: the request target, path and query string together, is longer than 8,192 bytes; or the headers, the target counted among them, exceed 16,384 bytes or 64 fields

- 401: #/components/responses/GatewayUnauthorized

- 402: #/components/responses/GatewayPaymentRequired

- 403: #/components/responses/GatewayForbidden

- 404:

- 405: `method_not_allowed`: the endpoint answers GET alone, and any other method, HEAD included, is refused

Refused at the gateway: the path exists, but no operation on it takes the method of the request, HEAD included; `Allow` names the methods that do

- 409: #/components/responses/GatewayConflict

- 429: #/components/responses/GatewayTooManyRequests

- 500:

- 501:

- 503:

Refused at the gateway: the check could not complete, the account is suspended, or the platform did not answer; each may pass later, and `Retry-After` comes only when the platform did not answer

## Credits

Check the live price in the documentation before sending. Platform 2xx and 4xx responses can use credits, including empty data. Gateway refusals and 5xx responses do not use credits. Each pagination request is a separate call.

https://monsterapi.co/docs/pricing

## Request template

Replace path placeholders and add the required query parameters from the Inputs section before sending.

```shell

curl --get 'https://api.monsterapi.co/youtube/api/search' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

```

---

# YouTube: Search suggestions

`GET /youtube/api/search/suggestions`

Documentation: https://monsterapi.co/docs/api/youtube#search-suggestions

Operation ID: `youtube_search_suggestions`

Returns search suggestions for a query. Each response preserves suggestion order and additional information.

## Authentication

Send your billing API key in the `Authorization: Bearer <YOUR_API_KEY>` header. Your account login is separate.

## Inputs

- `query` (query, required): Search text from 1 to 512 characters, without control characters.

## Responses

- 200:

- 400:

Refused at the gateway: the request target, path and query string together, is longer than 8,192 bytes; or the headers, the target counted among them, exceed 16,384 bytes or 64 fields

- 401: #/components/responses/GatewayUnauthorized

- 402: #/components/responses/GatewayPaymentRequired

- 403: #/components/responses/GatewayForbidden

- 404:

- 405: `method_not_allowed`: the endpoint answers GET alone, and any other method, HEAD included, is refused

Refused at the gateway: the path exists, but no operation on it takes the method of the request, HEAD included; `Allow` names the methods that do

- 409: #/components/responses/GatewayConflict

- 429: #/components/responses/GatewayTooManyRequests

- 500:

- 501:

- 503:

Refused at the gateway: the check could not complete, the account is suspended, or the platform did not answer; each may pass later, and `Retry-After` comes only when the platform did not answer

## Credits

Check the live price in the documentation before sending. Platform 2xx and 4xx responses can use credits, including empty data. Gateway refusals and 5xx responses do not use credits. Each pagination request is a separate call.

https://monsterapi.co/docs/pricing

## Request template

Replace path placeholders and add the required query parameters from the Inputs section before sending.

```shell

curl --get 'https://api.monsterapi.co/youtube/api/search/suggestions' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'

```
