Skip to content

IntegrationsApplication Development

Browserbase API integration

Put Browserbase in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the Browserbase API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Browserbase API. You call us, we call Browserbase, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIBrowserbase

GEThttps://api.truto.one/proxy/sessions?integrated_account_id=…

  • GET/proxy/projects
  • GET/proxy/agents
  • GET/proxy/certificates
  • GET/proxy/downloads

Browserbase’s own response, passed back

02MCP server

Browserbase tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Browserbase tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Browserbase
  • SessionsList, Get one, Create, Update, Get logs, Get debug urls, Get recording, Get replays, Get replay page
  • Session recording downloadsList, Create
  • Session uploadCreate
  • ContextGet one, Create, Update, Delete
  • ProjectsList, Get one, Get usage
  • AgentsList, Get one, Create, Update, Delete
  • Agent runsList, Get one, Create, List messages, Stop
  • CertificatesList, Get one, Delete, Upload
  • ExtensionsGet one, Delete, Upload
  • DownloadsList, Get one, Delete
  • FunctionsList, Get one, Invoke
  • Function versionsList, Get one, List invocations
  • Function buildsList, Get one, Get logs
  • Function invocationsGet one, Get logs
  • FetchFetch page
  • SearchWeb search
Show tool names52 tools, for developers
  • create_a_browserbase_sessionCreate a new Browserbase session with optional browser settings, proxy configuration, region, and user metadata. Returns: id, createdAt, updatedAt, projectId, startedAt, expiresAt, proxyBytes, keepAlive, connectUrl, seleniumRemoteUrl, signingKey, endedAt, contextId, userMetadata. All body fields are optional; if projectId is omitted it is inferred from the API key. Timeout must be between 60 and…
  • list_all_browserbase_sessionsList Browserbase sessions, optionally filtered by status or a user metadata query. Returns: id, createdAt, updatedAt, projectId, startedAt, expiresAt, proxyBytes, keepAlive, connectUrl, seleniumRemoteUrl, signingKey, endedAt, contextId, userMetadata.
  • get_single_browserbase_session_by_idGet a single Browserbase session by id. Returns: id, createdAt, updatedAt, projectId, startedAt, expiresAt, proxyBytes, keepAlive, connectUrl, seleniumRemoteUrl, signingKey, endedAt, contextId, userMetadata. Required: id.
  • update_a_browserbase_session_by_idClose or update a Browserbase session by id. Send status REQUEST_RELEASE to end the session before its timeout and avoid unnecessary usage charges. Returns: id, createdAt, updatedAt, projectId, startedAt, expiresAt, proxyBytes, keepAlive, connectUrl, seleniumRemoteUrl, signingKey, endedAt, contextId, userMetadata. Required: id, status.
  • browserbase_sessions_get_logsRetrieve Chrome DevTools Protocol (CDP) logs for a Browserbase session. Returns: method, pageId, sessionId, request, response, timestamp, frameId, loaderId. Required: session_id.
  • browserbase_sessions_get_debug_urlsGet live debug URLs for a Browserbase session, including the debugger URL, fullscreen debugger URL, per-page debug URLs, and the WebSocket connection URL. Returns: debuggerFullscreenUrl, debuggerUrl, pages, wsUrl. Required: session_id.
  • browserbase_sessions_get_recordingGet the rrweb recording events for a Browserbase session. Returns an array of event objects, each containing: data, sessionId, timestamp, type. Required: session_id.
  • browserbase_sessions_get_replaysGet replay page metadata for a Browserbase session. Returns a list of pages (each with pageId, url, startTimeMs, endTimeMs) and a pageCount. Required: session_id.
  • browserbase_sessions_get_replay_pageGet an HLS VOD media playlist (.m3u8) for a specific page of a Browserbase session replay. Returns the raw m3u8 playlist string. Required: session_id, page_id.
  • create_a_browserbase_session_recording_downloadEnqueue recording downloads (MP4) for a Browserbase session. Returns: downloads, statusCode, error, message. Required: session_id. Poll the list endpoint to check download completion status.
  • list_all_browserbase_session_recording_downloadsList per-page recording download status for a Browserbase session, with a short-lived signed URL for each completed page on standard (non-BYOS) projects. Returns: downloads, statusCode, error, message. Required: session_id.
  • create_a_browserbase_session_uploadUpload a file to a Browserbase session for use during the browser session. Returns: message. Required: session_id, file.
  • create_a_browserbase_contextCreate a Browserbase context for uploading a custom user-data-directory. Returns: id, uploadUrl, publicKey, cipherAlgorithm, initializationVectorSize. Accepts an optional projectId (inferred from the API key if omitted).
  • get_single_browserbase_context_by_idGet a single Browserbase context by id. Returns: id, createdAt, updatedAt, projectId. Required: id.
  • update_a_browserbase_context_by_idUpdate a Browserbase context by id, refreshing the upload URL and encryption credentials for the user-data-directory. Returns: id, uploadUrl, publicKey, cipherAlgorithm, initializationVectorSize. Required: id.
  • delete_a_browserbase_context_by_idDelete a Browserbase context by id. Returns an empty 204 response on success. Required: id.
  • list_all_browserbase_projectsList Browserbase projects. Returns: id, createdAt, updatedAt, name, ownerId, defaultTimeout, concurrency. Max 1000 per page.
  • get_single_browserbase_project_by_idGet a single Browserbase project by id. Returns: id, createdAt, updatedAt, name, ownerId, defaultTimeout, concurrency. Required: id.
  • browserbase_projects_get_usageGet usage statistics for a Browserbase project. Returns: browserMinutes, proxyBytes. Required: project_id.
  • create_a_browserbase_agentCreate a new reusable Browserbase agent with a system prompt and optional result schema. Returns: agentId, name, createdAt, updatedAt, systemPrompt, resultSchema. Required: name.
  • list_all_browserbase_agentsList Browserbase agents across your account, filterable by creation time. Returns: agentId, name, createdAt, updatedAt, systemPrompt, resultSchema.
  • get_single_browserbase_agent_by_idGet a single Browserbase agent by id. Returns: agentId, name, createdAt, updatedAt, systemPrompt, resultSchema. Required: id.
  • update_a_browserbase_agent_by_idUpdate an existing Browserbase agent by id. Only the fields provided in the body are modified; omitted fields are left unchanged. Returns: agentId, name, createdAt, updatedAt, systemPrompt, resultSchema. Required: id.
  • delete_a_browserbase_agent_by_idDelete a Browserbase agent by id. Runs that already referenced this agent are unaffected. Returns an empty 204 response on success. Required: id.
  • create_a_browserbase_agent_runCreate a Browserbase agent run from a natural language task. Returns the created run in PENDING state including runId, task, status, createdAt, updatedAt, agentId, sessionId, sandboxId, resultSchema, result, cause, startedAt, and endedAt. Required: task.
  • list_all_browserbase_agent_runsList Browserbase agent runs with optional filtering by status, agent ID, and creation time range. Returns: runId, task, status, createdAt, updatedAt, agentId, sessionId, sandboxId, resultSchema, result, cause, startedAt, endedAt.
  • get_single_browserbase_agent_run_by_idGet a single Browserbase agent run by id. Returns the full run object including runId, task, status, createdAt, updatedAt, sessionId, result, cause, startedAt, and endedAt. Required: id.
  • browserbase_agent_runs_list_messagesList messages produced by a Browserbase agent run in chronological order with oldest messages first. Returns: id, createdAt, message, runId, task, updatedAt, agentId, sessionId, sandboxId, resultSchema, result, cause, startedAt, endedAt. Required: run_id.
  • browserbase_agent_runs_stopStop an in-progress Browserbase agent run by run_id. Returns the run object including runId, task, status, createdAt, updatedAt, sessionId, and result. Required: run_id. Stopping a run that has already finished returns a conflict.
  • browserbase_certificates_uploadUpload a PEM-encoded CA certificate file to a Browserbase project via multipart form data. Browserbase validates that the file is a parseable PEM certificate at upload time (up to 100 MB). Returns: id, createdAt, updatedAt, projectId. Required: file.
  • list_all_browserbase_certificatesList all certificates in Browserbase. Returns: id, createdAt, updatedAt, projectId. Max 1000 per page.
  • get_single_browserbase_certificate_by_idGet a single Browserbase certificate by id. Returns: id, createdAt, updatedAt, projectId. Required: id.
  • delete_a_browserbase_certificate_by_idDelete a Browserbase certificate by id. Returns an empty 204 response on success. Required: id.
  • browserbase_extensions_uploadUpload a browser extension file to Browserbase as multipart form data. Returns: id, createdAt, updatedAt, fileName, projectId. Required: file.
  • get_single_browserbase_extension_by_idGet a single Browserbase extension by id. Returns: id, createdAt, updatedAt, fileName, projectId. Required: id.
  • delete_a_browserbase_extension_by_idDelete a Browserbase extension by id. Returns an empty 204 response on success. Required: id.
  • list_all_browserbase_downloadsList Browserbase downloads for a session, with optional filters by filename, MIME type, file size, and creation date. Returns: id, sessionId, filename, mimeType, size, checksum, createdAt. Required: sessionId. Max 100 per page.
  • get_single_browserbase_download_by_idGet a single Browserbase download by id. Returns: id, sessionId, filename, mimeType, size, checksum, createdAt. Required: id.
  • delete_a_browserbase_download_by_idDelete a Browserbase download by id, removing the file from storage and marking it as deleted. Returns an empty 204 response on success. Required: id.
  • list_all_browserbase_functionsList Browserbase functions. Returns: id, projectId, name, createdAt, updatedAt. Max 100 per page.
  • get_single_browserbase_function_by_idGet a single Browserbase function by id. Returns: id, projectId, name, createdAt, updatedAt. Required: id.
  • browserbase_functions_invokeInvoke a Browserbase function by id, triggering asynchronous execution with optional parameters and session creation settings. Returns: id, projectId, functionId, versionId, sessionId, status, createdAt, updatedAt, startedAt, expiresAt, region, params, results, endedAt. Required: function_id.
  • list_all_browserbase_function_versionsList Browserbase function versions for a given function. Returns: id, projectId, functionId, functionBuildId, createdAt, updatedAt, sessionCreateParams, userParamsSchema. Required: function_id. Max 100 per page.
  • get_single_browserbase_function_version_by_idGet a single Browserbase function version by id. Returns: id, projectId, functionId, functionBuildId, createdAt, updatedAt, sessionCreateParams, userParamsSchema. Required: id.
  • browserbase_function_versions_list_invocationsList invocations for a Browserbase function version. Returns each invocation's id, projectId, functionId, versionId, sessionId, createdAt, updatedAt, startedAt, expiresAt, region, params, results, and endedAt. Required: version_id.
  • list_all_browserbase_function_buildsList Browserbase function builds, optionally filtered by status. Returns: id, projectId, request, status, createdAt, updatedAt, startedAt, expiresAt, endedAt, builtFunctions, cause. Max 100 per page.
  • get_single_browserbase_function_build_by_idGet a single Browserbase function build by id. Returns: id, projectId, request, status, createdAt, updatedAt, startedAt, expiresAt, endedAt, builtFunctions, cause. Required: id.
  • browserbase_function_builds_get_logsGet build logs for a Browserbase function build. Returns: logs, total. Required: build_id.
  • get_single_browserbase_function_invocation_by_idGet a Browserbase function invocation by id. Returns the full invocation object including id, projectId, functionId, versionId, sessionId, status, createdAt, updatedAt, startedAt, expiresAt, region, params, results, endedAt, and cause. Required: id.
  • browserbase_function_invocations_get_logsGet execution logs for a Browserbase function invocation. Returns an object containing the logs array (each entry has a message and timestamp) and the total count of log entries. Required: invocation_id.
  • browserbase_fetch_fetch_pageFetch a page through Browserbase's proxy infrastructure and retrieve the response content in raw, JSON, or markdown format. Returns: id, statusCode, headers, content, contentType, encoding. Required: url.
  • browserbase_search_web_searchSearch the web via Browserbase. Returns: requestId, query, results. Required: query. Query length 1–200 characters; numResults range 1–25 (default 10).

