Brave Search API Integrates x402 Protocol for Pay-as-You-Go Agentic Payments
AI assistants · AI coding
Brave has integrated the open x402 payment protocol into its Search API, enabling autonomous AI agents to pay on demand using USDC on the Base blockchain without account registration or API key management.
Brave announced that the Brave Search API now supports instant pay-as-you-go payments enabled by the open x402 payment protocol. The integration allows autonomous AI agents and developers to query Brave's web index and retrieve LLM grounding context without traditional API keys or monthly subscription plans. When an unauthenticated request is sent, the API returns an HTTP 402 Payment Required status code with pricing details, prompting the agent to sign and attach a USDC payment on the Base blockchain. Brave operates its own facilitator to settle transactions, with plans to support additional blockchains and stablecoins. Pricing is set at $0.005 per request ($5 per 1,000 requests) across LLM Context, general web, news, image, video, and local search endpoints, with Base network gas fees covered for a limited time.
Key takeaways
- The x402 protocol integration allows AI agents to settle Brave Search API requests in real time via USDC on the Base blockchain without setting up accounts or managing API keys.
- Unpaid requests trigger an HTTP 402 response specifying price details; once the agent signs and submits the USDC payment, search results and an on-chain receipt are returned.
- Brave prices search queries at $0.005 per request ($5 per 1,000) across LLM Context and general web endpoints, temporarily covering Base network gas fees.
Source:brave.com Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.