curl --request POST \
--url https://api.anysite.io/api/youtube/search/videos \
--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_search_video",
"author": {
"id": "<string>",
"alias": "<string>",
"@type": "@youtube_search_video_author",
"name": "<string>",
"url": "<string>"
},
"duration_seconds": 123,
"view_count": 123,
"published_at": 123,
"image": "<string>"
}
]Search YouTube videos
curl --request POST \
--url https://api.anysite.io/api/youtube/search/videos \
--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_search_video",
"author": {
"id": "<string>",
"alias": "<string>",
"@type": "@youtube_search_video_author",
"name": "<string>",
"url": "<string>"
},
"duration_seconds": 123,
"view_count": 123,
"published_at": 123,
"image": "<string>"
}
]