Browserbase icon

Browserbase

Browser automation, web search, and page fetches with Browserbase.

Agent → Search the Web

AI-generated

Overview

This node performs a web search using the Browserbase API. It allows users to input a search query and specify the number of results to return. The node sends the query to the Browserbase search endpoint and returns structured search results including the request ID, the original query, the list of results, and the count of results. This is useful for automating web search tasks and integrating search results into workflows.

Use Case Examples

  1. Searching for 'browserbase documentation' and retrieving the top 10 results to use in a data processing workflow.
  2. Automating a search query to gather information on a topic and then using the results for further analysis or decision making.

Properties

Name Meaning
Query The search query to run, e.g., 'browserbase documentation'. This is a required string input.
Number of Results How many search results to return, with a range from 1 to 25. Defaults to 10.

Output

JSON

  • requestId - Unique identifier for the search request.
  • query - The search query that was executed.
  • results - An array of search result objects returned by the API.
  • resultCount - The number of search results returned.

Dependencies

  • Browserbase API key credential

Troubleshooting

  • Ensure the Browserbase API key credential is correctly configured and has the necessary permissions.
  • Verify that the query string is not empty and is properly formatted.
  • Check the API endpoint URL if connection errors occur, especially if using a custom base URL.

Links

Discussion