SERP API Google Query Parameters
Understand the query parameters for Thordata’s SERP API - Google Search.
Search Term Example:
q
Search Term
Specify search keywords
q=pizza
Localization Used to specify the language and locale of the search results. Example:
hl
Language
Specify the display language of the search results interface
hl=en,hl=zh-CN...
gl
Country
Specify the display of search results according to the habits of users in that country.
gl=US,gl=CN...
Location Specifies the geocoded location of the search, altering the geographic context. You can download a file of all available values here. Example:
uule
Location
Specify precise geographic location based on coordinates (Base64 encoded)
uule=w+CAIQICINVW5pdGVkIFN0YXRlcw
Search Type Used to define the type of search. No tbm parameter is required for general search, but each other type uses a specific tbm value. Example:
tbm
Search type
Specify search type
tbm=nws tbm=vid tbm=isch tbm=shop
Pagination Used to set result offset and number of results to return. Example:
start
Pagination
Specify search page number (offset)
start=10 (Display page 2) /00/10.../100
num
Results per page
Specify the number of results per search page
num=100 (Up to 100 results) 1....100
Safe Search Used to control whether explicit/adult content is filtered. Example:
safe
Safe
Mainly used to block explicit adult content (such as pornography, violence, etc.)
safe=active safe=off
Parsing A Thordata custom parameter that allows you to receive a parsed JSON result instead of raw HTML. Example:
json
Parsing
Specify output format
No json value (returns HTML) json=1 (returns JSON) json=2 (returns JSON + HTML)
Last updated
Was this helpful?