最后更新
更新日志/submit_url5 credits per call提交 URL
请求 Brave Search 重新抓取(re-crawl)公开网页,作用与 https://search.brave.com/submit-url 上的表单相同。返回 {"url", "accepted", "status", "message"}:Brave 响应 HTTP 200 时 accepted 为 true,表单此时会显示“Thank you for your submission.”;status 为 Brave 对此次提交返回的 HTTP 状态码。
Authorization: Bearer <key> on every request.Parameters
full http:// or https:// address of the public page to re-fetch, e.g. https://example.com/page
Response fields
urle.g."https://example.com/"acceptede.g.truestatuse.g.200messagee.g."Thank you for your submission."fetched_ate.g."2026-11-28T10:41:15.606Z"agee.g.0curl "https://api.maviapi.com/v1/sites/search-brave/submit_url?url=https%3A%2F%2Fexample.com%2F" \-H "Authorization: Bearer $MAVI_KEY"
{
"url": "https://example.com/",
"accepted": true,
"status": 200,
"message": "Thank you for your submission.",
"fetched_at": "2026-11-28T10:41:15.606Z",
"age": 0
}Get all the data, no code
Collect every page of GET /submit_url into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use Brave Search API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of Brave Search API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=search-brave -- npx -y '@maviapi/mcp'Import Brave Search API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/search-brave/openapi.json - Postman
https://api.maviapi.com/v1/apis/search-brave/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
使用 Brave Search API 进行开发
选择一个端点开始
- 提交 URL
GET /submit_url请求 Brave Search 重新抓取(re-crawl)公开网页,作用与 https://search.brave.com/submit-url 上的表单相同。返回 {"url", "accepted", "status", "message"}:Brave 响应 HTTP 200 时 accepted 为 true,表单此时会显示“Thank you for your submission.”;status 为 Brave 对此次提交返回的 HTTP 状态码。
GET /submit_url 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 url string / query 否 full http:// or https:// address of the public page to re-fetch, e.g. https://example.com/page 响应字段 字段 类型 说明 url string accepted boolean status integer message string fetched_at string age integer
Brave Search API 常见问题
能获取什么数据、费用多少、如何调用。
Brave Search 有官方 API 吗?
这个 Brave Search API 不是官方 API。它是 maviapi 针对 search.brave.com 上的公开数据提供的独立托管 API,并非由 Brave Search 开发、认可或支持。Brave Search 是否提供自己的开发者 API,请向 Brave Search 咨询。这个 API 用一个 maviapi 密钥即可调用,它的每个端点和返回的每个字段都在本页有文档说明。
Brave Search API 可以获取哪些数据?
Brave Search API 有 1 个端点。它返回 JSON,参数和字段见上方的文档:
- GET
/submit_url: 请求 Brave Search 重新抓取(re-crawl)公开网页,作用与 https://search.brave.com/submit-url 上的表单相同。
Brave Search API 的价格是多少?
调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 5 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $0.98。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。
如何调用 Brave Search API?
向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /submit_url:
curl 'https://api.maviapi.com/v1/sites/search-brave/submit_url' \
-H "Authorization: Bearer $MAVI_KEY"在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。
以 JSON 获取 Brave Search 数据有哪些方式?
以 JSON 获取 Brave Search 数据的每种方式适合不同的需求:
- 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 search.brave.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
- Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
- RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
- maviapi: 本页的 Brave Search API:1 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。
search.brave.com 改版后会怎样?
更新会破坏我的 Brave Search API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Songkick 演唱会 API
从 Songkick 获取任意城市在指定日期范围内即将举行的演唱会和音乐节,包含场馆、演出者、票价和购票链接。
- Google Maps API
来自 maps.google.com 的结构化数据。