Skip to content
by InfinyAI ES

IA en un minutoNewsAgents

Agents

Brave Search lets AI agents pay for its API through the x402 protocol

IA en un minuto newsroom · Editor: Jon Elgezabal

In 30 seconds

AI agents can now settle every query they send to the Brave Search API on their own, in USDC and over the open x402 protocol. Brave charges $0.005 per search and hands back, together with the results, the receipt for what was paid on the Base network. For a limited time, the company is covering that network's fees, and it recommends Stripe's Purl Wallet.

Brave has opened the Brave Search API to AI agents that pay for each search themselves, with no sign-up or API key involved. The company announced it on November 12: the API, its developer tool for building applications with web data, now accepts automatic payments through x402, an open payment protocol.

The system works one request at a time. When an agent queries without paying, it gets back an HTTP 402 response (the "payment required" code) carrying the price of that search and the details needed to settle it. The agent signs a payment in USDC, a stablecoin, and sends the request again with it attached. Once Brave has checked the payment, it runs the search and returns the results along with a receipt for the transaction, recorded on the Base network.

Until now, using the API meant opening an account and picking a plan; with x402, since every request carries its own payment, that step goes away. The price is the one Brave already listed: $0.005 per query ($5 per 1,000), both for LLM Context, the API built to give agents search context, and for the web, news, image, video and local search endpoints. For a limited time, Brave will pick up the Base network fees.

For now, Brave only takes USDC on Base, through a payment facilitator the company runs itself, and it says other networks and other stablecoins will be accepted soon. As the simplest route it points to Purl Wallet, a command-line wallet built by Stripe, and refers developers to its documentation.

Why it matters · analysis and opinion

Taking the account and the key out of the way looks like a technical detail, but it points to something bigger: a program that buys a service on its own at the moment it needs it, without a person signing anything up beforehand. For developers building agents, it makes testing and paying for actual use simpler, although it means managing a stablecoin wallet and deciding how much money a program is allowed to handle. That Brave does it with an open protocol and recommends a Stripe wallet suggests that payments between machines are starting to move beyond experiments. It remains to be seen whether other data providers follow the same path and how spending is controlled when an agent makes a mistake or gets stuck in a loop.

Official source: Brave · Written with the help of AI: how we make the news

AI in your inbox, every day or every Friday

The stories that matter, each one in a minute. With the source for every one.

Choose one or both:

Sign up and you are in: the daily arrives every night and the weekly on Friday mornings. You can unsubscribe from any email.