Skip to main content
GET
Search by Hashtag
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

hashtag
string
required

Hashtag to search for

Example:

"funny"

continuationToken
string

Continuation token to get more videos. Get 'continuationToken' from previous response.

Example:

"4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB"

type
enum<string>

Search for all types of content or only shorts

Available options:
all,
shorts
Example:

"all"

Response

Successful response

Key Response Fields:

  • data.videos[0].id: Video ID
  • data.videos[0].url: Full YouTube video URL
  • data.videos[0].title: Video title
  • data.videos[0].channel.id: Channel ID of the uploader
  • data.videos[0].channel.title: Channel display name
  • data.videos[0].viewCountInt: View count as integer
  • data.videos[0].publishedTime: ISO timestamp of publication
  • data.videos[0].lengthSeconds: Duration in seconds
  • data.shorts[0]: Short-format videos matching the hashtag (same structure as videos)
  • data.continuationToken: Pagination cursor — pass as continuationToken to get the next page