All sites
Data API
Google Data API
Search, news, patents and trends data from Google.
58endpointsRate Limit · recaptcha handled for you
Example
google.com
ExampleJSON responseclick the page to trace a field
{
"search_metadata": {
"status": "Success",
"created_at": "2026-08-15T12:00:00Z",
"engine": "google",
"google_url": "https://www.google.com/search?q=how+do+tariffs+affect+inflation&gl=us&hl=en&udm=50"
},
"search_parameters": {
"engine": "google",
"q": "how do tariffs affect inflation",
"gl": "us",
"hl": "en",
"google_domain": "google.com",
"device": "desktop"
},
"ai_overview": {
"query": "how do tariffs affect inflation",
"answer": "Tariffs raise the cost of imported goods, and businesses often pass those higher costs on to consumers, which can contribute to inflation.
Economists note the inflationary effect is usually a one-time price-level shift rather than a sustained increase in the rate of inflation.",
"answer_blocks": [
"Tariffs raise the cost of imported goods, and businesses often pass those higher costs on to consumers, which can contribute to inflation.",
"Economists note the inflationary effect is usually a one-time price-level shift rather than a sustained increase in the rate of inflation."
],
"sources": [
{
"title": "How tariffs work",
"link": "https://www.example.com/tariffs-explained",
"source": "example.com",
"favicon": "https://www.google.com/s2/favicons?domain=example.com&sz=64"
},
{
"title": "Tariffs and prices",
"link": "https://econ.example.org/tariffs-inflation",
"source": "econ.example.org",
"favicon": "https://www.google.com/s2/favicons?domain=econ.example.org&sz=64"
}
],
"related_questions": [
"Do tariffs cause long-term inflation?",
"Who ultimately pays for tariffs?",
"How do tariffs affect the trade deficit?"
]
}
}
GET
/v1/data/google/ai-mode/search1 credit / runAI Mode
Google's generative AI answer (udm=50): the answer text blocks, the cited source links, and the follow-up question chips.
Handled for you:Rate Limitrecaptcha
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | yes | Question / query (parameter q). |
| Advanced filters | |||
| gl | string | no | Two-letter country code, e.g. us, gb, de. (default: us) |
| hl | string | no | UI language, e.g. en, es, fr. (default: en) |
| google_domain | string | no | Google domain to use, e.g. google.com, google.co.uk, google.de. (default: google.com) |
| device | string | no | Device to emulate: desktop, mobile, or tablet. (default: desktop) |