Make Your First Request in 60 Seconds
Get up and running with Scrappa in less time than it takes to make coffee.
Step 1: Get Your API Key
Sign up for a free account and grab your API key from the dashboard.
Step 2: Choose Your Language
We support cURL, JavaScript, Python, PHP, Ruby, Go, Java, and C#.
curl -X GET "https://app.scrappa.co/api/google/search?q=coffee" \
-H "X-API-KEY: YOUR_API_KEY"
const response = await fetch('https://app.scrappa.co/api/google/search?q=coffee', {
headers: {
'X-API-KEY': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://app.scrappa.co/api/google/search?q=coffee',
headers={'X-API-KEY': 'YOUR_API_KEY'}
)
data = response.json()
print(data)
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://app.scrappa.co/api/google/search?q=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);
Step 3: Run the Code
Copy the example above and replace YOUR_API_KEY with your actual key.
You'll receive a JSON response with organic search results, knowledge graphs, and more.
Expected Response: A structured JSON object containing search results with titles, URLs, descriptions, and metadata.
Step 4: Explore More
Check out our most popular endpoints:
Ready to Build?
Try our interactive playground to test endpoints without writing code.
Open Playground