25 free credits on signup · no card required

YouTube Search API

One keyword in. Video rows out.

Send a keyword and this endpoint returns public videos as a JSON array. The request sort is fixed to relevance. There is no sort parameter. It costs 1 credit per result returned. YouTube has 26 live endpoints on an API that covers 32 platforms.

Use via MCP: the MCP server gives Claude, Cursor and any MCP client this endpoint as a tool.

Credits 1 / result
Input ?query=
Cache 15m–7d
Paging limit
GET · BEARER
Example

Schema of the normalizer fields. Not a captured response.

{
  "data": [
    {
      "id": "string",
      "url": "string",
      "title": "string|null",
      "caption": "string|null",
      "views": "number|null",
      "likes": "number|null",
      "comments": "number|null",
      "shares": "null",
      "duration_sec": "number|null",
      "posted_at": "string|null",
      "author": "object",
      "thumbnail": "string|null",
      "is_live": "boolean"
    }
  ],
  "meta": {
    "count": "number",
    "limit": "number"
  },
  "request_id": "string"
}
Fresh when it matters
age-aware cache
Works with your stack
cURL Python Node.js Zapier n8n Make MCP
One key · one credit balance · plain REST

The call

Request and backoff

JavaScript and Python retry a 429 on their own. The response has no Retry-After header, so the wait doubles from 2 seconds across five attempts, the same schedule as rate limits. One call returns one page of up to ?limit= items. There is no cursor and no next page.

ParamRequiredWhat it does
query yes Search keywords.
limit no Items per page (default 20, max 50 sync; larger values create an async job; free-trial keys are capped at 5).
fresh no true bypasses the cache at the same credit price.
fields no Comma-separated field projection (dot notation).
format no Response format.

Status codes on this path: 200, 202, 400, 401, 402, 404, 429. Failed calls are not charged.

JavaScript
const url = new URL("https://api.scrapersocial.com/v1/youtube/search");
  url.searchParams.set("query", "coffee brewing");

async function withBackoff(fn) {
  for (let attempt = 0; attempt < 5; attempt++) {
    const resp = await fn();
    if (resp.status !== 429) return resp;
    const wait = 2 ** attempt * 2000 + Math.random() * 500;
    await new Promise((r) => setTimeout(r, wait));
  }
  throw new Error("rate limit retries exhausted");
}

const resp = await withBackoff(() =>
  fetch(url, {
    headers: { Authorization: "Bearer sk_live_..." },
  }),
);
if (!resp.ok) throw new Error(`API error ${resp.status}`);
const { data, request_id } = await resp.json();
console.log(request_id, data);
Python
import random
import time
import httpx

def get_with_backoff(url, params, headers):
    for attempt in range(5):
        resp = httpx.get(url, params=params, headers=headers, timeout=120)
        if resp.status_code != 429:
            return resp
        time.sleep((2 ** attempt) * 2 + random.random() * 0.5)
    raise RuntimeError("rate limit retries exhausted")

