Brave Search API x402 Explained: AI Agents Can Now Pay $0.005 Per Search — No Account, No API Key

Brave Search API x402 is the new way for an AI agent to buy a web search: no account, no API key, no monthly plan. On November 12, 2026, Brave announced that its Search API now accepts payments through the open x402 protocol, so a piece of software with a funded wallet can pay half a cent per search in USDC and get results back in the same exchange. Until now, an agent that needed to search the web had to borrow a human’s credentials — an API key created by a person, billed to a person’s account, and managed like a password. Brave Search API x402 removes the human from the middle of that transaction entirely. The payment itself becomes the credential.

This guide explains what Brave Search API x402 is, how the payment flow works step by step, what each search actually costs, what you can and cannot buy this way, and where it fits in the fast-growing economy of agents that pay for things on their own.

Quick answer: Brave Search API x402 lets developers and autonomous AI agents pay $0.005 per search in USDC on the Base blockchain, with no account and no API key. An unpaid request to the proxy at search.agent.s.brave.app gets an HTTP 402 Payment Required response carrying the price; the agent signs a USDC payment, retries the request, and receives search results with a receipt of the on-chain transaction. The price matches Brave’s published API rate of $5 per 1,000 requests, and it covers web, news, image, video, local and LLM Context searches. Brave covers Base gas fees for a limited time. Answers, Autosuggest and Spellcheck are not sold this way yet and still need an API key.

Key facts about Brave Search API x402

  • Brave Search API x402 launched on November 12, 2026, adding pay-as-you-go payments to Brave’s existing Search API.
  • Each search costs $0.005 — that is $5 per 1,000 requests — paid in USDC on the Base blockchain.
  • No account and no API key are needed. The signed payment is the credential.
  • Requests go to the paid proxy at search.agent.s.brave.app, which uses the same paths as the regular API at api.search.brave.com.
  • Brave runs its own facilitator that verifies and settles payments, and it covers Base gas fees for a limited time.
  • Eight endpoints are sold this way: web, news, images, videos, LLM Context and three local-search routes.
  • Answers, Autosuggest and Spellcheck are not sold through x402 yet — they still require an API key.
  • The easiest way to try it is Purl, a command-line wallet built by Stripe, with a –max-amount cap on what an agent can spend.
  • x402 itself is an open protocol created by Coinbase in May 2025 and now governed by the x402 Foundation under the Linux Foundation.
  • Brave’s search results come from its own independent index, crawled and served by Brave rather than rented from Google or Bing.

Table of contents

What is Brave Search API x402?

Brave Search API x402 is a second front door to the Brave Search API. The Brave Search API is Brave’s developer tool for building applications on top of web data: it returns search results from Brave’s own independent index, which Brave crawls and serves itself instead of licensing results from Google or Bing. Developers have been able to use it for years by creating an account, choosing a plan and pasting an API key into their code. That model works well for a person building an app. It works badly for a piece of software that is supposed to act on its own.

An AI agent cannot create an account, pass a CAPTCHA, or type a credit card number into a billing page. When an agent needed to search the web, the usual answer was for a human to hand it a key — and then to worry about what the agent might do with it. A key can be leaked in a log file, copied into a prompt, or used to run up a bill nobody notices until the end of the month. Brave Search API x402 changes the arrangement: instead of an account that owns a key, the agent owns a wallet. Instead of a monthly plan, it pays per request. Instead of a key that must be kept secret, the payment itself proves the agent is entitled to the answer.

The announcement, published on Brave’s blog on November 12, 2026, puts it plainly: developers and autonomous AI agents that need agentic search can now query Brave’s independent search index, ground their responses, and settle each request in real time, without traditional API key management. The mechanism is the open x402 payment protocol. A request that arrives without payment does not get an error page or a login form. It gets an HTTP 402 Payment Required response that states the price and the payment details needed to pay it. The agent signs a USDC payment for that amount, sends the request again with the signed payment attached, and once the payment is verified the search runs and the results come back with a receipt of the transaction that happened on the Base blockchain.

Brave Search API x402 lets an AI agent search the web and pay per query without an account

