Skip to main content
POST
Search the web and news

Request contract

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

Cost and request rules

Usage-based billing; Default request estimate: $0.005 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.005
  • 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
query
string
required
Minimum string length: 1
Example:

"site:example.com Example Domain"

count
integer
required

Maximum per result section; web and news can each return this many.

Required range: 1 <= x <= 100
Example:

1

offset
integer
Required range: 0 <= x <= 9
freshness
string

day | week | month | year, or YYYY-MM-DDtoYYYY-MM-DD

country
string

Supported country code.

language
string

Supported BCP 47 language tag.

safesearch
enum<string>
Available options:
false,
moderate,
strict
include_domains
string[]
Maximum array length: 500
exclude_domains
string[]
Maximum array length: 500
boost_domains
string[]
Maximum array length: 500
knowledge
enum<string>

Include licensed structured results at no extra charge.

Available options:
core

Response

Successful response