Google Search API
Send a keyword, get back the Google results page exactly as a searcher sees it: every block, every result, with its rank, its page and its pixel position.
- 1,000 free SERPs
- No credit card
Every block
Each block on the page comes back in the JSON under its own type, with its results in display order.
| Type | What it is |
|---|---|
organic | Organic results |
paid_top, paid_bottom | Google Ads, at the top and bottom of the page |
local_pack | Local pack, with rating, review count, price range and displayed details |
people_also_ask | People Also Ask questions |
featured_snippet | Featured snippet (position zero) |
knowledge_graph | Knowledge Graph, the right-hand panel |
top_stories | Top stories |
videos, images | Videos and images |
shopping | Shopping ads |
sitelinks | Sitelinks under a result |
ai_overview_citation, ai_overview_citation_source, ai_overview_panel | AI Overviews: brands cited in the text, citation sources and source panel |
location_sites, recipes, find_results_on | Location sites, recipes, “Find results on” and other blocks |
Google's real
Google no longer shows 100 results on a single page. We walk through the pagination page by page, like a searcher, up to 10 pages per keyword (about 100 results). Every result tells you which page it appears on.
Depth of your choice
The depth parameter goes from 1 (about 10 results) to 10 (about 100 results).
Only pages found are billed
10 pages requested, 4 found: only 4 are billed.
Search operators
site:, inurl:, intitle:, allintitle:, filetype: and logical combinations are supported.
Rank, overall rank
Three measures for every result. rank_type ranks it within its block, rank_serp among every element on the page in real vertical order, and pixel gives its distance from the top of the page. A 1st organic result sitting below a local pack and ads doesn't get the visibility its position suggests.
AI Overviews,
Every SERP is rendered in a real browser. AI Overviews that load after the page are captured, with the brands cited, the citation sources and the source panel.
Request
One POST request to /v1/serp, up to 1,000 keywords per call. Results are then fetched by ID, or delivered to your callback URL. No code needed: the same collection runs from Claude, ChatGPT or Cursor through the MCP server. To feed agents, RAG pipelines or evaluations, see the SERP API for AI. Sending tens of thousands of keywords? See the Bulk SERP API.
| Parameter | Description |
|---|---|
search_engine | google_search |
keyword | The keyword, operators included |
device | desktop or mobile |
location | Google version, e.g. fr for google.fr or us for google.com |
language | Interface language (e.g. en) |
depth | Number of pages, from 1 to 10 |
geolocation | Optional: city, region and country separated by commas, or a GPS position as latitude,longitude (e.g. 43.7102,7.2620) |
priority | Optional: processing priority, from 1 to 10 |
callback_url | Optional: URL that receives the results once the keyword is processed |
Build your request
curl -X POST 'https://api.semscraper.com/v1/serp' \
-H 'Authorization: Bearer API_KEY' \
-H 'Content-Type: application/json' \
-d '[{"search_engine":"google_search","keyword":"restaurant","device":"desktop","location":"fr","language":"fr","depth":1,"geolocation":"Nice, Alpes-Maritimes, France"}]'
Pay
No subscription: you top up your balance, and each SERP retrieved is deducted.
1 to 10% discount depending on the amount topped up. Your balance never expires.
Go further
What is the best SERP API for your project?
There is no single best SERP API. It all depends on your use case, your volume and how long you can wait for results. Here are seven services compared on practical criteria, with their strengths and limits.
Read the guide →How to scrape Google in 2026
Collecting Google results at scale has never been this demanding: 100 results per page are gone, AI Overviews load late, and SERPs change from city to city. Here are the options and the pitfalls.
Read the guide →Getting Google's top 100 without num=100
For years, adding num=100 to the search URL was enough to get 100 results in one go. Not anymore. Here is how to still get a reliable top 100.
Read the guide →Pixel position: why ranking #1 is no longer enough
Being first among organic results says little about what the searcher actually sees. Pixel position measures where your result really shows up.
Read the guide →Geolocated SERPs: Google results as seen from a city
Two people typing the same search in two different cities don't see the same page. To measure local SEO, you need to collect the SERP from the right location.
Read the guide →Clustering keywords by SERP similarity
Two keywords that show the same pages in Google answer the same intent: one page should target both. Here is the method, the right thresholds and a ready-to-use script.
Read the guide →