Skip to main content
POST
Result retention: Pass storage.expires_in to keep this search’s stored files longer than the default of 7 days. Values: 7d, 10d, 30d, 60d, 90d, 180d, 365d, or never. See Storage for details.
People and company search: Set category.type to people or companies to search professional profiles or companies, from a natural-language query, explicit category.parameters, or both. Results come back in result.people or result.companies. See People and company search.

Authorizations

Authorization
string
header
required

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

Body

application/json
storage
object

Controls how long this search's stored files (its file and any scraped link content) are retained. When omitted, they are kept for 7 days. The value in effect is returned in the response as storage.expires_in. See the Storage section in the feature docs. An invalid value returns 400 with code invalid_storage_expires_in.

query
string

The search query in natural language, in any language. Required unless category.type is people or companies, where category.parameters can be sent instead. With people or companies it is translated into category.parameters.

Example:

"What's going on with OpenAI's Sora shutting down?"

category
object

What to search. any (default) is the web search. people and companies search professional profiles and companies: send query in natural language, parameters, or both. limit, include_domains, exclude_domains and scrape_options are then ignored. A people or companies search costs 40 credits when it returns at least one result, and 0 otherwise.

limit
integer
default:12

Maximum number of links to return after deduplication.

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

10

include_domains
string[]

Restrict results to these domains. Bare hosts only — leading http(s):// and trailing slashes are stripped automatically.

Example:
exclude_domains
string[]

Exclude results from these domains. Bare hosts only — leading http(s):// and trailing slashes are stripped automatically.

Example:
fast_mode
boolean
default:false

Request a direct, low-latency search using your query verbatim. Default mode performs a broader search pass for wider result coverage.

scrape_options
object

Optional. When provided, each returned link is also scraped and its content embedded into the response. Per-page scrape credits are billed automatically by the underlying /v1/scrapes endpoint.

Response

Successful response with search results.

storage
object

Retention applied to this search's stored files.

id
string
Example:

"search_9bi0sbj9xa"

object
string
Example:

"search"

created
integer
Example:

1760327323

metadata
object
query
string
Example:

"Best Answer Engine Optimization startups"

credits_consumed
integer

Total credits consumed by this request: 5 base search credits + sum of per-page scrape credits when scrape_options was used.

Example:

10

result
object