YouTube

YouTube

Search / Hashtag

per_call

Keyword and hashtag search across YouTube with filters for type, duration, upload date and sort order. Returns ranked results with titles, channels, thumbnails and view counts — useful for share-of-voice studies and content-gap research.

Endpoint

GET /v1/youtube/search-hashtag

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

target
required
string

The YouTube handle, URL or identifier to resolve.

limit
optional
integer

Items to return for list responses. Default 10, max 100.

cursor
optional
string

Pagination cursor returned by a previous response.

Example request

Sandbox calls return deterministic sample data in the live payload shape.

curl
curl "https://api.fastfetchz.com/v1/youtube/search-hashtag?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "YouTube",
    "name": "Search / Hashtag",
    "slug": "search-hashtag"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "query": "nasa",
    "results": [
      {
        "id": "9000085629",
        "type": "profile",
        "title": "nasa result 1",
        "url": "https://example.com/youtube/result/85629",
        "engagement_score": 62.9,
        "matched_at": "2026-08-25T10:37:48.701Z"
      },
      {
        "id": "9000108010",
        "type": "post",
        "title": "nasa result 2",
        "url": "https://example.com/youtube/result/108010",
        "engagement_score": 1,
        "matched_at": "2026-08-24T10:37:48.701Z"
      }
    ],
    "paging": {
      "has_more": true,
      "next_cursor": "cursor_s_2"
    }
  }
}

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedThe key exceeded its monthly cap or the burst limit. Retry later.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.