How do you scrape Google search results via API without getting blocked?
To scrape Google search results without proxies or captcha solvers, call ReefAPI's Google Search endpoint with a query and read the returned organic results as structured JSON.
This guide demonstrates the real Google Search API engine with a captured response from . The example is only published because the engine passed the SEO snapshot gate.
Rank tracking, SERP monitoring, SEO research and AI-answer visibility tracking.
Call the live endpoint
- 1
Pick a query
Start with a specific keyword or question so the response stays focused and easy to review.
- 2
Call google-search/v1/search
Send the query param from the captured example with your ReefAPI key in the x-api-key header.
- 3
Normalize results from data
Store title, link, snippet and organic position for each result in your workflow.
- 4
Check meta before charging jobs
Use meta.record_count, latency_ms and error to confirm a clean response before downstream rank tracking.
Copy the request
These snippets use the captured request params for google-search/v1/search.
curl -X POST https://api.reefapi.com/google-search/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"q":"best laptop 2026","num":10}'import requests
r = requests.post(
"https://api.reefapi.com/google-search/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"q": "best laptop 2026",
"num": 10
},
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/google-search/v1/search", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"q": "best laptop 2026",
"num": 10
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.google-search.search with {"q":"best laptop 2026","num":10}.Captured output from ReefAPI
Captured on UTC. The response below is the committed snapshot, including the API envelope and metadata.
{
"method": "POST",
"url": "https://api.reefapi.com/google-search/v1/search",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"q": "best laptop 2026",
"num": 10
}
}{
"ok": true,
"meta": {
"api": "google-search",
"endpoint": "search",
"mode": "live",
"latency_ms": 13079.5,
"record_count": 9,
"bytes": 72072,
"cache_hit": false,
"completeness_pct": 100,
"pages_fetched": 1,
"start": 0,
"attempts": 1
},
"data": {
"query": "best laptop 2026",
"hl": "en",
"gl": "us",
"organic_results": [
{
"rank": 1,
"title": "Best Laptops (2026): My Top Recommendations | WIRED",
"url": "https://www.wired.com/story/best-laptops/",
"displayed_url": "www.wired.com › Gear › laptops",
"snippet": "6-day delivery 30-day returns6 days ago · The Laptops I Recommend Most Apple MacBook Air (M5, 2026) standard. The M5 generation is the Dell XPS 14 (2026) Framework Laptop 13 for $849: ..."
},
{
"rank": 2,
"title": "The Best Laptops for 2026 - PCMag UK",
"url": "https://uk.pcmag.com/laptops/158/the-best-laptops",
"displayed_url": "uk.pcmag.com › Roundup › Laptops",
"snippet": null
},
{
"rank": 3,
"title": "Laptop Buying Guide 2026 - Don't Waste Your Money! - YouTube",
"url": "https://www.youtube.com/watch?v=QyhBakGTyeI",
"displayed_url": "www.youtube.com › watch",
"snippet": "Jan 18, 2026 · EASY Laptop Buying Guide for 2026. What's new this year, best specs, and how much should you spend? My laptop recs (Jan '26) ▷ Everyday ..."
}
],
"people_also_ask": [],
"related_searches": [],
"answer_box": {
"type": "featured_snippet",
"text": "The best laptops for 2026 are highlighted by the exceptional battery efficiency of Apple's M5 chips and the gorgeous OLED displays of the newest Windows Copilot+ PCs. Whether you need a premium creative workstation or a budget-friendly ultraportable, these benchmarked picks stand out in their categories."
},
"result_type": "search"
}
}Why this is hard manually
Google is the canonical hard scrape: it rate-limits by IP, serves captchas to datacenter ranges, personalizes by location and changes SERP markup constantly. A scraper that works for one query gets challenged or blocked at any real volume.
Even when results load, normalizing title, link, snippet and organic position into a stable shape — separating ads, features and organic results — is where most DIY SERP scrapers fail.
Why ReefAPI solves it
ReefAPI wraps the working Google Search engine behind one POST request and returns the standard envelope: ok, data, meta and error. The live snapshot on the Google Search API page shows a real search call returning organic results with title, link, snippet and position.
Use it when you need dependable SERP data for rank trackers, SEO dashboards, AI-visibility monitoring or agents — without solving captchas or buying proxy pools.
Questions developers ask
Do I need a Google API key?
No. You call ReefAPI with your x-api-key; no Google account, CSE or SerpAPI key is required for public search results.
Why does my Google scraper keep getting blocked?
Google scraping needs clean residential IPs, rotation and captcha handling to survive rate limits. ReefAPI handles all of that for you and returns live JSON; blocked or failed calls are free.
What result fields come back?
The captured response includes result titles, links, snippets and organic positions, plus response metadata.
Can I track rankings over time?
Yes. Run the query on a schedule, store positions per keyword, and compute movement in your own database.