Skip to content
Scrappa Get API key
1

Get a web scraping API key

Sign up for a free account, verify your email, then create an API key from the dashboard. Copy it from the one-time reveal screen and store it before opening Playground. You'll get 500 free credits per month after verification.

Create Free Account
2

Run Your First Request in Playground

Open the guided dashboard Playground, select a web scraping endpoint, send a test request, and inspect the JSON, Data, and Code tabs before wiring it into your app.

Prefer raw code? Choose your language and replace YOUR_API_KEY with your actual key.

curl -X GET "https://scrappa.co/api/search?query=coffee" \
  -H "X-API-KEY: YOUR_API_KEY"
const response = await fetch('https://scrappa.co/api/search?query=coffee', {
  headers: {
    'X-API-KEY': 'YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);
import requests

response = requests.get(
    'https://scrappa.co/api/search?query=coffee',
    headers={'X-API-KEY': 'YOUR_API_KEY'}
)

data = response.json()
print(data)
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://scrappa.co/api/search?query=coffee');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'X-API-KEY: YOUR_API_KEY'
]);

$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);

print_r($data);
3

Get Your Results

You'll receive a structured JSON response with organic search results, knowledge graphs, and more.

Expected Response

A structured JSON object containing search results with titles, URLs, descriptions, featured snippets, and rich metadata.

Example JSON response

First request to /api/search?query=coffee

200 OK
{
  "search_information": {
    "query_displayed": "coffee",
    "total_results": 123456
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Coffee - Wikipedia",
      "link": "https://en.wikipedia.org/wiki/Coffee",
      "displayed_link": "en.wikipedia.org > wiki > Coffee",
      "snippet": "Coffee is a brewed drink prepared from roasted coffee beans...",
      "source": "en.wikipedia.org"
    }
  ],
  "related_searches": [
    {
      "query": "coffee beans",
      "link": "https://www.google.com/search?q=coffee+beans"
    }
  ],
  "knowledge_graph": null,
  "total_results": 1,
  "engine_used": "google",
  "service_used": "google"
}
4

Explore More Endpoints

Check out our most popular APIs to supercharge your application.

Featured travel API

Booking.com scraper API docs

Pull Booking.com hotel result cards, property-page metadata, visible prices, availability signals, and review score fields from the main docs hub. Use the Booking scraper API docs for Booking-specific hotel data, or compare against Google Hotels when you need a broader hotels scraper API workflow.

OpenAPI Specification

Import our API spec into Postman, Insomnia, or any OpenAPI-compatible tool.

Data Streams webhooks

Every authenticated, billable JSON endpoint shown in the Data Streams dashboard can emit events. Delivery costs 0.2 credits only when your webhook returns 2xx.

At least once: duplicates are possible. Persist event_id or delivery_id as an idempotency key before processing.

Signatures: compute HMAC-SHA256 over X-Scrappa-Timestamp + "." + raw body and compare the v1=-prefixed value to X-Scrappa-Signature.

Retries: failures retry up to ten times over 24 hours. After ten consecutive failures, re-verify the webhook to close its circuit.

Volatile retention: payloads expire after 48 hours. Manual redelivery works only before expiry.

Forward only: there is no payload filtering, buffering, or historical backfill. Credit and optional budget pauses skip new events.

Recovery: restore credits or wait for the UTC budget reset; for webhook pauses, fix the receiver and use Reactivate to send a new signed verification event.

signed_payload="${x_scrappa_timestamp}.${raw_body}"
expected="v1=$(printf '%s' "$signed_payload" | openssl dgst -sha256 -hmac "$signing_secret" -hex | cut -d' ' -f2)"
test "$expected" = "$x_scrappa_signature"
?

Frequently Asked Questions

The quickest answers developers ask before they ship their first Scrappa integration.

How do I get an API key?

Create a free Scrappa account, verify your email, then create an API key from the dashboard. Scrappa reveals each new key once, so copy it from the reveal screen and store it before opening Playground or wiring it into your app. New accounts get 500 free credits each month after verification, so you can test requests before upgrading.

What endpoints are available?

Scrappa gives you access to 80+ endpoints across Google Search, Google Maps, YouTube, LinkedIn, TikTok, Trustpilot, Google Flights, Google Hotels, and other web data sources.

What does the API return?

Responses are returned as structured JSON so you can work with search results, reviews, videos, business data, and other records without scraping HTML yourself.

Can I test endpoints before building an integration?

Yes. You can use the interactive playground, copy the cURL or SDK examples from the docs, or import the OpenAPI spec into your API client to test requests immediately.

Ready to Build?

Try our interactive playground to test endpoints without writing code.

Get key and launch