YouTube Hashtag videos

Fetch recent videos tagged with a given hashtag

Starting price
$0.0055 /record
Offers
1 same output format
Max URLs per request
100

Endpoint

One endpoint for every offer below. Omit provider and the router picks with automatic failover — the response's served_by tells you which one ran.

POSThttps://api.socialrouter.io/v1/youtube/hashtag.videos

Offers

Every offer below returns the same normalized output, in failover order — the first one serves unless you pin another with the provider field.

  • apify/streamersvia Apifydefault route

    Up to 100 URLs per request

    $0.0055per record

Parameters

JSON body of the request. Unknown fields and unknown options are rejected with the valid list, so a wrong guess costs nothing.

ParameterTypeDescription
urlsRequiredstring[]One URL per record to process. Accepted shapes:https://www.youtube.com/hashtag/<tag> — Pass the hashtag page URL, not a bare #tag.Example: https://www.youtube.com/hashtag/aiA single url string is accepted too.
providerOptionalstringPin one offer, e.g. apify/streamers. Omit it and the router picks with failover.
limitOptionalintegerMax records to return per URL.
optionsOptionalobjectService-specific options, listed below.
options.sortingOrderOptionalstringResult ordering, as the YouTube UI names it (e.g. relevance, date, views).
options.videoTypeOptionalstringRestrict to a video type (e.g. video, movie).
options.lengthFilterOptionalstringVideo length filter (e.g. under4, between420, over20).
options.isHDOptionalbooleanOnly HD videos.
options.hasSubtitlesOptionalbooleanOnly videos with subtitles.
options.hasCCOptionalbooleanOnly Creative Commons videos.
options.is3DOptionalbooleanOnly 3D videos.
options.isLiveOptionalbooleanOnly live streams.
options.is4KOptionalbooleanOnly 4K videos.
options.is360OptionalbooleanOnly 360° videos.
options.hasLocationOptionalbooleanOnly geotagged videos.
options.isHDROptionalbooleanOnly HDR videos.
options.isVR180OptionalbooleanOnly VR180 videos.

Output

Each record has the fields below, whichever offer serves the request. Offers may include additional platform-specific fields on top.

  • titlestring

    Video title

  • video_idstring

    Platform video ID

  • profile_urlurl

    Canonical URL of the video

  • descriptionstring

    Caption / description text

  • hashtagsstring[]

    All hashtags found on the video

  • viewsnumber

    View count

  • likesnumber

    Like count

  • num_commentsnumber

    Comment count

  • date_postedstring

    When the video was published (raw platform string)

  • channel_namestring

    Author / channel name

  • channel_urlurl

    Author / channel URL

  • sourcestring

    Platform the record was extracted from (e.g. "linkedin")

  • extracted_atiso8601

    UTC timestamp when the record was produced

Going further

Auth, error semantics, and every other endpoint live in the API reference — including the machine-readable OpenAPI spec at /v1/openapi.json.

Frequently asked questions

How much does YouTube hashtag videos cost?

Prices start at $0.0055 per record, depending on the offer that serves the request. You are only charged for records actually returned.

Which offers serve youtube/hashtag.videos?

apify/streamers — 1 offer is available behind the same endpoint. Pin one with the optional "provider" field, or omit it and the router picks with automatic failover. The response's "served_by" field names the offer that ran.

What input does it need?

The "urls" field of the JSON body, as an array of strings: https://www.youtube.com/hashtag/<tag> — Pass the hashtag page URL, not a bare #tag.. For example: https://www.youtube.com/hashtag/ai

Is the output format the same for every offer?

Yes. Every offer returns the normalized record schema documented on this page; some add extra platform-specific fields on top, but the documented fields are always present.

How many URLs can I send per request?

Up to 100 URLs in a single request, depending on the offer.

What happens if an offer fails?

SocialRouter automatically fails over to the next offer serving the same service, so a single upstream outage doesn't break your integration.

What options does it take?

sortingOrder (string): Result ordering, as the YouTube UI names it (e.g. relevance, date, views). videoType (string): Restrict to a video type (e.g. video, movie). lengthFilter (string): Video length filter (e.g. under4, between420, over20). isHD (boolean): Only HD videos. hasSubtitles (boolean): Only videos with subtitles. hasCC (boolean): Only Creative Commons videos. is3D (boolean): Only 3D videos. isLive (boolean): Only live streams. is4K (boolean): Only 4K videos. is360 (boolean): Only 360° videos. hasLocation (boolean): Only geotagged videos. isHDR (boolean): Only HDR videos. isVR180 (boolean): Only VR180 videos.

Related services

Get youtube hashtag videos into your app or your AI agent

$5 in free credits to test it — no credit card, no commitment.