Platforms/YouTube/Hashtag videos

YouTube Hashtag Videos API

GET ยท 1 credit

Send a hashtag, and get the videos its page shows first, up to about 20.

GET /v1/youtube/hashtags

Example request

const url = `${process.env.API_URL}/v1/youtube/hashtags?tag=funny`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
tagYesA hashtag, with or without the #.

Example response

{
  "data": [
    {
      "id": "Hf3Gx9Lm2Qa",
      "url": "https://www.youtube.com/watch?v=Hf3Gx9Lm2Qa",
      "title": "Try Not To Laugh Challenge #funny",
      "is_short": null,
      "thumbnail": "https://i.ytimg.com/vi/Hf3Gx9Lm2Qa/hqdefault.jpg",
      "duration_seconds": 640,
      "views": 5400000,
      "published": "8 months ago",
      "channel_id": "UC0000000000000000000005",
      "channel_name": "Daily Laughs",
      "channel_handle": null,
      "badges": null,
      "description": null
    }
  ],
  "page": null,
  "meta": {
    "platform": "youtube",
    "endpoint": "hashtag_videos",
    "params": {
      "tag": "funny"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Do I need the #?

No. The tag works with or without it.

Can I get more than 20?

No. The hashtag page shows its first videos only, and there is no next page. For a hashtag's Shorts, Hashtag shorts pages through them.

How do I get a video's likes and description?

Send its id to Video.

Works with

On other platforms

Use cases

YouTube guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required