brapi.dev developer resources
Build with the brapi.dev financial data API.
Use the official API documentation, OpenAPI contract, SDKs, authentication guidance, and MCP server to build products with Brazilian market data.
REST API documentation
Browse endpoints, parameters, response examples, and use cases.
OpenAPI contract
Generate typed clients and function tools from the published schema.
Authentication and rate limits
Use Bearer tokens, sandbox tickers, rate headers, and OAuth for MCP.
Official SDKs
Start with the TypeScript or Python SDK guides and examples.
MCP server
Connect Claude, ChatGPT, Cursor, Codex, or another MCP client.
Agent index
Read the machine-oriented resource map and API selection guide.
Choose the right interface
- Use REST for deterministic requests, data pipelines, and dashboards.
- Use MCP for natural-language workflows in compatible AI clients.
- Use the sandbox tickers PETR4, VALE3, MGLU3, and ITUB4 without a token.
- Use /api/v2 for new integrations and read the versioning policy before migrating.