It is worth being precise about what changed and what did not. Brave Search API x402 does not replace the API key plans. Brave says those plans have not gone anywhere, and x402 is an extra option rather than a replacement. The price did not change either: $0.005 per request is exactly Brave’s published rate for the same endpoints on a key plan. What changed is the credential. A key is a secret that has to be issued, stored, rotated and revoked. A payment is a fact: the money moved, so the search is owed. That is a small difference on paper and a large one in practice, because it means an agent can be given a small amount of money and a spending cap instead of a credential that unlocks an account.

The timing matters too. Brave Search API x402 arrived in the same month as a run of agent-economy announcements: Walmart opened its store to shopping agents, the SGLang Consortium united rival chipmakers around shared inference plumbing, and Anthropic shipped Claude Ship, a suite of agents that review, fix and approve code on GitHub. Each of those stories answers a different part of the same question — who pays when software acts on its own? Brave’s answer is the most concrete of the set: half a cent, per search, settled in the same request.

How Brave Search API x402 works, step by step

The flow of Brave Search API x402 is deliberately boring, and that is the point. It is one HTTP request that fails, one payment, and the same request again. There is no signup form, no dashboard, no key to paste into an environment variable. Here is the sequence as Brave describes it in its announcement and its agent-payments documentation.

The 402 handshake, step by step

Step 1: the agent sends an unpaid request. The agent calls the paid proxy at search.agent.s.brave.app, using the same API paths as the regular Brave Search API. A web search, for example, goes to /res/v1/web/search with the usual query parameters. Nothing about the request itself is special — it is an ordinary HTTP GET.

Step 2: the proxy answers 402 Payment Required. Because no payment is attached, the proxy does not run the search. It returns an HTTP 402 response with an empty body and a payment-required header that carries the price and the payment details, base64-encoded as JSON. Independent probes published days after the launch decoded that header and found a complete invoice: the amount (5,000 base units of USDC, which is $0.005 on a six-decimal token), the asset (the canonical USDC contract on Base, chain eip155:8453), the payment method (EIP-3009, a signed transfer authorisation), and an expiry of 300 seconds. The price is stated fresh on every request, so the 402 itself is the authoritative price — a published price table is only advisory.

Step 3: the agent signs a payment. The agent’s wallet signs a USDC transfer authorisation for the stated amount. Signing is not the same as broadcasting a transaction: with EIP-3009, the agent signs a message authorising the transfer and hands the signature to the server, which settles it. The agent never has to run its own blockchain node or submit a transaction itself.

Step 4: the agent retries with the payment attached. The same request goes out again, this time carrying the signed payment. Brave’s own facilitator — the service that verifies and settles payments on Brave’s side — checks the signature, settles the USDC on Base, and only then runs the search.

Step 5: results arrive with a receipt. The search results come back together with a receipt of the transaction that occurred on the Base blockchain. The agent has its answer and a proof of payment in the same response.

The whole exchange is one retry. For a human developer testing the flow, the most striking part is how little there is to configure: fund a wallet with Base-native USDC, point the client at the proxy, and let the client handle the 402. Brave recommends Purl, a command-line wallet built by Stripe, as the easiest path, and its documentation walks through setting one up. The Purl command also shows the safety valve that makes the whole model workable: a –max-amount flag caps what a single payment can be, so a runaway agent cannot drain a wallet one half-cent at a time without a limit in place.

What the agent actually signs — and why it matters

Two details in the Brave Search API x402 flow deserve a closer look, because they are the difference between a demo and a system you can trust with real money. The first is the facilitator. In x402, a facilitator is the service that verifies a signed payment and settles it on-chain, so the API server itself never has to touch a blockchain. Brave runs its own facilitator for this integration. That is convenient — one vendor, one throat to choke — but it also means Brave is the party that decides a payment is valid. The 402 invoice itself does not name the facilitator, a point the independent probes noted. For most users that will not matter. For anyone building payment infrastructure, it is worth knowing where the trust sits.

