Fetch the Google SERP for a given query (returns all data)
Fetch the Google SERP for a given query (returns all data).
When `save_to_tmp_storage` is enabled, the SERP results are written to
temporary project storage and a URL is returned instead of the inline results.
Playground
Log inLog in to try this tool. The request uses your session.
POST
item
queryrequired
The search query to analyze
config
location_id
Location ID (optional)
location_request
Location request (ex: Paris, FR), will translate to location ID
country_code
ISO3166 country code (ex: GB)
lang_code
BCP47 language code (ex: "en", "en-GB")
device
Device to use for search (optional - defaults to mobile)
save_to_tmp_storage
Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.
limit
Limit the number of results (optional - defaults to 30)
data_level
Should we return just main information (item_type (organic, shopping, knowledge_graph, people_also_ask, people_also_search...), title, description, rank), or all information (featured snippets, ratings, prices, refinement chips...)
Credits
Fixed cost per item requested, plus one set of search results (live) per query. Every query is fetched while you wait, including the ones in a batch: this tool has no background route, so asking for many at once costs the same per query as asking for one.
These usage SKUs can be charged on a call.
SKU
Credits
Description
Tool call
1 per request
Charged once per successful item, on top of any usage below.
Search results (live)
2 per query
One organic search-results page for one query, fetched while you wait.
Schemas
item is what you send, config how the tool behaves,
and the response is what you get back.
Item
object
Properties
querystringrequired
The search query to analyze
max length 700
Example
{
"query": "string"
}
Configuration
object
Properties
location_idinteger | null
Location ID (optional)
Default: null
location_requeststring | null
Location request (ex: Paris, FR), will translate to location ID
Default: null
country_codestring | null
ISO3166 country code (ex: GB)
Default: null
lang_codestring | null
BCP47 language code (ex: "en", "en-GB")
Default: null
devicestring
Device to use for search (optional - defaults to mobile)
Values:mobiledesktop
Default: "mobile"
save_to_tmp_storageboolean
Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.
Default: false
limitinteger
Limit the number of results (optional - defaults to 30)
Default: 30
data_levelstring
Should we return just main information (item_type (organic, shopping, knowledge_graph, people_also_ask, people_also_search...), title, description, rank), or all information (featured snippets, ratings, prices, refinement chips...)