Skip to main content
POST
/
api
/
youtube
/
channel
/
shorts
/youtube/channel/shorts
curl --request POST \
  --url https://api.anysite.io/api/youtube/channel/shorts \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "channel": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "url": "<string>",
    "@type": "@youtube_channel_short",
    "view_count": 123,
    "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
channel
string
required

YouTube channel URL, alias, or ID

Minimum string length: 1
Examples:

"@MrBeast"

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

"UCX6OQ3DkcsbYNE6H8uQQuVA"

count
integer
required

Max number of shorts to fetch

Required range: x >= 1
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_channel_short
view_count
integer | null
image
string | null