The second detail is the expiry. The payment offer in the 402 expires after 300 seconds. An agent that dawdles between reading the price and signing the payment will find the offer stale and will have to start over. Five minutes is generous for software, and it exists for a good reason: prices can move, and an open-ended offer would let an agent pay yesterday’s price for tomorrow’s search. Because every request re-prices itself, the system can change the price without breaking any client — the client simply reads the new 402. The trade-off is that the published $0.005 is a price at a moment in time, not a promise. Brave’s own documentation treats the live 402 as the contract, and buyers should too.

Brave Search API x402 pricing: what each search costs

Brave Search API x402 pricing is refreshingly simple, which is rare in a market where most AI services price by the token, the seat, the credit or the minute. Every covered endpoint costs the same: $0.005 per request, or $5 per 1,000 requests. There is no tier, no volume discount published, and no difference between a web search and a news search. The price is the price.

That flatness is deliberate. Brave’s published API rates already charge $5 per 1,000 requests for the Search plan, so the x402 price is not a discount and not a premium — it is the same rate, settled one request at a time instead of once a month. The honest way to think about it is that Brave did not change what a search costs. It changed when and how you pay for it.

The Brave Search API x402 price card

Endpoint What it returns Price per request (x402)
LLM Context Search context built for grounding AI agents $0.005
Web Search General web results, for human-style queries $0.005
News Search News results $0.005
Image Search Image results $0.005
Video Search Video results $0.005
Local Search Local business and place results (three routes) $0.005

At $0.005 a request, the arithmetic stays friendly for a long time. One hundred searches cost $0.50. One thousand cost $5. Ten thousand cost $50. An agent that searches 200 times a day — a busy research assistant, for example — spends $1 a day, or about $30 a month. An agent that searches 10,000 times a day spends $50 a day, and at that point the person funding it will want a spending cap, a budget alert and a log of what was searched, because the cost is no longer trivial. That is the real pricing question with Brave Search API x402: not the unit price, which is small, but the total, which depends entirely on how often the agent decides to search. A half-cent charge that fires thousands of times a day is still a bill.

Brave Search API x402 payments use a funded USDC wallet on Base, like a digital wallet on a phone

What is not included in the $0.005

Three costs sit outside the headline price, and a fair account of Brave Search API x402 pricing has to name them. The first is the gas fee for settling the payment on Base. Brave says it will cover gas fees for transacting on the Base blockchain for a limited time. “For a limited time” is doing real work in that sentence: gas is free for now, and it will not be free forever. When Brave stops covering it, each search will cost $0.005 plus the network fee, and on a busy day those fees add up. Brave has not said when the coverage ends or what the fee will be when it does.

The second is the facilitator’s fee. The x402 protocol has a facilitator in the middle of every payment, and the facilitator takes a fee for settling it. Brave’s own documentation is candid about the arithmetic: at some price, the fee to settle a single payment eats the whole sale. That is exactly why Autosuggest and Spellcheck are not sold through x402 — they cost less than the fee a facilitator takes to settle one payment. The $0.005 price is above that floor, but the floor exists, and it is the reason the cheapest endpoints stay on the key plan. Buyers should not expect per-request pricing to keep falling indefinitely; there is a hard minimum where the payment itself costs more than the product.

The third is the cost of the wallet itself. USDC has to get onto Base before an agent can spend it, and moving stablecoins onto a network is not free — there is a bridge or an exchange withdrawal fee, and there is the operational cost of keeping a wallet funded. None of that is Brave’s charge, but it is part of what a buyer pays to use Brave Search API x402 instead of a key plan, where the bill arrives once a month on a card.

What you can buy with Brave Search API x402

Eight endpoints sit behind the paid proxy, and the list is worth reading in full because it defines what Brave Search API x402 is actually for. Brave’s machine-readable llms.txt and openapi.json agree with the live 402 responses, and independent probes in November 2026 confirmed the same eight paths: web, news, images, videos, LLM Context, and three local-search routes. Every one of them costs the same $0.005.

The most important endpoint on that list is LLM Context. It is not a search page for humans; it is an API designed specifically to give an AI agent search context for grounding its answers. An agent that needs to check a fact, look up a current price, or verify a claim before answering can call LLM Context and get results shaped for a model to read, not for a person to click. That is the endpoint the x402 launch is really about. The other seven are the familiar search verticals — web, news, images, videos and local — offered at the same price so that an agent doing broader research does not need a second credential for a second kind of search.

