Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Headers

Idempotency-Key
string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Maximum string length: 255

Body

application/json
query
string
required

Search query.

count
integer

Number of results (1–20, default 5).

site
string

Optional domain to scope the search to, e.g. "stripe.com".

scrape
boolean

Scrape each result's page content into markdown (default false).

Response

OK

results
object[]
provider
string