Your agent just got past the paywall —legally.
When your browser-agent hits a 402, xpay✦ settles the payment and the session resumes. No CAPTCHA workarounds. No proxy fleets. No "give up and try a different site." One account, 1,000+ publishers, every paywall handled.
The current options all suck.
Scrape and pray. Negotiate for 18 months. Or buy stale Common Crawl. Pick your poison.
Paywalls kill your task completion rate
Your agent navigates to a research page and hits a "subscribe to read" wall. Task fails. User complains. Your evals tank.
Cloudflare 403s on every other request
Anti-bot detection treats your headless Chrome as a scraper. You spend more time on stealth plugins than on agent logic.
Scraping is a legal coin flip
Your customer signs an enterprise contract. Their lawyers ask: "Where does the content come from?" You don't have a great answer.
xpay is the fourth option.
Skip the lawsuits. Skip the licensing deals. Skip the attribution headaches. Pay-per-query, one account, every publisher in our network.
402 → settle → resume, automatically
When the agent hits HTTP 402 on any xpay-enabled site, the SDK settles the micropayment and the page loads. No code branches, no manual retry.
One wallet, every publisher
Stop maintaining 50 scraping account credentials. One xpay wallet pays any publisher in the network. Spend caps and per-domain limits built in.
Receipts your lawyers will love
Every paywall settlement produces an audit log entry: timestamp, URL, publisher, amount. Done.
Three lines. Ship Tuesday.
Native SDKs across the agent stack. Drop in xpay where you already retrieve.
import { Stagehand } from '@browserbasehq/stagehand';
import { withXpay } from '@xpay/browser';
const stagehand = withXpay(new Stagehand(), {
wallet,
maxCostPerSession: 5.00,
});
await stagehand.page.goto('https://wsj.com/article/...');
// If the page returns 402, xpay handles the settlement.
// stagehand.page now sees the unlocked content.Live in five minutes.
01
Get an API key
Sign up at app.xpay.sh, fund a wallet (USDC on Base), get your API key. New accounts ship with $50 in free credits.
02
Drop in the retriever
Three lines of code. Native SDKs for LangChain, LlamaIndex, CrewAI, Stagehand, Playwright. Or hit the REST API directly with x402 headers.
03
Get licensed content + receipts
Each query returns the document, publisher attribution, and a settlement receipt. Pay only for what you actually retrieve. Cap spend per project, per user, per domain.
Built for agents like these
Browser-use frameworks
Browser Use, Stagehand, SkyvernBrowser-as-a-service
Browserbase, Hyperbrowser, Steel.dev, Anchor BrowserComputer-use agents
Claude computer-use, Multion, Adept-styleStop scraping.Start retrieving, legally.
One API key. 1,000+ publishers. Per-query pricing. Receipts and attribution by default.
Self-serve · $50 free credits · No BD calls · No MSA requiredBrowser Agents — FAQ
Common questions from agent builders evaluating xpay
Our SDK attaches a request interceptor. When a response comes back with HTTP 402 and an x402 challenge, the SDK signs a payment, replays the request, and returns the unlocked content to the page. The agent never sees the paywall.
Today, only xpay-network publishers (1,000+ and growing). For non-network sites, the SDK is a no-op. We're actively recruiting publishers to expand coverage — request specific domains and we'll prioritize.
Per-session, per-domain, and per-wallet caps. Hit the cap and the next 402 fails open (you choose: skip the page or surface the error to the user).
A paid 402 settlement is a first-party authorized request — publishers in our network whitelist xpay traffic at the WAF layer. No CAPTCHA, no anti-bot.
Yes. Native wrappers for Stagehand, Browserbase Sessions, Browser Use, and raw Playwright. Drop-in replacements with three extra lines.