What you cannot buy yet

Three Brave Search API products are not sold through Brave Search API x402, and the reasons are instructive. Answers is not sold this way because it is billed per query and per token, and a single fixed price cannot express a bill that depends on how long the answer is. Autosuggest and Spellcheck are not sold this way because they cost less than the facilitator’s fee for settling a single payment — selling them per request would lose money on every call. On the key plan, Answers costs $4 per 1,000 requests plus $5 per million input and output tokens, while Autosuggest and Spellcheck sit on their own low rates. If your agent needs any of those three, it still needs an API key.

That split is the clearest statement of where per-request payments work and where they do not. They work when the product costs comfortably more than the cost of moving the money. They do not work when the product is cheaper than the payment itself, or when the price depends on something the invoice cannot know in advance. Brave Search API x402 is a good fit for search. It is not a universal replacement for API billing, and Brave does not present it as one.

How to try Brave Search API x402 with Purl

Getting started with Brave Search API x402 takes three things: a wallet, some USDC on Base, and a client that understands the 402 handshake. Brave’s recommended path is Purl, a command-line wallet built by Stripe, which handles the handshake for you. The steps below follow Brave’s own guide.

  1. Install Purl. Purl is a CLI wallet for your agent. Install it from its GitHub repository, following the instructions there.
  2. Set up the wallet. Create a wallet in Purl. It will hold the USDC your agent spends.
  3. Top it up with Base-native USDC. Transfer USDC to the wallet on the Base network. This is the step that replaces creating an account: the funded wallet is the account.
  4. Set a spending cap. Use Purl’s –max-amount option to cap what a single payment can be. The cap is expressed in the token’s base units, so $0.005 is 5,000 base units of six-decimal USDC. A cap is not optional in practice — it is the control that stops a looping agent from spending without limit.
  5. Send a search. Point Purl at the paid proxy with an ordinary search request, for example:
    purl --max-amount 5000 'https://search.agent.s.brave.app/res/v1/web/search?q=rust'

    Purl sends the request, reads the 402, signs the payment, retries with the payment attached, and returns the results.

  6. Check the receipt. The response includes a receipt of the transaction on Base, so you can verify the payment settled and match it to the search that was bought.

Two practical notes belong here. First, the 402 offer expires after 300 seconds, so a wallet that takes longer than five minutes between reading the price and signing will have to start the handshake again — in practice, software does this in well under a second, and the limit only bites on manual testing. Second, every request re-prices itself, so if Brave changes the price, your client will learn about it from the next 402 rather than from a billing email. That is a feature, not a bug: the price you pay is always the price the server just stated. It also means a budget built on $0.005 should be treated as an estimate, not a contract.

Developers who would rather build the flow themselves than use Purl can read Brave’s x402 proxy documentation, which Brave links from its announcement. The protocol is open, the proxy paths match the regular API, and the 402 header is machine-readable by design — that is the whole idea.

What is x402? The protocol behind Brave Search API x402

To understand Brave Search API x402, it helps to understand x402 itself — and the first thing to get right is that Brave did not invent it. x402 is an open payment protocol created by Coinbase, announced on May 6, 2025, and now governed by the x402 Foundation under the Linux Foundation, which became fully operational on July 14, 2026 with 40 member organisations including Visa, Mastercard, Google, Stripe, AWS and Cloudflare. Coinbase created the standard, but x402 is not a Coinbase product, and you do not need any Coinbase product to use it. Brave is adopting the protocol, not selling it.

The idea is older than the protocol by almost three decades. The HTTP specification has contained a status code 402, Payment Required, since 1997, when it was reserved in RFC 2068 with barely a sentence of explanation. For 28 years it sat unused, because the web had no cheap, programmable way to move a fraction of a cent. Credit cards could not settle a half-cent payment; the fees would exceed the purchase. Stablecoins on a low-cost chain changed that arithmetic, and x402 is the attempt to finally give the internet a native way to pay.

Brave Search API x402 is built on the open x402 protocol for machine payments over HTTP

