Skip to main content
POST
/
api
/
youtube
/
channel
/youtube/channel
curl --request POST \
  --url https://api.anysite.io/api/youtube/channel \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "channel": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@youtube_channel",
    "name": "<string>",
    "alias": "<string>",
    "description": "<string>",
    "subscriber_count": 123,
    "video_count": 123,
    "view_count": 123,
    "image": "<string>",
    "banner": "<string>",
    "joined_at": 123,
    "country": "<string>",
    "is_verified": false,
    "is_family_safe": true,
    "links": []
  }
]

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
channel
string
required

YouTube channel URL, @handle, or channel ID

Minimum string length: 1
Examples:

"@MrBeast"

"https://www.youtube.com/@MrBeast"

"UCX6OQ3DkcsbYNE6H8uQQuVA"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@youtube_channel
name
string | null
alias
string | null
description
string | null
subscriber_count
integer | null
video_count
integer | null
view_count
integer | null
image
string | null
banner
string | null
joined_at
integer | null
country
string | null
is_verified
boolean
default:false
is_family_safe
boolean | null