Search YouTube by hashtag
Search YouTube by hashtag.
Use `data.page.hasMore` and `data.page.nextCursor` for pagination rather than inferring completion from result count alone.
Headers
Get your API keyAPI key (`sfk_...`)
Hashtag to search for. A leading # is optional.
min 1 chars · max 256 chars
Optional content filter.
one of: all, shorts
Opaque pagination cursor returned by a previous response.
min 1 chars
Endpoint-specific response payload.
Hashtag evaluated for this response, without a leading #.
Content filter applied for this response.
one of: all, shorts
Matching videos and Shorts for the hashtag.
YouTube content identifier.
min 1 chars
Normalized media kind for this row.
one of: video, short
Canonical public URL for this item when available.
Title shown for this item.
Description text when available.
Thumbnail image URL when available.
Channel metadata when available.
Channel identifier when available.
Channel title when available.
Channel handle when available.
Channel thumbnail URL when available.
View count when available.
≥ 0
Human-readable view count label when available.
ISO-8601 publish timestamp when available.
Human-readable relative publish time when available.
Duration in seconds when available.
≥ 0
Human-readable duration label when available.
Display badges such as New or Live when present.
Number of result rows returned in this response.
≥ 0
Pagination information for the current response.
Cursor to pass in the next request when another page exists.
Whether another page of results is available.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/youtube/search/hashtags?hashtag=trending" \
-H "x-api-key: YOUR_API_KEY"Responses
Hashtag search results for the requested tag.