The protocol itself is simple. A server that wants payment answers an unpaid request with a 402 and a machine-readable price. The client pays and retries. Version 2, released in December 2025, moved all payment data into HTTP headers, switched to standard network identifiers such as eip155:8453 for Base, and added wallet-based identity so agents do not have to pay again on every call, plus automatic service discovery and support for more chains. In May 2026 it added batch settlement, where agents hand sellers signed vouchers that can be settled in bulk.

As of November 1, 2026, x402 had processed more than 196 million transactions across 12 chains, settling more than $42 million in total, according to Fireblocks citing data from the tracker agenteconomy.to. Those are the protocol’s numbers, not Brave’s — and they are the reason a single search API can adopt the standard without asking anyone to trust a new, unproven payment system.

x402 is not alone. Four competing or partly converging standards shipped in about a year: Stripe and Tempo’s MPP, Google’s AP2, Lightning Labs’ L402, and OpenAI and Stripe’s ACP. They differ in rails, backers and design, but they share the same premise — that software will increasingly buy things, and that buying needs to work inside an ordinary web request rather than through a human with a credit card. Brave Search API x402 is a bet on the Coinbase-originated, Linux Foundation-governed variant of that idea, and its adoption by a search provider with an independent index gives the protocol something it needs more than press releases: a real product, at a real price, that real agents can buy today.

x402 vs API keys: what actually changes

It is easy to overstate what Brave Search API x402 changes and easy to understate it too. The honest comparison is a table, not a slogan.

API key plan Brave Search API x402
Setup Create an account, pick a plan, generate a key Fund a wallet with Base USDC
Credential A secret key that must be stored and rotated The signed payment itself
Billing Monthly invoice on a card Per request, settled in the same exchange
Price per search $0.005 ($5 per 1,000) $0.005 ($5 per 1,000)
Spending control Plan limits and rate limits Wallet balance plus a –max-amount cap
Endpoints All, including Answers, Autosuggest, Spellcheck Eight paths; Answers, Autosuggest, Spellcheck excluded
Best for Apps with steady, predictable volume Agents that search on their own, occasionally or in bursts

Notice what does not change: the price, the search index, and the results. An agent that buys through Brave Search API x402 gets the same answers as an app that pays through a key plan. What changes is who holds the credential and how the money moves. A key is a standing permission: anyone who has it can spend the account’s money until someone notices and revokes it. A payment is a one-time fact: it buys one search, and then it is done. For an agent that operates without supervision, the second model fails safer. The worst a compromised agent can do is spend what is in its wallet, and the wallet can hold very little.

Brave Search API x402 vs the alternatives

Brave is not the only way to give an agent web search, and a fair guide has to say so. The market for agent search has filled up fast in 2026, and the options differ in index, price and payment model. Here is how Brave Search API x402 compares with the main alternatives a developer will actually consider.

Option Index Price Payment model
Brave Search API x402 Brave’s own independent index $0.005 per request USDC on Base, per request, no account
Brave Search API (key plan) Brave’s own independent index $5 per 1,000 requests Monthly billing on a card
Exa Built for AI agents, with highlights that cut the text an agent must process From $4 per 1,000 requests on the Lite tier API key, monthly plan
Tavily Search built for agents and retrieval Credit-based plans, free tier available API key, monthly plan
DeepSeek Search API Search and fetch for developers Low per-request pricing, open to all developers since October 2026 API key
Cloudflare Web Search API Via AI Gateway partners Varies by provider API key, open beta since October 2026

The comparison turns on three questions. First, whose index do you want? Brave’s selling point is independence: it crawls and serves its own index, with no fallback to Google or Bing, which matters to buyers who want results that are not downstream of the two biggest search engines. Exa and Tavily are built for agents from the ground up, with features like Exa’s highlights that reduce the volume of text an agent must read — and therefore the tokens it must pay a model to process. For an agent whose biggest cost is the language model rather than the search, that token saving can matter more than the search price.