resp = get_with_backoff(
    "https://api.scrapersocial.com/v1/youtube/search",
    params={
    "query": "coffee brewing",
    },
    headers={"Authorization": "Bearer sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])

The payload

What comes back

{ data, meta?, request_id }
01 Relevance order

A page of video objects inside the usual data array. Each object has id, url, title, caption (the description), views, likes, comments, shares, duration_sec, posted_at, author, thumbnail and is_live. meta carries count and limit. There is no next_cursor: one call is one page, sized by limit.

02 Counts as integers

shares is always null on this shape. views, likes and comments are integers. Display strings such as 3.4K are parsed into whole numbers, and a value that is neither a number nor a K, M or B abbreviation becomes null rather than a string. duration_sec is seconds. posted_at is an ISO timestamp or null. author is { handle, name }. is_live is a boolean.

03 One credit a row

Billing follows the rows you receive. Each result is 1 credit, so the page costs as many credits as it has rows. An empty page is not a list of guessed videos. A limit above 50 is accepted as an async job and returns 202 instead of the rows.

Field explorer Pick a key to see its type and the caveats.
number|null Nullable Sortable metric
views

View count as an integer. A display string such as 3.4K is parsed. Null when it cannot be parsed.

{
"id": "…",
"url": "…",
"title": "…",
"caption": "…",
"views": 0,
"likes": 0,
"comments": 0,
"shares": "…",
"duration_sec": 0,
"posted_at": "…",
"author": { … },
"thumbnail": "…",
"is_live": false
}
Good fit

Reach for this when

  • ✓Finding public videos for a keyword. You pay 1 credit for each result that comes back.
  • ✓Building a candidate list before you pull transcripts. Take the url from a row and send it to the transcript endpoint.
  • ✓Monitoring a topic at relevance order. Store the video id and skip ids you have already seen on the next run.
  • ✓Screening which of the matching videos are live. is_live is on the row, so you do not need a second call to tell.
Different job?

There's an endpoint for that

  • →You already have the video URL and want the spoken words. That is /v1/youtube/transcript, 5 credits per video. Search does not return caption text. The caption field here is the description.
  • →You want the newest uploads from the last week, not relevance order. /v1/youtube/search-recent costs 1 credit per result and is the upload-date sort. This endpoint cannot be switched.
  • →You want only Shorts, or only live streams. Those are /v1/youtube/shorts-search (1 credit per short) and /v1/youtube/streams-search (1 credit per stream).
  • →You want one channel's uploads rather than a keyword. /v1/youtube/channel-videos takes a handle and costs 1 credit per video.

Pricing

Start free, pay for what comes back

One result is 1 credit — about 0.5¢ on the monthly plan. $5 covers roughly 1,000 results. Failed calls are never charged.

20 results × 1 credit = 20 credits. That is $0.10 on Monthly and 9¢ on Annual. Full pricing.

Estimate your bill
$5/ month
30 results/day × 1 credits × 365 days = 10,950 credits/yr — inside the base plan Whichever plan is cheaper for that volume, divided by 12.
30
102,000
Credits / yr 10,950
Plan Annual $54/yr
Per result 0.5¢

Estimate only, on a full-year basis. 1 credits per returned result. Monthly: $5 per 1,000 credits with $5/1,000 top-ups. Annual: $54 per 12,000 credits with $4.50/1,000 top-ups. We show whichever plan is cheaper for your annual volume, divided by 12. Failed calls are never charged; cache hits cost the same as fresh calls.

Free trial
25 credits

On signup, no card, up to 5 items a call. Your key is on screen immediately.

Get your free API key
Monthly $5/mo 1,000 credits. Top-ups $5 per extra 1,000.
Annual $54/yr 12,000 credits. Top-ups $4.50 per extra 1,000.

Rate limits

Requests per minute, by plan

Limits count requests, not credits. A 429 means wait and retry. There is no Retry-After header. On the free trial a list call is capped at 5 items. Rate limits.

Free trial 20/min List calls return at most 5 items.
Monthly 200/min $5/month.
Annual 300/min $54/year.

Entry price, side by side

Cheapest way to start

Verified November 2026 from each vendor's live pricing page
ScraperSocial
$5 / mo 1,000 credits · 25 free credits, no card
Supadata
$5 / mo 300 credits, annual commitment · 100 free/mo
SocialKit
$29 / mo 12,000 credits · 20 free credits
Dumpling AI
$40 / mo Billed annually · free tier size unpublished
ScrapeCreators
$47 pack 25,000 credits, no subscription · 100 free once

Credits are not equivalent units across vendors — each meters differently. Price your own workload on both before deciding on entry price alone. At high volume, several of these are cheaper per credit than we are.

Engineering notes

Docs you can build on

We document exactly how every endpoint behaves — nulls, caching, billing — so what you ship on day one is still running in month six. No surprises, no support tickets.

✓Failed calls never charged; empty results free up to 25 a day ✓Public data only, no login session ✓Built for parallel traffic

The request is sent with relevance sort, upload date all, duration all, and features all. None of those are query parameters on /v1/youtube/search. The parameters this path accepts are query, limit, fresh, fields and format.

If you need a different order, call a different endpoint. search-recent is upload date over the last week, at 1 credit per result. Shorts, live streams, channels and hashtags are separate paths with their own units. Do not retry this path hoping the order will change.

View, like and comment counts often arrive as display strings, including forms like 3.4K. They are parsed into integers. 3.4K becomes 3400. A value that is not a number and not a K, M or B abbreviation becomes null. Do not expect the original string back, and do not treat null as zero.

shares is set to null on every row of this shape. There is no share count to sort on. comments here is a count, not the comment bodies. A transcript is a different call, using the url from the row.

One call returns one page of up to limit rows. There is no cursor and no second page, so ask for the number of rows you want in that call. A free key is capped at 5 items a call, and the response says so with X-Limit-Capped. Each returned row costs 1 credit, so the cap is also a spend cap on the trial.

A limit above 50 does not return the rows in that response. It returns 202 and a job id to poll. Keep limit at 50 or below for a synchronous page. The cache class is fast: the TTL is the age of posted_at divided by 10, clamped between 15 minutes and 7 days, or 1 hour when posted_at is missing. fresh=true skips the cache at the same per-result price.

duration_sec is read with a numeric parse. A clock string such as 10:32 is not converted on the search row, so duration_sec is null for that row. views, likes and comments do parse K, M and B abbreviations. shares stays null. The price is 1 credit per result returned, about $0.005 each on the monthly plan. A failed call is not charged.

Questions

Frequently asked

Relevance. The call sends that sort and does not accept a sort parameter. Upload date, duration and feature filters are also fixed, not query parameters. GET /v1/youtube/search costs 1 credit per result returned. Signup includes 25 free credits, and a free key returns at most 5 results a call. A 402 is out_of_credits or plan_required.

Each video on the page is 1 credit, about $0.005 on the monthly plan and $0.004 on the annual plan. You are billed for rows returned, not for the limit you asked for. Failed calls are not charged. The monthly plan is $5 and includes 1,000 credits. Rate limits are separate and count requests, not results.

Not on this endpoint. Relevance is fixed, and upload date, duration and feature filters are not parameters. For newest uploads in the last week, call /v1/youtube/search-recent at 1 credit per result. For Shorts, call /v1/youtube/shorts-search. For live streams, call /v1/youtube/streams-search. For one channel's videos, call /v1/youtube/channel-videos with a handle. Retrying this path with an extra query key will not change the order.

No. caption on a search row is the video description, which can be null. The spoken words are /v1/youtube/transcript, 5 credits per video, and that call takes the watch URL from the row. Search also does not return comment text. comments is an integer count, or null when the count cannot be parsed. shares is always null on this shape. Pass the url to the endpoint that actually returns the text you need.

Raise limit. This path has no cursor and no next page, so one call returns everything you get for that query. A free key is limited to 5 items a call even if you ask for more, and the response includes X-Limit-Capped. A limit above 50 returns 202 and a job id instead of the page. Each call counts against the plan rate limit, and each returned row costs 1 credit. A 429 has no Retry-After header, so back off on your own schedule.

Because the counts are parsed before they reach you. A display string such as 3.4K becomes the integer 3400, and the same parser covers likes and comments. A value that is not a number and not a K, M or B abbreviation becomes null. shares is not parsed. It is always null. posted_at is an ISO timestamp when the row has a date that parses, and null otherwise. is_live is a boolean, not a string.

Next

Pairs well with

Platforms · OpenAPI · Quickstart
/v1/youtube/transcript
YouTube Transcript API Spoken text of a public YouTube video: one string plus timed segments, requested in English. 5 cr / video

Same data, other platforms

Search on other platforms

PlatformInputUnitCreditsTimestampsCache
YouTube query result 1 cr / result yes Age-aware cache (15 min - 7 days)
LinkedIn query result 1 cr / result yes Age-aware cache (15 min - 7 days) Threads query result 2 cr / result yes Age-aware cache (15 min - 7 days) TikTok query result 2 cr / result yes Age-aware cache (15 min - 7 days) X/Twitter query result 1 cr / result yes Age-aware cache (15 min - 7 days)

More YouTube endpoints

/v1/youtube/transcript Spoken text of a public YouTube video: one string plus timed segments, requested in English. 5 credits / video

Try the YouTube Search endpoint free

25 trial credits on signup — no card, key on screen immediately.

1 Sign up free no card · 30 seconds
2 Copy your key sk_live_...
3 GET the endpoint /v1/youtube/search
Get your free API key