Perform a web search and return structured results.
cURL
curl --request POST \ --url https://api.browserbase.com/v1/search \ --header 'Content-Type: application/json' \ --header 'X-BB-API-Key: <api-key>' \ --data ' { "query": "<string>", "numResults": 10 } '
{ "requestId": "<string>", "query": "<string>", "results": [ { "id": "<string>", "url": "<string>", "title": "<string>", "author": "<string>", "publishedDate": "2023-11-07T05:31:56Z", "image": "<string>", "favicon": "<string>" } ] }
Your Browserbase API Key.
The search query string
1 - 200
Number of results to return (1-25)
1 <= x <= 25
The request has succeeded.
Unique identifier for the request
The search query that was executed
List of search results
Show child attributes
Was this page helpful?