Skip to main content
POST
/
api
/
youtube
/
search
/
playlists
/youtube/search/playlists
curl --request POST \
  --url https://api.anysite.io/api/youtube/search/playlists \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 300,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "url": "<string>",
    "@type": "@youtube_playlist",
    "owner": {
      "id": "<string>",
      "@type": "@youtube_playlist_owner",
      "name": "<string>",
      "alias": "<string>",
      "url": "<string>"
    },
    "video_count": 123,
    "view_count": 123,
    "description": "<string>",
    "image": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query

Minimum string length: 1
Example:

"lofi hip hop"

count
integer
required

Max number of results

Required range: 1 <= x <= 600
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
title
string
required
url
string
required
@type
string
default:@youtube_playlist
owner
YoutubePlaylistOwner · object
video_count
integer | null
view_count
integer | null
description
string | null
image
string | null