YepAPI

Command Palette

Search for a command to run...

POST/v1/youtube/hashtag

YouTube Hashtag API

YouTube hashtag API — discover videos tagged with any hashtag. Track hashtag campaigns and trending topics from $0.01/call.

Fetch videos associated with a specific hashtag on YouTube. Returns video listings with full metadata and pagination support.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/youtube/hashtag
Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "meta": {
      "hashtag": "#programming",
      "hashtagInfoText": "1.4M videos - 250K channels"
    },
    "data": [
      {
        "type": "video",
        "videoId": "CIRGjwYgdT4",
        "title": "Programming vs Coding - What's the difference?",
        "channelTitle": "Aaron Jack",
        "viewCount": "2344912"
      }
    ]
  }
}

Features

Videos for any hashtag

Send a tag (e.g. programming) to /v1/youtube/hashtag and get the videos YouTube groups under #programming, ranked as the hashtag page shows them.

Hashtag metadata: video count, channel count

The meta block returns hashtagInfoText like '1.4M videos - 250K channels', giving you the scale of a hashtag before you read its videos.

Full video metadata in results

Each video includes videoId, title, channelTitle, and viewCount, so you can rank hashtag content by performance straight from the response.

Pagination with continuation tokens

Use the continuation token to page through a hashtag's video feed for large-scale campaign or trend tracking.

Use cases

Hashtag Research

Discover which hashtags drive the most engagement and views in your niche.

Campaign Tracking

Monitor branded hashtag campaigns to measure reach and engagement across YouTube.

Content Discovery

Find trending content in your niche by exploring popular hashtags.

Influencer Research

Identify top creators using specific hashtags to find collaboration opportunities.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/youtube/hashtag', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "tag": "programming"
  }),
});
const data = await res.json();
console.log(data);

The YouTube Hashtag API — every video under a tag

The YouTube Hashtag API returns the videos collected under any hashtag. Send tag=programming to /v1/youtube/hashtag and get a meta block with the hashtag and its scale (e.g. '1.4M videos - 250K channels') plus a data array of videos, each with videoId, title, channelTitle, and viewCount. It's keyword discovery scoped to YouTube's own tagging, not free-text search.

At $0.01 per call with pagination, you can track a branded campaign hashtag over time or measure how much content sits behind a niche tag. The hashtag metadata alone is a fast gauge of a tag's reach.

What is a YouTube Hashtag API?

A YouTube Hashtag API returns the videos that YouTube has grouped under a given hashtag, plus metadata about the hashtag itself. You send a tag (without the #) and receive a meta object containing the hashtag and an info string like '1.4M videos - 250K channels', followed by a data array of videos with videoId, title, channelTitle, and viewCount. It differs from search because it leans on YouTube's explicit hashtag grouping rather than matching query text against titles and descriptions — so it surfaces exactly the content creators chose to tag, which is the right lens for campaign and community tracking.

Build your own hashtag campaign tracker

Monitor a branded hashtag by polling it on a schedule, recording the meta video count and the top videos by viewCount each day — you get a clear measure of campaign reach and momentum over time. Or research a niche: compare the hashtagInfoText across several candidate tags to see which has the most content and competition before you launch under it. Pull the channelTitle of top-performing hashtag videos to build an influencer shortlist, then enrich each with the Channel About endpoint for contact and subscriber data.

YouTube Hashtag API pricing — $0.01/call

Each hashtag page costs $0.01 and returns the metadata plus a batch of videos with a continuation token for deeper paging. There's no daily quota, so tracking several campaign hashtags daily is a few cents. The official Data API has no clean hashtag-feed equivalent and would have you searching the tag as text against your unit budget — here it's a flat cent per page against YouTube's actual hashtag grouping.

Hashtag tracking vs. keyword search

A hashtag groups videos the creator deliberately tagged; a keyword search matches videos whose text happens to contain your words. For measuring a campaign or a community movement, hashtag grouping is more precise — you see only opted-in content. For broad topic discovery where creators may not tag consistently, the Search endpoint casts a wider net. Tools often run both: Search for coverage, Hashtag for the curated campaign view, both on one YepAPI key.

Try the YouTube Hashtag API free

Get $5 of free credit at signup, no card required — 500 hashtag pages. Track a branded tag or compare niche hashtags by scale before committing to a campaign strategy.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Fetch videos associated with a specific hashtag on YouTube. Returns video listings with full metadata and pagination support.

Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/youtube/hashtag. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More youtube api endpoints