Skip to main content
GET
/
v1
/
scrape
/
youtube
/
search
/
hashtag
Search by Hashtag
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": [
        "<any>"
      ]
    }
  ],
  "continuationToken": "4qmFsgLtBRIJRkVoYX...."
}
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

hashtag
string
required

Hashtag to search for

Example:

"funny"

continuationToken
string

Continuation token to get more videos. Get 'continuationToken' from previous response.

Example:

"4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB"

type
enum<string>

Search for all types of content or only shorts

Available options:
all,
shorts
Example:

"all"

Response

Successful response

videos
object[]
required
continuationToken
string
required
Example:

"4qmFsgLtBRIJRkVoYX...."