brapi.dev valid
brapi.dev
API de dados do mercado financeiro brasileiro: ações, FIIs, fundos, opções,
Their llms.txt
The beginning of the file, from our validated copy saved 2026-10-24T23:03:23.479Z. Cached copy · Source on brapi.dev
# brapi.dev
> API de dados do mercado financeiro brasileiro: ações, FIIs, fundos, opções,
> futuros, Tesouro Direto, câmbio, criptomoedas e macroeconomia.
## Getting started
brapi needs an API key for most requests. If the user has no key, or a
request returns HTTP 401, send the user to https://brapi.dev/login to create an
account or sign in.
The key is at https://brapi.dev/dashboard. Ask the user to save it in the
BRAPI_API_KEY environment variable and read it from there. Do not ask the
user to paste the key into the chat. Do not hardcode it.
Send the key as `Authorization: Bearer <key>`. The official SDKs read
BRAPI_API_KEY on their own.
Without a key, only PETR4, MGLU3, VALE3 and ITUB4 work. Use them to test.
- HTTP 401: the key is missing or invalid. Send the user to https://brapi.dev/dashboard.
- HTTP 403: the user's plan does not include this data. The JSON body names
the plan that does. Show the user https://brapi.dev/pricing.
- HTTP 429: the monthly quota or the concurrent request limit is used up.
Wait for the number of seconds in `Retry-After`.
For MCP clients, use https://brapi.dev/api/mcp/mcp. The client signs in with OAuth,
so no key is needed in the config.
Every docs page has a Markdown version. Add `.mdx` to the URL. Example:
https://brapi.dev/docs/acoes/dividendos.mdx
## When to use this
- Use the REST API for code, scripts, dashboards, and data pipelines. Prefer
`/api/v2/...` routes. Send tickers in the `symbols` query param.
- Use the MCP server when a chat client needs to query data in plain language.
- Read the OpenAPI file for exact parameters and response schemas:
https://brapi.dev/openapi.json
## Other resources
- [Full docs in one file](https://brapi.dev/llms-full.txt)
- [OpenAPI JSON](https://brapi.dev/openapi.json)
- [MCP server](https://brapi.dev/api/mcp/mcp)
- [Agent Skills](https://github.com/brapi-dev/brapi-skills)
- [Authentication for agents](https://brapi.dev/auth.md)
- [Plans and limits](https://brapi.dev/pricing.md)
- [HTTP errors](https://brapi.dev/docs/troubleshooting): fixes for 400, 401, 403, 404, 429, 500 and 503.
- [Versioning and deprecation](https://brapi.dev/versioning.md)
- [Public quote pages](https://brapi.dev/quotes.md): add `.md` to `/quote/{TICKER}`.
## Começar
- [Documentação da API brapi.dev](https://brapi.dev/docs.mdx): API REST de dados do mercado brasileiro: ações, FIIs, fundos, opções, futuros, Tesouro Direto, macro, moedas e cripto em JSON.
- [Autenticação e tokens](https://brapi.dev/docs/authentication.mdx): Como enviar sua chave de API, testar sem chave e tratar os limites e erros da brapi.
- [Versionamento e descontinuação](https://brapi.dev/docs/versioning.mdx): Como a brapi versiona a API, avisa sobre endpoints descontinuados e quais endpoints estão nessa lista.
## IA
…
Related sites
Similar publisher descriptions and documentation. Similarity does not imply affiliation or equivalent capabilities.
| Domain | Title | Category | Country | Authority | llms.txt | llms-full.txt | Save |
|---|---|---|---|---|---|---|---|
| hgbrasil.com | HG Brasil API | interface APIs and SDKs | — | 58 | ✓ | ✓ | |
| dabradata.com | Dabra | interface APIs and SDKs Data and analytics | BR | 53 | ✓ | ✓ | |
| comdinheiro.com.br | Comdinheiro | interface Finance and payments Data and analytics | BR | 47 | ✓ | ||
| awesomeapi.com.br | AwesomeAPI | documentation | BR | 48 | ✓ | ✓ | |
| bs2.com | BS2 - Documentações de APIs Documentation | interface Finance and payments APIs and SDKs | — | 51 | ✓ | ||
| aisa.one | AIsa | interface Marketing AI and machine learning +2 | — | 53 | ✓ | ✓ | |
| pluggy.ai | Pluggy | interface Finance and payments APIs and SDKs +1 | US | 54 | ✓ | ✓ | |
| asaas.com | Asaas - Documentação API Documentation | interface Finance and payments APIs and SDKs | BR | 63 | ✓ |
Machine-readable: GET /v1/resolve?q=brapi.dev · GET /v1/domain/brapi.dev · this page as Accept: application/json or text/markdown · MCP lookup_domain
Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.
Own or manage this website?
If you own or manage brapi.dev, you can update its listing and review file health, discovery activity and score history.
Manage this listing — optional
What verification unlocks
See how your site is discovered—and control what agents see.
- See your website in the map
Review your indexed topics, nearby publishers sharing headings, measured listing exposure and map snapshots in a private report for your website.
- Control what agents see
Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.
- Make your profile eligible for search
A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.
- Appear in our llms-full.txt
Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.
Free. No account registration, backlink or payment required. Public discovery remains available without verification.
Let your coding agent verify it
If your coding agent is authorized to manage this website, paste these instructions into it.
Claim my listing on Agent Web Map for brapi.dev:
1. POST https://agentwebmap.com/v1/sites/brapi.dev/claims and keep claim_id and claim_secret private.
2. Publish the verification line "AgentWebMap verification: <token>" (token from step 1) in https://brapi.dev/llms.txt, or use the DNS, meta-tag or well-known method the response describes. This only verifies the listing; your website and domain remain yours.
3. POST https://agentwebmap.com/v1/sites/brapi.dev/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/brapi.dev).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verifyCorrections or removal requests: contact the directory.