Skip to main content
POST
Search the open web with Google

Request contract

  • Method and path: POST /apis/v1/serper/web-search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/serper/web-search
  • Runtime facts: 8bc115d1f8bde92adda9a817ccc8a3209c42d5e6b6fca193b1621425d312ca56
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.001 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.001
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_header

Authorizations

Authorization
string
header
required

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

Body

application/json
q
string
required
Minimum string length: 1
Example:

"OpenAI API documentation"

num
enum<integer>
required
Available options:
10
Required range: 10 <= x <= 10
location
string

Canonical Google location name; discover supported values with Serper's public /locations route.

Example:

"New York, New York, United States"

gl
string
default:us

Two-letter country code.

Example:

"us"

hl
string
default:en

Google interface language code.

Example:

"en"

tbs
string

Google advanced-search/date filter, for example qdr:w for the past week.

page
integer
default:1
Required range: x >= 1
autocorrect
boolean
default:true

Response

Successful response