Google Search overview
Real-time Google results for a query, country, language, device and place, as JSON, HTML or both.
POST
/v1/search/lightWhat it returns
Always: search_metadata, search_parameters, search_information, ranked organic_results and pagination. When Google shows them: knowledge_graph, ai_overview with its sources, related_questions, related_searches and local_results. See Response.
Absent means absent
Blocks and fields the page did not carry are left out of the response. They are never sent as null, so you can tell “Google showed no rating” from “we did not look”.
JSON, HTML or both
format | Returns |
|---|---|
json | The parsed results. The default. |
html | Google’s page as text/html. |
both | The parsed results, with the page in html. |
Pagination
| Parameter | What it does |
|---|---|
start | Gets one page per call, up to page 20: 0 is page 1, 10 is page 2. pagination.next_start gives the next value. |
pages | Gets pages 1 to N in one call, up to 10. Each page counts as a search. Not with format: "html". |
Also supported
- Mobile results:
device: "mobile","iphone"or"ipad", same price. - A place below country level:
uule, a city, a state or a postal code. - Your own Google results URL:
url, instead of the query. - A time range (
time_range) and safe search (safe). - The AI Overview Google loads after the page:
ai_overview: true.
Example
{
"query": "coffee shops austin",
"country": "US",
"locale": "en",
"device": "mobile",
"uule": "w+CAIQICIaQXVzdGluLFRleGFzLFVuaXRlZCBTdGF0ZXM",
"ai_overview": true
}Not in this API
Ads, shopping and the extra blocks (answer box, top stories, videos, discussions, sitelinks, rich snippets) belong to Google Search Advanced (POST /v1/search), coming soon. Image and video carousels are not parsed here.