v1

latestOpenAPI 3.0.32026-07-2246176.0 KB
SERP API

Search

Run a Google search and receive parsed results as JSON. Authenticate with HTTP Basic Auth using a SERP API sub-user's username and password (create and manage sub-users in the dashboard).

get/

Query parameters

qstring required

The search query. URL-encode it.

glstring

Two-letter country code for the search location (Google gl), e.g. us, de, fr.

hlstring

Two-letter interface language code (Google hl), e.g. en, es.

startinteger

Result offset for pagination. 0 is the first page, 10 the second, and so on.

rawhtml0 | 1

Set to 1 to also return the raw HTML of the results page in the html field. 0 omits it.

Response

Parsed search results. Organic results are under results[0].Organic.

querystring

The query that was executed.

urlstring

The Google search URL the request resolved to.

htmlstring

Raw HTML of the results page. Populated only when rawhtml=1.