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>'
{
  "success": true,
  "data": {
    "success": true,
    "videos": {
      "0": {
        "type": "video",
        "id": "4OmI_cLYTJQ",
        "url": "https://www.youtube.com/watch?v=4OmI_cLYTJQ",
        "title": "A MUST: Cute Baby & Siblings Compilation 2025 - Funny Babies Video || COOL PEACHY🍑",
        "thumbnail": "https://i.ytimg.com/vi/4OmI_cLYTJQ/hqdefault.jpg?sqp=-oaymwEnCNACELwBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLDG4VsY7NbZBiaXTxxdSrHGqjjBQg",
        "channel": {
          "id": "UCOTtZqs7-0kLZ6zSxkIF5Gw",
          "title": "COOL PEACHY",
          "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_mwUh53qtt8ekfmMXWEt_hRwYlWUxmnq-QWRvAJuclf6g=s68-c-k-c0x00ffffff-no-rj"
        },
        "viewCountText": "685,316 views",
        "viewCountInt": 685316,
        "publishedTimeText": "3 months ago",
        "publishedTime": "2025-11-08T23:16:44.540Z",
        "lengthText": "30:38",
        "lengthSeconds": 1838,
        "badges": {}
      }
    },
    "channels": {},
    "playlists": {},
    "shorts": {
      "0": {
        "type": "short",
        "id": "DqdQPQOVdeM",
        "url": "https://www.youtube.com/watch?v=DqdQPQOVdeM",
        "title": "Super Bow LX field looking pretty 🤩 #superbowllx #levistadium #football",
        "thumbnail": "https://i.ytimg.com/vi/DqdQPQOVdeM/hq2.jpg?sqp=-oaymwFBCNACELwBSFryq4qpAzMIARUAAIhCGADYAQHiAQoIGBACGAY4AUAB8AEB-AG2CIACgA-KAgwIABABGD0gWyhyMA8=&rs=AOn4CLBol18tZ8yUmsaPKnzv90pUWBRocA",
        "channel": {
          "id": "UCvQrivswRDGK0lZ_AcUHp8g",
          "title": "NFL on FOX",
          "thumbnail": "https://yt3.ggpht.com/z109GEe10U2CSuUgrkBgQCPmQlGWOx742u3se4l_AXclvxp4Ygq2P-FdP-gQOEO6GDeb49xYNcQ=s68-c-k-c0x00ffffff-no-rj"
        },
        "viewCountText": "17,369 views",
        "viewCountInt": 17369,
        "publishedTimeText": "2 hours ago",
        "publishedTime": "2026-02-08T23:17:20.093Z",
        "lengthText": "0:07",
        "lengthSeconds": 7,
        "badges": {}
      }
    },
    "shelves": {},
    "lives": {}
  },
  "credits_used": 1,
  "endpoint": "youtube/search/hashtag"
}
💳 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