Google SERP API
POSThttps://api.acedata.cloud/serp/google

Google Search API with customizable search parameters.

Agent integrations

Request Headers

acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token

Request Body

typestringRequired parameter
Please select
querystringRequired parameter
Search query keywords.
countrystring
The country/region code used by the search engine is `US` (United States) by default.
languagestring
The language code used by the search engine is `en` (English) by default.
image_sizestring
Image size filter. Only valid when type is images.
Please select
rangestring
Time range filter for search results, no time limit by default.
Please select
numberinteger
The number of search results returned is 10 by default.
pageinteger
The page number of the search results is set to page 1 by default.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

Search Engine
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.