AMCP serverno code

For any MCP client

One URL per connected Browserbase account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Browserbase tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call Browserbase the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. Browserbase is not in one yet. Build your own model, or ask us.

Browserbaseon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the Browserbase data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 a month, in Pro

    • 30-day trial on Free
    • Every unified API and your own unified models: Pro add-on

    See pricing

04Sync and webhooks

Sync Browserbase data on a schedule. Sent to your webhook.

A sync job reads Browserbase records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Browserbase endpoint. With the Truto CLI.

Need a Browserbase endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Browserbase path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Browserbase in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Browserbase in the product you build. To use Browserbase yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Browserbase tools in your product

Give the AI in your product access to each customer’s own Browserbase account, with one MCP server per connected account.

Start free with Browserbase

Rather talk it through? Book a demo

Elaichi

For your own team

Use Browserbase in your own AI

Connect your company’s Browserbase once, then ask in the AI you already use, with exactly your own access.

Works in

Browserbase on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Browserbase.

  1. Give AI copilots real web browsing powers

    Let your end users connect their own Browserbase account so your AI product can execute natural-language web tasks — logging into portals, navigating pages, and returning structured JSON — without you operating browser infrastructure.

  2. Automate workflows on sites without APIs

    Offer your workflow or RPA users a native 'Web Action' step that runs Playwright/Puppeteer scripts in managed cloud browsers, so they can automate any vendor dashboard, admin portal, or legacy tool that lacks a public API.

  3. Add auditable session replays to automated tasks

    For compliance, QA, or support automation products, surface MP4 recordings and rrweb replays of every browser session directly in your UI so end users can review exactly what the automation saw and did.

  4. Persist end-user logins securely across runs

    Use Browserbase Contexts on behalf of each customer to store cookies and localStorage, so recurring scrapes and automations skip login screens and 2FA challenges after the first successful auth.

  5. Ship LLM-ready web fetch and search as a feature

    Expose one-click web search and page-to-Markdown fetching inside your product, powered by your user's Browserbase key, so their LLM prompts always have fresh, clean, scrape-resistant context.