Second, how do you want to pay? Brave Search API x402 is the only option in the table where the agent pays for itself with no account at all. Every other option needs a human to create an account, pick a plan and manage a key. If your agent runs inside your own product, with your own billing, that is no burden at all — a key plan is simpler, and Brave’s own key plan costs exactly the same per search. If your agent is meant to run on its own, or to be deployed by someone else, the key becomes a piece of infrastructure you have to ship, rotate and protect. That is the case x402 is built for.

Third, what do you need the search for? An agent that needs grounding context for its answers will use LLM Context, which Brave sells through x402. An agent that needs answers with citations, or autocomplete, or spellchecking, will find those products still behind the key plan. And an agent that needs the cheapest possible search at high volume may find that a monthly plan with volume pricing beats a flat per-request rate — although at Brave’s published rates the two are the same, so the choice is about control, not cost.

When the key plan still wins

Brave Search API x402 is not the right choice for everyone, and Brave’s own pricing makes that easy to see. If you run an application with steady, predictable search volume, an API key plan is simpler: one bill a month, one key to manage, every endpoint available, and no crypto wallet to fund or monitor. If your agent needs Answers, Autosuggest or Spellcheck, the key plan is the only choice. If your organisation cannot hold cryptocurrency — and many cannot, for policy reasons that have nothing to do with technology — the key plan is the only choice. And if you need an invoice your finance team can file, a monthly card bill is far easier to explain than a hundred thousand half-cent blockchain settlements.

The x402 route wins when the buyer is the agent itself: an autonomous research agent, a coding agent that looks things up while it works, a personal assistant that searches on a user’s behalf without a standing account. It wins when usage is bursty or occasional — a few searches a week rather than a steady stream — because there is no plan to maintain. And it wins when the deployment cannot carry a secret: an agent shipped to a user’s machine, or running on infrastructure you do not control, should not carry a key that unlocks your billing account. A wallet with $5 in it is a safer thing to ship than a key.

Why Brave Search API x402 matters: the agent economy

Brave Search API x402 is a small launch with a large implication, and the implication is the reason it leads the news rather than sitting in a changelog. For thirty years, the web has had no way for software to pay. Every purchase on the internet has, in the end, been a human typing a card number or approving a charge. Agents change that, because an agent that cannot pay cannot act: it can read a page, but it cannot buy a search, a dataset, or a service. The x402 protocol exists to close that gap, and Brave’s launch is one of the first times a mainstream search provider has used it for a real product at a real price.

The context of November 2026 makes the point. On October 22, Walmart introduced Agent Profiles and an Agent Gateway, letting AI assistants shop and complete purchases at Walmart and Sam’s Club — the largest retailer in the United States opening its checkout to software. On November 12, the same day as Brave’s announcement, LMSYS Org launched the SGLang Consortium, uniting NVIDIA, AMD, Intel, Google, Meta and others around the open-source inference engine that runs agents in production. And on November 23, Anthropic launched Claude Ship, a suite of agents that review code, fix failed checks and approve routine changes on GitHub.

Each announcement answers a different piece of the same question: what do agents need in order to work on their own? Walmart answered the shopping piece. SGLang answered the infrastructure piece. Claude Ship answered the work piece. Brave Search API x402 answers the information piece: an agent that needs to know something can now pay for the search itself, in the same request, without waiting for a human to hand it a key.

Brave Search API x402 is part of the agent economy where AI agents pay for services themselves

There is also a quieter story inside the launch: the return of HTTP 402. The status code was reserved in 1997 and then ignored for a generation, because the web’s money layer could not settle a payment small enough to be worth a single search. Stablecoins on low-cost chains finally can, and the protocol that uses them now has a foundation, a version 2, and more than 196 million settled transactions behind it. Brave Search API x402 is the protocol meeting a product that ordinary developers recognise — a search API with a price they can understand. That is how infrastructure usually wins: not with a white paper, but with a working endpoint and a receipt.

For readers of this site, the practical connection is to the agent tools we have covered in recent weeks. The SGLang Consortium article explains the shared inference plumbing that rival chipmakers and clouds agreed on in November. The Claude Ship guide covers Anthropic’s agents that review and approve code on GitHub, the kind of autonomous worker that will need to search the web while it works. And the Perplexity Decider explainer covers a model built to make decisions for agents — the kind of system that will decide when a search is worth half a cent. Brave Search API x402 sits underneath all three: it is the payment rail that lets those agents buy the information they need, one search at a time.

