POST
cURL
Search the web and, with scrapeOptions, read the results. For a guide with examples, see Search.

Authorizations

Authorization
string
header
required

Your API key from the dashboard. It starts with sr-.

Body

application/json
query
string
required
Example:

"open source vector databases"

limit
integer
default:10

Results per source.

Required range: x <= 100
sources
enum<string>[]

Where to search.

Available options:
web,
images
includeDomains
string[]

Only return results from these domains.

tbs
string

A time range, like qdr:m for the past month.

scrapeOptions
object

Read every result page too, in these formats. Each page read costs what a scrape would.

Response

The results, grouped by source.

success
boolean
Example:

true

data
object
creditsUsed
integer