What you can build

Ship these with Truto and Browserbase.

  • Natural-language web agent runs

    Let users define an agent with a task prompt and a JSON result schema, kick off runs, stream messages, and retrieve structured output — all from inside your product.

  • Managed browser session orchestration

    Create, list, inspect, and update Browserbase sessions on demand, with live debug WebSocket URLs surfaced in your UI for real-time troubleshooting.

  • Session replay viewer

    Embed MP4 recordings, rrweb event streams, and replay pages directly in your dashboard so users can audit every automated browsing session.

  • Persistent auth contexts per end user

    Create and reuse Browserbase Contexts to keep each customer's cookies and login state isolated and warm across sessions.

  • Serverless browser function runner

    Let users invoke Browserbase Functions (Playwright/Puppeteer scripts) as workflow steps, track versions and builds, and pull invocation logs back into your product for observability.

  • One-call web search and page fetch tool

    Ship an LLM tool that performs web search and returns cleaned Markdown or DOM from any URL, with uploads, downloads, extensions, and certificates supported for advanced scenarios.

Security

Your customers’ Browserbase data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Browserbase account

    Use Truto’s frontend SDK to connect your customer’s Browserbase account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Browserbase

    Truto’s Proxy API is a 1-to-1 mapping of the Browserbase API. You call us, we call Browserbase, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Browserbase’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Browserbase on Truto.