For more on the shared infrastructure, see our SGLang Consortium explained; for the agents that will use it, see Claude Ship explained and our Perplexity Decider v1.3 explained.

The honest limits of Brave Search API x402

A guide that only lists the advantages of Brave Search API x402 would be an advertisement, not a guide. The launch is genuinely useful, but it has real limits, and anyone considering it should weigh them before funding a wallet.

Your agent needs a crypto wallet. That is the single biggest practical barrier. A developer comfortable with USDC on Base will set this up in minutes. A product team that has never held cryptocurrency will need to learn how wallets, bridges, chain identifiers and token decimals work — and will need to explain to their finance team why the company’s search budget now lives in a stablecoin wallet. For many organisations, that alone will keep them on the key plan, and that is a reasonable choice.

Every search is a payment you have to cap and track. A half-cent charge is easy to ignore, which is precisely the risk. An agent that searches in a loop — retrying a query, re-checking a fact, or crawling results page by page — can turn a trivial unit price into a real bill. Brave’s answer is the –max-amount cap in Purl, and it should be treated as mandatory rather than optional. A wallet without a cap is an open tab. Buyers should also log every search, so that a surprising bill can be traced to the agent behaviour that caused it.

Gas is free only for a limited time. Brave covers Base gas fees now, but it has said plainly that the coverage is temporary. When it ends, each search will cost $0.005 plus the network fee. On Base, gas is cheap — usually a fraction of a cent — but it is not zero, and it varies. A price model built on “$0.005 per search” should be re-checked when the gas coverage ends.

The price can move per request. Because every request re-prices itself through the 402, Brave can change the price without notice, and the first you will know is the next invoice in a header. That is honest and transparent — the price is always stated before you pay — but it means a budget built on today’s $0.005 is an estimate. The published table is advisory; the live 402 is the contract.

Not everything is for sale this way. Answers, Autosuggest and Spellcheck still need an API key, for reasons that are structural rather than temporary: Answers is billed per token as well as per query, and the other two cost less than the fee to settle a payment. If your agent needs those, the x402 route alone will not cover it.

Brave runs the facilitator. The service that verifies and settles payments is operated by Brave itself. That is convenient, but it concentrates trust: the party selling the search is also the party deciding the payment is valid. The protocol allows other facilitators, and Brave has said other networks and stablecoins are coming, but today the path runs through Brave’s own infrastructure.

Nobody has publicly verified the full loop end to end. The independent probes published after the launch read the 402 invoice, decoded the price and confirmed the endpoints — but the authors did not complete a purchase, so the pay-then-retry loop itself has not been publicly verified by a third party. That is a normal state for a launch two weeks old, not a red flag, but it is worth knowing: the flow as documented is Brave’s description, confirmed at the invoice stage, and the rest is a matter of trusting the documentation until more users have run it.

Who should use Brave Search API x402?

Brave Search API x402 is a good fit for a specific kind of buyer. If any of the following describes you, it is worth trying this week, while gas is covered and the setup is fresh in the documentation.

  • You build autonomous agents. A research agent, a coding agent, or a personal assistant that searches while it works should not carry your API key. Give it a wallet with a small balance and a cap instead.
  • Your usage is bursty or occasional. A few searches a day, or a sudden burst during a task, with long quiet stretches in between. Per-request payment means no plan to maintain during the quiet weeks.
  • You deploy agents on machines you do not control. An agent shipped to a user’s computer, or running on a customer’s infrastructure, should carry as little standing privilege as possible. A funded wallet is safer than a key.
  • You are experimenting with the agent economy. If you want to learn how x402, facilitators and stablecoin micropayments actually behave, a half-cent search is the cheapest possible lesson.

And if any of the following describes you, the key plan is still the better choice: you run an application with steady, predictable volume; you need Answers, Autosuggest or Spellcheck; your organisation cannot hold cryptocurrency; or you need a monthly invoice your finance team can file without a conversation about wallets. Brave Search API x402 is an extra option, not a replacement, and Brave says so itself. Use the one that fits the way you actually buy things.

