Learning resourcesReviewed · Browser Use

Browser Use x402 payment guide

Browser Use's x402 guide helps developers pay for cloud browser agents with USDC, but it excludes API V4 and requires another payment for each new paid request. It covers Python and TypeScript SDKs, raw HTTP, wallet setup, existing-account top-ups and credit balances.

Researched 23 Nov 2026

In short.

Browser Use's x402 guide teaches developers to fund hosted browser agents with a crypto wallet, but API V4 is unsupported and every new paid request triggers another payment. Payments add prepaid Browser Use credit, which running tasks then consume. The guide documents SDK integration, raw HTTP, wallet-linked accounts and existing-account top-ups. Its default $1 payment ceiling applies separately to each payment, and tasks terminate if their project balance runs out. Actual task costs, successful execution and payment reliability are not established by the supplied evidence.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete captured page at [https://docs.browser-use.com/cloud/guides/x402.md], including its introductory notices, quickstarts, payment and balance mechanics, wallet setup, troubleshooting and related links. Linked documentation, repositories, skill files, protocol specifications and pricing pages are excluded. No SDK code, browser task, wallet operation, payment or balance query was executed; operational behavior and current linked-page details remain unverified.

The overview

Resource identity

This is Browser Use's documentation for paying for Browser Use Cloud through x402, a request-payment protocol attributed to Coinbase. The selected resource is the complete guide at [https://docs.browser-use.com/cloud/guides/x402.md].

It teaches a payment integration for hosted browser automation. Its SDK examples explicitly use API V3, and its HTTP endpoint supports V2 and V3. The page states that x402 does not support API V4.

Practical assessment

The guide is useful when an application or autonomous agent needs to fund browser tasks directly from a wallet, or when an existing Browser Use customer wants to add credits using USDC. It supplies concrete installation instructions, SDK calls and explanations of payment failures.

The main decision is whether its payment behavior fits your application. Each new paid request buys more credit even when credit remains, while a long task can still stop after exhausting the project's balance. Applications requiring V4 need standard API-key access.

Intended users

Python and TypeScript developers receive SDK examples. Developers using other languages can follow the raw HTTP approach with an x402-aware client. Existing Browser Use users receive a separate path for funding their API key's project.

Beginners receive explanations of wallets, USDC and Base, plus a wallet setup walkthrough. They still need to manage a private key and distinguish wallet funds from Browser Use credits. A Claude Code shortcut uses a separately linked x402 skill whose contents are outside this page.

Documented capabilities

The integration can create a wallet-linked Browser Use project without signup, a credit card or an API key. It can also direct payments into an existing project when a valid Browser Use API key accompanies the payment.

The guide covers session creation, free management requests for sessions created by that wallet when the exact session ID is supplied, and free wallet-project balance queries. It also shows how to supply a custom x402 client. The documented Browser Use payment requirement remains USDC on Base mainnet.

Using it

Requirements

You need an EVM-compatible wallet, USDC on Base mainnet and a signing credential available to the application. The guide describes starting with at least $1 of USDC. Base Sepolia testnet funds are not accepted.

Python requires the optional x402 dependencies and AsyncBrowserUse; Python x402 support is async-only. TypeScript requires browser-use-sdk, @x402/fetch, @x402/evm and viem. The page supplies no pinned package versions or complete runtime compatibility matrix.

The documentation says ETH is unnecessary because the payment facilitator pays gas. A private key authorizes spending from the wallet, so the setup requires protecting that credential and keeping it outside chat.

How payments work

A new paid request to the x402 host receives a payment challenge. The SDK removes payment options above its configured ceiling, signs an acceptable option and retries. USDC settles on Base, Browser Use adds the corresponding amount to the project's credit balance, and the request consumes that balance.

Payment authorization uses EIP-3009 signatures created offchain. The free wallet balance helper instead signs a server-defined message using EIP-191 to prove control of the wallet. That balance signature does not authenticate ordinary API requests.

A payment without an API key creates or funds the wallet-linked project. A payment accompanied by a valid API key funds that key's project instead.

Setup

For Python, the documented installation command is pip install "browser-use-sdk[x402]". Set BROWSER_USE_X402_PRIVATE_KEY in the application's environment, import AsyncBrowserUse from browser_use_sdk.v3 and configure x402_max_payment_usd.

For TypeScript, install browser-use-sdk, @x402/fetch, @x402/evm and viem. Import BrowserUse from browser-use-sdk/v3, supply the wallet credential through the environment and configure x402MaxPaymentUsd.

