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, then connect those travel flows to Google Hotels discovery pages.

OpenAPI Specification

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

?

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