Data APIs · Brave Search
Brave Search API for AI agents
morigraph has one Brave Search API, Brave Search, that Claude, ChatGPT, Cursor, Codex or your own code can call. Run a Brave web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON. Brave answers from its own independent index. Returns up to 20 results per call, with related searches and video results where the source has them; page deeper with page and pick the country Brave searches from. You need no account or API key with a data vendor, only one morigraph connection. A call costs 0.017 credits, about $1.70 for 1,000 calls, paid from one balance.
- APIs
- 1
- Price
- 0.017 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No vendor account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Brave Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Brave Search data API with {"country":"US","limit":20,"query":"best running shoes"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"brave.search","input":{"country":"US","limit":20,"query":"best running shoes"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"brave.search","input":{"country":"US","limit":20,"query":"best running shoes"}}'Brave Search
Run a Brave web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON. Brave answers from its own independent index. Returns up to 20 results per call, with related searches and video results where the source has them; page deeper with page and pick the country Brave searches from.
| Argument | Type | Required | What it is |
|---|---|---|---|
country | AR | AU | AT | BE | BR | CA | CL | CN | DK | FI | FR | DE | GR | HK | IN | ID | IT | JP | KR | MY | MX | NL | NZ | NO | PL | PT | PH | RU | SA | SG | ZA | ES | SE | CH | TW | TR | GB | US | no | ISO-3166 alpha-2 country Brave searches from, e.g. US, GB, DE. Brave ranks and localizes results for that country. Only the countries Brave offers are accepted; US is served by every source and the others by the sources that can target t… Default "US". |
limit | integer | no | Maximum number of organic results to return (1-20, default 20). Brave serves about 20 organic results per page, and some queries carry fewer. |
page | integer | no | Which page of Brave results to return, starting at 1 (up to 10); a page holds about 20 results. Each page is billed as one request. Pages after the first are served only for country US, by the one source that continues each page exactly … Default 1. |
query | string | yes | The Brave search query. |
safeSearch | off | moderate | strict | no | How strictly adult content is filtered out of the results: off applies no filter, moderate (the default) applies the search engine's standard filter, and strict filters the most. A stricter level can return fewer results. A source that c… |
Returns displayUrl domain durationSeconds image position publishedUtc query relatedSearches snippet source title url videos
The call
data_api({"api":"brave.search","input":{"country":"US","limit":20,"query":"best running shoes"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Brave search results when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need my own API key for Brave search results?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call the API on this page.
What does Brave search results cost through morigraph?
0.017 credits a call, where a credit is about 10 cents. That is from about $1.70 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Brave search results?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.