close

Primitives

Your agent is only as good as its context

The Search and Fetch APIs let agents see and gather context on the web before acting on it.

Image

Web APIs built for agents, not humans.

Most agent tasks start with a question: where should I go, and what's there?

  • Search API

    Most search APIs are designed around how people browse. Agents don't browse. They navigate, extract, and act, and every unnecessary hop costs tokens, time, and reliability.

  • Fetch API

    Most tools return what a page looks like in theory. The Fetch API returns what's actually there. Pass a URL, choose your format, and get back clean, structured content your agent can use immediately.

Search, Fetch, and Browse.

An agent-optimized web experience

Integrated with our browser agent SDK: Stagehand

One API Key gives your agents access to the whole web.

import { Stagehand } from "@browserbasehq/stagehand";

const stagehand = new Stagehand({
  env: "BROWSERBASE"
})

await stagehand.init();

const agent = stagehand.agent({
  model: "anthropic/claude-sonnet-4-6",
});

const page = stagehand.context.pages()[0];
await page.goto("https://browserbase.com");

const result = await agent.execute({
  instruction: "Find the latest pricing for Browserbase",
  useSearch: true,
  maxSteps: 20,
});
Copied to clipboard

Start building browser agents

Image

One API Key to access the whole web.

Build, ship and scale on Browserbase