For raw HTTP, use an x402-aware client against [https://x402.api.browser-use.com]. Ordinary HTTP clients cannot complete payment challenges by themselves. Existing-account top-ups additionally supply the account's API key and explicitly use the x402 host.

Worked example

The Python example creates AsyncBrowserUse with x402_max_payment_usd=1.0 and asks the agent to read the heading at [https://example.com], passing max_cost_usd=0.75 to client.run. The TypeScript example uses x402MaxPaymentUsd and maxCostUsd for the corresponding parameters.

The $1 setting limits each payment authorization; the $0.75 value is the example's requested task cost limit. Neither value is an observed bill or proof that the task completes. The page shows output-printing code without a resulting heading or transaction receipt, and nothing was executed.

Assessment & evidence

Limitations and failure modes

V4 is unsupported. The page's related notices describe V2 as legacy, making the explicitly versioned V3 examples the relevant documented path for newer x402 integrations.

A session that exhausts its Browser Use credit stops with INSUFFICIENT_CREDITS. It does not pause for another x402 payment. A per-payment ceiling therefore cannot ensure that a long-running task has enough credit.

Wallet balance helpers apply to wallet-created projects and return 404 before the wallet's first payment. For an existing account funded through an API key, the guide directs users to client.billing.account(). Credit visibility can also lag a payment response. Completion reliability, throughput and browser-agent accuracy are not assessed.

Decision considerations

Wallet authentication removes the signup and API-key requirement for the wallet-linked mode, while adding responsibility for signing credentials and USDC funding. This suits applications already designed to manage wallet payments.

The documented economics favor deliberate choices about session reuse and funding. Repeated session creation causes repeated top-ups, while reusing an eligible session permits free follow-ups. Funding an existing account and then switching to the normal API host offers a different approach for spending an accumulated balance.

These are implications of the documented payment rules. They do not establish lower costs, faster integration or better task outcomes than standard API-key access.

Documented alternatives

Standard Browser Use API-key authentication is the documented alternative for V4 and for spending an existing account balance without another x402 payment on each new paid request. The page links to [https://docs.browser-use.com/cloud/quickstart.md].

Within x402, developers can choose the built-in SDK support, a custom x402-aware HTTP client, or the linked Claude Code skill. A separate agent-wallet guide mentions AgentCash and Coinbase Agentic Wallet at [https://docs.browser-use.com/cloud/guides/x402-agent-wallets.md]. Those linked resources were not included, so their implementation details and comparative merits are unknown.

Evidence and confidence

The evidence is the complete Browser Use documentation page at [https://docs.browser-use.com/cloud/guides/x402.md]. It supplies SDK examples, payment mechanics, wallet instructions and troubleshooting explanations.

The page provides no observed output for its example, payment receipts, independent reliability measurements or benchmark methodology. Its claim of roughly 30 seconds from wallet to first request is unsupported by timing results in the supplied material. Actual SDK compatibility, payment settlement and task execution remain unverified.

Access & freshness

Costs and credit behavior

The SDK's default payment ceiling is $1.00 USDC per payment. A payment becomes prepaid Browser Use credit. The ceiling rejects payment options above that amount and does not establish a total application spending limit.

Every new paid request through the x402 host triggers another payment, including creating another session while unused credit remains. Documented session management and follow-ups are free when they include the exact session ID for a session created by that wallet.

After funding an existing account, the guide recommends using a normal API-key client at [https://api.browser-use.com] to spend its balance without triggering further x402 payments. The page quotes $3 plus traffic for 50 browsers running for one hour, and describes a $100 one-time credit top-up unlocking that concurrency. Full model and network rates and actual task totals remain unknown; current rates are linked at [https://browser-use.com/pricing]. Wallet funding and conversion fees are also unknown.

Licensing and rights

The supplied page does not provide explicit licence terms for its text, code examples, SDKs or linked Claude Code skill. Reuse and redistribution permissions are therefore unknown from this evidence.

The page also does not establish the complete service terms or ownership conditions for browser-task outputs. Links to repositories and services do not supply those terms within the selected resource.

Freshness

The supplied page was captured at 2026-11-23T19:34:40.155Z. It does not establish a page-specific publication date, last substantive update or tested SDK release.

The V4 exclusion, payment defaults and credit behavior describe that captured documentation. Later API support, package behavior and pricing are unknown.

Practical next steps

First establish whether API V3 meets the application's needs. If V4 is required, use the documented API-key route. Otherwise, choose whether payments should fund a wallet-linked project or an existing account before configuring the client.

Supply USDC on Base mainnet, protect the signing key, and set the payment ceiling separately from the task's requested cost limit. Check the appropriate project's credit balance and allow enough credit for the intended task because depletion terminates a running session.

For an initial verification, the guide's heading-reading example offers a small task whose returned output and credit changes can be inspected. Confirm current package compatibility and usage rates before committing to repeated or long-running sessions.

Evidence for this report

selected-page.txtselected · checked 2026-11-23