youtube/
hashtag-search

The YouTube Hashtag Search API finds public YouTube videos by one or more hashtags, returning titles, channel identity, thumbnails, duration, engagement, and source-tag context as normalized records.

YouTube Hashtag Search API

Hashtag feeds
Shorts filter
Source tags
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

YouTube Hashtag Search

YouTube hashtag feeds are public video collections associated with a topic tag, with titles, descriptions, channel identity, thumbnails, duration, publication details, and visible engagement. These records support topic mapping, campaign participation review, Shorts sampling, and comparative content analysis.

YouTube Hashtag Search API Features

  • Hashtag-feed discoveryFind public videos associated with a hashtag through the YouTube Hashtag Search API without supplying video or channel URLs.
  • All-content and Shorts modesSet content_type to all for the exposed hashtag feed or shorts for a Shorts-only sample.
  • Video and channel contextReturn titles, descriptions, channel identity, thumbnails, duration, publication details, and visible view, like, and comment counts.
  • Retained source hashtagEach saved record includes the normalized source hashtag retained for that video result.

YouTube Hashtag Search API Parameters

ParametersRequiredDescription
hashtagsRequiredOne or more non-empty hashtags. A leading # is optional and removed before collection.
results_limitOptionalMaximum videos to collect per hashtag, from 20 to 2,000; defaults to 100.
content_typeOptionalContent mode: all for the exposed hashtag feed or shorts for Shorts-only results; defaults to all.

How to Use the YouTube Hashtag Search API

Choose tags that represent the topic boundaries you want to inspect, then keep the content mode and per-tag limit consistent when samples need to be compared.

  1. Prepare one or more non-empty hashtags, with or without the leading #, and select all or shorts.
  2. POST hashtags, results_limit, and content_type to /v1/youtube/hashtag-search.
  3. Save the returned task_id and poll /v1/tasks/{task_id} until the task succeeds or fails.
  4. Read normalized videos from data.results.items and continue with next_cursor while has_more is true.
curl -X POST "https://api.socq.ai/v1/youtube/hashtag-search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtags":["#technology"],"results_limit":20,"content_type":"shorts"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

YouTube Hashtag Search API Use Cases

  • Campaign participation review: Use hashtag-feed samples, video descriptions, channel identity, and visible engagement to review public campaign participation.
  • Shorts topic sampling: Select shorts in the YouTube Hashtag Search API to build a focused sample of short-form videos associated with a topic tag.
  • Topic dataset preparation: Combine video IDs, URLs, publication details, channel context, metrics, and retained source tags into structured research datasets.

YouTube Hashtag Search API Pro Tips

  • Normalize your input list before submission so #technology and technology do not trigger duplicate collection work.
  • Use one hashtag per task when attribution across overlapping feeds matters, because duplicate video IDs are saved once and retain one source hashtag.
  • Treat results_limit as a per-hashtag ceiling; collection can stop earlier when the feed ends or exposes fewer eligible videos.
  • Keep all and shorts samples separate when comparing formats so a mixed feed does not distort the short-form subset.
  • Store thumbnail and source URLs as references rather than assuming they are permanent media downloads.

Beyond the YouTube Hashtag Search API, use these APIs when you need a different type of public YouTube data.

  • YouTube Comments API — Collect public comments, authors, engagement, source videos, and conversation context.
  • YouTube Videos API — Retrieve metadata, thumbnails, duration, and engagement for known video or Short URLs.
  • YouTube Shorts API — Collect public Shorts, thumbnails, duration, publication details, and engagement by channel.
  • YouTube Search API — Search public regular videos by keyword with supported metadata filters.
  • YouTube Channel Search API — Find channels by keyword, with names, subscriber counts, avatars, and description snippets.
  • YouTube Shorts Search API — Search Shorts by keyword, with links, captions, view counts, and vertical thumbnails.

Explore other platforms

Combine YouTube data with public data from other supported social platforms.

YouTube Hashtag Search API — FAQ

YouTube Hashtag Search API is a programmatic interface for finding public videos associated with one or more hashtags. It returns normalized video and channel fields, thumbnails, duration, publication details, visible engagement, and a retained source hashtag.

Submit a non-empty array of strings such as technology or #technology. The leading # is optional and is removed before collection.

Yes. Set content_type to shorts for Shorts-only results, or leave the default all mode for the exposed hashtag feed.

results_limit applies separately to each submitted hashtag, defaults to 100, and accepts integers from 20 through 2,000. The exposed feed or the 100-page collection ceiling can produce fewer records.

Repeated video IDs or URLs are saved once within a task. If exact feed attribution matters, submit hashtags in separate tasks because a saved record retains one source hashtag.

The YouTube Hashtag Search API charges 0.5 credits for each saved normalized video, with no base charge. The request estimate multiplies results_limit, or its default of 100, by the number of hashtags; final usage follows the actual saved record count, and an empty result set has no result charge.

By SocQ · Updated

From the official YouTube API documentation:

“Projects that enable the YouTube Data API have a default quota allocation of 100 search.list calls, 100 videos.insert calls, and 10,000 units per day combined for all other endpoints.”
Google for Developers: YouTube Data API quota costs · accessed November 2026