Skip to content

Google Search API

Google web search: the ranked organic results for a query, in Google's order (up to 30 per call). Each result has its rank (position, counting from 1 across pages), a stable id, title, destination url (url_resolved tells whether url is the page itself or Google's result link), displayed_url, domain, source (site name), snippet, and the date Google shows before the snippet (as displayed, else null). next_start is the start value of the following call.

GEThttps://api.maviapi.com/v1/sites/google/search25 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalbest hiking bootssearch query, e.g. "best hiking boots"
numinteger in queryOptional10how many results to return, 1 to 30; Google shows about 10 per page, so 20 or 30 reads two or three pages
startinteger in queryOptional0Google result offset: 0 is the first page, 10 the second, and so on (use next_start from the previous call)
hlstring in queryOptionaleninterface language of the results, e.g. en, de, fr, pt-BR
glstring in queryOptionaluscountry to search from, two-letter code, e.g. us, gb, de

Response fields

querystringe.g."best hiking boots"
hlstringe.g."en"
glstringe.g."us"
startintegere.g.0
countintegere.g.9
next_startintegere.g.10
resultsobject[]10 fields
positionintegere.g.1
idstringe.g."a9156317db4e4142"
titlestringe.g."Best Hiking Boots of 2026"
urlstringe.g."https://bettertrail.com/outdoor-gear/best-hiking-boots"
url_resolvedbooleane.g.true
displayed_urlstringe.g."https://bettertrail.com › outdoor-gear › best-hiking-boots"
domainstringe.g."bettertrail.com"
sourcestringe.g."Better Trail"
snippetstringe.g."See the best hiking boots of 2026, field-tested by our team of experts, from top brands like Hoka, Merrell, Salomon, La Sportiva, Keen, ..."
datestringe.g."4 days ago"
paginationobject3 fields
countintegere.g.9
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T10:20:15.930Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 25 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/google/search' \
  -H "Authorization: Bearer $MAVI_KEY"

Google Search API questions

What you get, what it costs and how to call it.

What does the Google Search API return?

Google web search: the ranked organic results for a query, in Google's order (up to 30 per call). Each result has its rank (position, counting from 1 across pages), a stable id, title, destination url (url_resolved tells whether url is the page itself or Google's result link), displayed_url, domain, source (site name), snippet, and the date Google shows before the snippet (as displayed, else null). next_start is the start value of the following call. The response has query, hl, gl, start, count, next_start, results, pagination and 2 more.

Which parameters does the Google Search API take?

Every parameter of GET /search is optional. You can pass q, num, start, hl and gl.

How much does one Google Search API call cost?

One successful call costs 25 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $4.90. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Google Search API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/google/search with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Google Search API official?

No. It is an independent, hosted API from maviapi for the public data on google.com, and it is not made, endorsed or supported by Google. Its parameters and response fields are documented on this page.