Skip to main content
POST
Search Google and get results, the AI Overview, the knowledge panel and related questions
  • Endpoint: google.search
  • Returns: data has results, aiOverview, knowledgeGraph, peopleAlsoAsk, relatedSearches, isPartial.
  • Cost: 1 credit per 10 results returned, never more than you asked for (10 credits at most). Failed calls cost nothing.
  • Paging: No.
Filter with within, country, language, and domains to include or exclude. Keys a result does not have are left out. Without a key you get up to 10 results.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required
Required string length: 1 - 400
limit
integer
default:10

How many results to return, up to 100.

Required range: 1 <= x <= 100
country
string

ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
language
string

Two-letter language code like en or pt. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
includeDomains
string[]
Maximum array length: 10
excludeDomains
string[]
Maximum array length: 10
within
enum<string>
default:all
Available options:
day,
week,
month,
year,
all

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required