Frequently asked questions

What is Brave Search API x402?

Brave Search API x402 is a pay-as-you-go way to use the Brave Search API. Instead of creating an account and using an API key, an AI agent or developer pays $0.005 per search in USDC on the Base blockchain through the open x402 protocol. An unpaid request receives an HTTP 402 Payment Required response with the price; the agent signs a payment, retries, and gets results with a transaction receipt.

How much does Brave Search API x402 cost?

Each search costs $0.005, or $5 per 1,000 requests, for web, news, image, video, local and LLM Context searches. That matches Brave’s published API rate for the same endpoints. Brave covers Base gas fees for a limited time. Answers, Autosuggest and Spellcheck are not sold through x402 and still need an API key.

Do I need an account or API key to use Brave Search API x402?

No. That is the point of the launch. You need a wallet funded with Base-native USDC — Brave recommends Purl, a command-line wallet built by Stripe — and the signed payment is the credential. There is no account to create and no plan to select.

What is x402?

x402 is an open payment protocol that uses the HTTP 402 Payment Required status code to let a server charge per request in stablecoins. It was created by Coinbase and announced in May 2025, and it is now governed by the x402 Foundation under the Linux Foundation. Version 2 arrived in December 2025. As of November 1, 2026, it had processed more than 196 million transactions across 12 chains.

Which Brave Search API endpoints work with x402?

Eight endpoints: web, news, images, videos, LLM Context, and three local-search routes. Answers is excluded because it is billed per query and per token, and Autosuggest and Spellcheck are excluded because they cost less than the facilitator’s fee to settle a single payment.

How do I try Brave Search API x402?

Install Purl, set up a wallet, top it up with Base-native USDC, and send a request to the paid proxy at search.agent.s.brave.app — for example, purl –max-amount 5000 ‘https://search.agent.s.brave.app/res/v1/web/search?q=rust’. Purl handles the 402 handshake, signs the payment, and returns the results. Set the –max-amount cap before you let any agent search on its own.

Is Brave Search API x402 safe for an autonomous agent?

Safer than handing an agent an API key, because a payment buys one search and then it is done, while a key is a standing permission that can be leaked or abused until someone revokes it. The risk that remains is volume: an agent that searches in a loop can run up a bill half a cent at a time. Use a spending cap, fund the wallet with a small amount, and log every search.

Should I use Brave Search API x402 or the API key plan?

Use x402 if the buyer is an agent that works on its own, if usage is bursty or occasional, or if you are deploying somewhere a secret key should not travel. Use the key plan if you have steady predictable volume, need Answers, Autosuggest or Spellcheck, cannot hold cryptocurrency, or need a monthly invoice. The price per search is the same either way.

The bottom line

Brave Search API x402 is a small, well-aimed launch. It takes a search API that already existed, keeps its price exactly the same, and changes the one thing that made it awkward for autonomous software: the credential. An agent no longer needs to borrow a human’s key. It needs a wallet with a little USDC, a spending cap, and the ability to read a 402 response. Half a cent buys a search, the receipt arrives with the results, and the whole exchange happens inside a single HTTP retry.

The launch is also a useful test of a much bigger idea. If agents are going to act on their own — shopping, researching, coding, booking — they need a way to pay that does not route through a human with a credit card. The x402 protocol is the most developed answer to that problem, with a foundation, a version 2, and hundreds of millions of settled transactions behind it. Brave’s contribution is to give that protocol a product ordinary developers recognise, at a price they can do in their heads. Half a cent per search is not a revolution. It is a price tag on a single, verifiable transaction — and that, for an economy of software that pays for itself, is exactly where revolutions start.

If you build agents, try Brave Search API x402 this week while gas is covered: fund a Purl wallet with a few dollars of Base USDC, set a –max-amount cap, and send one search to the paid proxy. Then check the receipt. If the loop works as documented, you have just watched your software pay for something on its own — and you have a clearer idea than any announcement can give you of what the agent economy will actually feel like to operate.

Leave a Comment

Your email address will not be published. Required fields are marked *