Google Search API · serper-compatible
Google results,
as JSON,
in one call.
Thirteen search types from one endpoint, answered live from Google. Same paths, same fields, same X-API-KEY header as serper.dev — change the base URL and keep your code.
No card. Credits on sign-up.
{
"searchParameters": {
"type": "search",
"engine": "google",
"q": "best espresso machine",
"gl": "us",
"hl": "en",
"device": "desktop"
},
"organic": [
{
"title": "The 9 Best Espresso Machines of 2026, Tested",
"link": "https://www.example-reviews.com/best-espresso-machines",
"snippet": "We pulled more than 400 shots to find the espresso machines worth buying…",
"date": "Sep 25, 2026",
"position": 1
},
{
"title": "Espresso machine buying guide",
"link": "https://www.example-coffee.com/guides/espresso",
"snippet": "Boiler, thermoblock or dual boiler? What matters for milk drinks…",
"position": 2,
"sitelinks": [
{
"title": "Grinders",
"link": "https://www.example-coffee.com/grinders"
}
]
}
],
"peopleAlsoAsk": [
{
"question": "Which espresso machine do baristas recommend?"
}
],
"relatedSearches": [
{
"query": "best espresso machine under 500"
}
],
"credits": 1
}- search types
- 13
- queries per batch call
- 100
- credits for a failed call
- 0
A drop-in replacement
Every request and response follows serper's shape. Point your client at the new base URL; nothing else changes.
The catalogue
Thirteen ways to ask Google
Each type is one POST with the same headers. Credits are per call, charged only when Google answers.
- 01
Search
1 crOrganic results, knowledge graph, People also ask and related searches.
POST /search
- 02
Images
1 crImage results with full-size and thumbnail URLs and dimensions.
POST /images
- 03
Videos
1 crVideo results with duration, channel, thumbnail and date.
POST /videos
- 04
Places
1 crThe local pack: businesses with address, rating, coordinates and cid.
POST /places
- 05
Maps
3 crGoogle Maps results around a viewport, with opening hours and ids.
POST /maps
- 06
Reviews
1 crRecent reviews for a place, looked up by cid, fid or placeId.
POST /reviews
- 07
News
1 crFresh articles with source, date, snippet and image.
POST /news
- 08
Shopping
2 crProduct listings with price, merchant, rating and image.
POST /shopping
- 09
Lens
3 crVisual matches for an image URL — Google Lens, as JSON.
POST /lens
- 10
Scholar
1 crPapers with authors, year, citation count and PDF links.
POST /scholar
- 11
Patents
1 crPatent documents with dates, inventor, assignee and number.
POST /patents
- 12
Autocomplete
1 crThe suggestions Google offers while someone types.
POST /autocomplete
- 13
Webpage
2 crAny URL as plain text plus its metadata and JSON-LD.
POST /webpage
[ { … }, { … } ]
Batch up to 100
Send an array instead of an object and get the answers back in the same order, each billed on its own.
Why it holds up
Pay for answers, not attempts
A failed call costs nothing. The deduction and the log row are written in one transaction.
Any country, any language
gl, hl and location pick where the search runs from — local merchants, local currency, local ranking.
Desktop or mobile
Choose the full desktop page or Google's light mobile page, with real links and mobile ranking.
Batch up to 100
Send an array instead of an object and get the answers back in the same order, each billed on its own.
Credits
One credit, most of the time
Every new account starts with 2,500 free credits. Need more? Get in touch — paid plans are on the way.
Need more credits? Ask the team that gave you access.
| Type | Credits / call | Calls per 2,500 credits |
|---|---|---|
| Search | 1 | 2,500 |
| Images | 1 | 2,500 |
| Videos | 1 | 2,500 |
| Places | 1 | 2,500 |
| Maps | 3 | 833 |
| Reviews | 1 | 2,500 |
| News | 1 | 2,500 |
| Shopping | 2 | 1,250 |
| Lens | 3 | 833 |
| Scholar | 1 | 2,500 |
| Patents | 1 | 2,500 |
| Autocomplete | 1 | 2,500 |
| Webpage | 2 | 1,250 |
Your first query is one curl away.
Create an account, copy your key, run the example. 2,500 credits are waiting.