How do end users authenticate their Browserbase account?

End users connect by providing their Browserbase API key and project ID. Truto stores and injects these credentials per connected account, so each of your customers' requests hit their own Browserbase workspace.

Which Browserbase resources can I manage through this integration?

You get tool-level access to Sessions (create, list, get, update, logs, debug URLs, recordings, replays, downloads, uploads), Contexts, Projects and usage, Agents and Agent Runs (including messages and stop), Certificates, Extensions, Downloads, Functions (with versions, builds, invocations, and logs), plus web fetch and search.

Can I capture video or event-stream recordings of automated sessions?

Yes. Use the session recording, replays, replay page, and recording download tools to retrieve rrweb event streams and downloadable MP4s that you can render inside your own UI.

Does this integration support running custom Playwright or Puppeteer code?

Yes. You can list and invoke Browserbase Functions, inspect function versions and builds, and pull build and invocation logs — so your users can run arbitrary browser automation scripts as part of your product.

How do I keep users logged in across multiple browser runs?

Create a Browserbase Context per end user (or per site) with the context tools, then pass the context ID when creating a session. Cookies and localStorage persist securely across runs, avoiding repeated logins.

How do I retrieve results from an AI agent task?

Create an agent with a task and result schema, start an agent run, then poll the agent run endpoint or list messages to retrieve the structured JSON result. You can also stop a running agent via the stop tool.

Browserbase

Get Browserbase integrated into your app

Sign up free, connect a test Browserbase account and make your first call today. No card and no sales call.