Brave Search API 现在通过 x402 协议接受智能体支付。
Brave Search API now accepts agentic payments via the x402 protocol

原始链接: https://brave.com/blog/search-api-agentic-payments/

Brave Search API 现已通过 x402 协议支持即时按量付费的智能体支付,开发者和 AI 智能体无需 API 密钥或账户即可查询 Brave 的独立搜索索引。每个请求都需要付款;未付款的请求会返回 HTTP 402,并附带定价和支付详情。智能体在 Base 上签署 USDC 支付,重试后会收到搜索结果及交易回执。Brave 运行自己的 facilitator,接受 Base 上的 USDC,其他网络和稳定币即将支持。定价为每个请求 0.005 美元,适用于 LLM Context 以及网页、新闻、图片、视频和本地端点(每 1,000 个请求 5 美元)。Gas 费用在限定时间内由平台承担。用户可以使用 Base 原生 USDC 为智能体钱包充值,Purl Wallet 是最简单的 CLI 选项。这实现了无需传统账户设置的按需搜索和智能体 grounding。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Brave 搜索 API 现已支持通过 x402 协议进行代理支付 ( brave.com ) 9 点 由 sjdh76 1 小时前 | 隐藏 | 过往 | 收藏 | 1 条评论 帮助 araarabish 1 小时前 [–] 我们会看到所有搜索引擎都采用这种模式吗?这会是搜索引擎收入的未来吗?与广告和追踪相比,可能最终对消费者更友好。 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

The Brave Search API, our developer tool for building applications with data from the Web, is adding support for instant, pay-as-you-go, agentic payments enabled by the open x402 payment protocol. Developers and autonomous AI agents that specifically require agentic search can now programmatically query Brave’s independent search index, ground agent responses, and settle requests in real time, which eliminates the need for traditional API key management.

Integrating x402 with the Brave Search API makes it easier for an agentic harness to leverage Brave Search API via a CLI wallet, as Brave runs its own facilitator accepting USDC on the Base blockchain, with acceptance on other networks and with other stablecoins incoming soon. This allows a Brave Search API user the ability to pay for LLM Context (agentic grounding) or general web search on-demand, without first creating an account and selecting a plan. Instead, simply transfer USDC stablecoin to your agent’s wallet via the Base network and it’s ready to access the same high-quality search results powered by Brave’s search engine.

How does it work?

Brave Search API endpoints behind x402 require payment on every request rather than authentication. A request sent without payment receives an HTTP 402 Payment Required response that states the price of that search and the payment details needed to pay it. The agent signs a USDC payment for that amount and retries the request with the signed payment attached. Once the payment is verified, the search runs and results are returned with a receipt of the transaction that occurred on the Base blockchain.

Get started today

Pricing follows Brave’s published API rates: LLM Context, an API designed specifically for providing search context for agents, will cost $0.005 ($5 per 1,000). Additionally, web (search for humans), news, image, video, and local endpoints will also be available for $0.005 ($5 per 1,000). Gas fees for transacting on the Base blockchain will be covered for a limited time. Since each request carries its own payment, a Brave Search API account is no longer needed to use the service.

The easiest path to query via x402 is to install Purl Wallet, a Stripe-developed CLI wallet for your agent. Set up your wallet, top it off using Base-native USDC, and start querying today.

Ready to build pay-as-you-go search into your apps or AI agents? Check out our Brave Search x402 Proxy Documentation and explore: https://api-dashboard.search.brave.com/documentation/guides/agent-payments

联系我们 contact @ memedata.com