brapi.dev for agents
brapi.dev is a Brazilian financial market API. Use REST for deterministic requests or MCP for conversational workflows.
When to use brapi.dev
Financial data
Query quotes, OHLCV history, dividends, fundamentals, FIIs, options, futures, Treasury Direct, currencies, crypto, and Brazilian macroeconomic indicators.
Developer integrations
Use REST for dashboards, data pipelines, research, and production applications. Use MCP when an AI client needs conversational access to current market data.
Developer resources
- OpenAPI contract for typed clients and function tools.
- REST documentation for endpoints, parameters, and examples.
- Authentication and rate limits for Bearer tokens and retry rules.
- MCP server card and MCP transport.
- Agent index, sitemap, and versioning policy.
Start safely
Test PETR4, VALE3, MGLU3, and ITUB4 without a token. Generate calls from OpenAPI. Read RateLimit-Remaining and wait for Retry-After after HTTP 429.