Skip to main content

Path Parameters

tag
string
required
The hashtag, without the leading # (e.g. shorts, lofi).

Query Parameters

gl
string
default:"US"
Content region (ISO 3166-1 alpha-2). Examples: US, GB, DE, JP.
hl
string
default:"en"
UI / interface language (BCP-47). Examples: en, de, fr, ja.
continuation
string
Continuation token from a previous response to fetch the next page.

Response

tag
string
The hashtag that was queried.
results
array
Array of videos under the hashtag (polymorphic SearchResult shape).
continuation
string
Token to fetch the next page (nullable when no more pages).

Example Response

{
  "tag": "lofi",
  "results": [
    {
      "type": "video",
      "video_id": "jfKfPfyJRdk",
      "title": "lofi hip hop radio - beats to relax/study to",
      "url": "https://www.youtube.com/watch?v=jfKfPfyJRdk",
      "thumbnail": "https://i.ytimg.com/vi/jfKfPfyJRdk/hqdefault.jpg",
      "view_count_text": "Live · 42K watching",
      "published_time_text": "Streamed 2 years ago",
      "channel_name": "Lofi Girl",
      "channel_is_verified": true,
      "is_short": false
    }
  ],
  "continuation": "4qmFsgKQARIaRkVoYXNodGFn..."
}
Each hashtag request costs 5 credits. Failed requests are not charged.