Quickstart

One API key, one credit balance, 4 APIs. Make your first request in two minutes.

1. Create an account and an API key

Sign up (no credit card) and get 100 free credits every month. Then create a key in Dashboard → API keys. The key is shown once: store it in a secret manager or an environment variable.

2. Call any endpoint

Base URL https://api.scrapecrate.com/v1. Send the key in the X-API-Key header (or Authorization: Bearer).

curl "https://api.scrapecrate.com/v1/youtube/transcripts/dQw4w9WgXcQ" \
  -H "X-API-Key: YOUR_API_KEY"

3. Read the response

Every API answers in the same shape: the result in data, the cost and your balance in meta, and a cursor in pagination for lists.

{
  "data": {
    "video_id": "dQw4w9WgXcQ",
    "language": "en",
    "is_generated": false,
    "text": "We're no strangers to love. You know the rules and so do I.",
    "segments": [
      {
        "text": "We're no strangers to love",
        "start": 18.6,
        "duration": 3.2
      },
      {
        "text": "You know the rules and so do I",
        "start": 22.4,
        "duration": 4.1
      }
    ]
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 1,
    "credits_remaining": 9999
  }
}

The cost of the call is in meta.credits_used and in the X-Credits-Used header; what is left of your balance is in meta.credits_remaining. A call costs the same credits on every endpoint of an API, whatever it returns (one page of a list is one call), and the price of every endpoint is in the API reference and on the pricing page.

4. Handle errors

When a call fails you get an HTTP status of 400 or more and a body like {"error": {"code": "not_found", "message": "...", "request_id": "req_..."}}. Failed calls are never billed. Branch on error.code: invalid_parameter lists the wrong parameters in details, insufficient_credits means a top-up is needed, and 429 or 5xx errors are worth retrying after a short wait. The full list is on the errors page.

Next steps

  • API reference: response format, pagination, headers and every endpoint.
  • YouTube API: Transcripts, metadata, comments, channels and search for any public YouTube video.
  • Google Maps API: Search places, get full place details and every review, from any country.
  • Trustpilot Reviews API: Company profiles, trust scores and every public review, filterable by stars, language and date.
  • Meta Ad Library API: Search the ads running on Facebook and Instagram, with creatives, dates and advertiser.
  • SDKs for Python and TypeScript, and the MCP server for AI assistants.
  • Try every endpoint from the browser in the playground.