curl --request GET \
--url https://api.sociavault.com/v1/scrape/youtube/search/hashtag \
--header 'X-API-Key: <api-key>'{
"videos": [
{
"type": "video",
"id": "jXMISgQq9MM",
"url": "https://www.youtube.com/watch?v=jXMISgQq9MM",
"title": "Epic fails 🤣🤣🤣 #shorts #funny #fails",
"description": "",
"thumbnail": "https://i.ytimg.com/vi/jXMISgQq9MM/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AG2CIACgA-KAgwIABABGGUgXyhVMA8=&rs=AOn4CLC1HXfxzLayoVBdicS5DIUQh9zGcQ",
"channel": {
"id": "UCvUzWu1Whyw1FWuLl9GOo_g",
"title": "ZZang Funny",
"thumbnail": "https://yt3.ggpht.com/rcZKcfewHTzkauGknat3NeC53rGBofYDbL8AjFkwvsk2fXzM1clht7OTn9-1IIPnmbeZkrNGdxI=s68-c-k-c0x00ffffff-no-rj"
},
"viewCountText": "22,668,056 views",
"viewCountInt": 22668056,
"publishedTimeText": "4 weeks ago",
"publishedTime": "2025-01-04T23:12:42.919Z",
"lengthText": "1:00",
"lengthSeconds": 60,
"badges": [
"<unknown>"
]
}
],
"continuationToken": "4qmFsgLtBRIJRkVoYX...."
}Search YouTube and get matching videos, channels, and playlists
curl --request GET \
--url https://api.sociavault.com/v1/scrape/youtube/search/hashtag \
--header 'X-API-Key: <api-key>'{
"videos": [
{
"type": "video",
"id": "jXMISgQq9MM",
"url": "https://www.youtube.com/watch?v=jXMISgQq9MM",
"title": "Epic fails 🤣🤣🤣 #shorts #funny #fails",
"description": "",
"thumbnail": "https://i.ytimg.com/vi/jXMISgQq9MM/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AG2CIACgA-KAgwIABABGGUgXyhVMA8=&rs=AOn4CLC1HXfxzLayoVBdicS5DIUQh9zGcQ",
"channel": {
"id": "UCvUzWu1Whyw1FWuLl9GOo_g",
"title": "ZZang Funny",
"thumbnail": "https://yt3.ggpht.com/rcZKcfewHTzkauGknat3NeC53rGBofYDbL8AjFkwvsk2fXzM1clht7OTn9-1IIPnmbeZkrNGdxI=s68-c-k-c0x00ffffff-no-rj"
},
"viewCountText": "22,668,056 views",
"viewCountInt": 22668056,
"publishedTimeText": "4 weeks ago",
"publishedTime": "2025-01-04T23:12:42.919Z",
"lengthText": "1:00",
"lengthSeconds": 60,
"badges": [
"<unknown>"
]
}
],
"continuationToken": "4qmFsgLtBRIJRkVoYX...."
}Hashtag to search for
"funny"
Continuation token to get more videos. Get 'continuationToken' from previous response.
"4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB"
Search for all types of content or only shorts
all, shorts "all"
Successful response
Show child attributes
"video"
"jXMISgQq9MM"
"https://www.youtube.com/watch?v=jXMISgQq9MM"
"Epic fails 🤣🤣🤣 #shorts #funny #fails"
""
"https://i.ytimg.com/vi/jXMISgQq9MM/hqdefault.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AG2CIACgA-KAgwIABABGGUgXyhVMA8=&rs=AOn4CLC1HXfxzLayoVBdicS5DIUQh9zGcQ"
Show child attributes
"22,668,056 views"
22668056
"4 weeks ago"
"2025-01-04T23:12:42.919Z"
"1:00"
60
"4qmFsgLtBRIJRkVoYX...."