https://mpp.browserbase.com
How it works
Thelink-cli mpp pay command handles the payment challenge, approval, and paid request.
1
Request a session
Link CLI sends a request with the number of minutes you need. Browserbase returns
402 Payment Required with a payment challenge in the WWW-Authenticate header.2
Approve in Link
Open the approval URL returned by Link CLI and review the amount. After you approve, the CLI retrieves a Shared Payment Token and retries the request with an
Authorization: Payment credential.3
Connect to the session
After verifying payment, Browserbase creates the session and returns its
connectUrl and expiration time. Connect over CDP to start browsing.Pricing
Pay 0.50 USD for 250 minutes of browser access. Check the402 challenge for the current amount before paying. The response’s expiresAt value tells you when the session expires.
Before you begin
Make sure you have:- Link CLI, which provides the
link-cli mpp paycommand. - A Link account with an eligible saved payment method.
- Stagehand, Playwright, or Puppeteer to control the browser.
Related guides
For USDC payments through x402, see the x402 integration. To use Link to pay merchants while browsing, see the Stripe integration.MPP quickstart
Pay with Link, approve the purchase, and connect with Stagehand.
Machine Payments Protocol
Read the MPP specification and client documentation.