brapi.dev - MCP de dados financeiros no seu SaaS
Cotações, dividendos, FIIs, cripto, câmbio e indicadores do Brasil em uma única API. Menos scraping, menos manutenção, mais produto.
TipoMCP
Transportestreamable-http
Endpointhttps://brapi.dev/api/mcp/mcp
AutenticaçãoOAuth 2.0
https://brapi.dev/api/mcp/mcp
Tools expostas (69)
get_available_stocksGet list of available Brazilian stocks, indexes, and financial instruments with advanced filtering optionsget_available_currenciesGet list of available currency pairs for exchange ratesget_available_cryptocurrenciesGet list of available cryptocurrenciesget_available_inflation_countriesGet list of countries with available inflation dataget_tickersSearch and filter available B3 tickers in brapi. Use for autocomplete, ticker validation, and discovering stocks, FIIs, ETFs, BDRs, units, and indexes.get_ticker_renamesList known B3 ticker renames with old ticker, current canonical ticker, and effective date.resolve_tickersResolve old B3 tickers to the current ticker recommended by brapi. Current tickers are returned unchanged.get_ticker_coverageCheck which brapi data surfaces are available for each B3 ticker and get recommended endpoints.get_macro_series_availableList macroeconomic series available in brapi (slug, name, unit, frequency, category). Public — no auth required. Use this for discovery before calling get_macro_series. Optional `q` does case-insensitive substring search across slug, alias, name and description, with results ranked by relevance. Optional `category` filters by category. FX pairs are intentionally excluded — they live under the currency endpoints.get_stock_quotesGet current and historical data for Brazilian stocks, indexes, or ETFs including price quotes, financial statements, and dividendsget_stock_quoteGet v2 stock quote snapshots from /api/v2/stocks/quote: price, change, volume, market cap, day range, 52-week range, and logo.get_stock_historicalGet v2 OHLCV historical prices from /api/v2/stocks/historical for one or more B3 tickers.get_stock_dividendsGet v2 dividends/JCP for stock-like B3 tickers from /api/v2/stocks/dividends. Use get_fii_dividends for FIIs.get_stock_profileGet v2 company/profile fundamentals from /api/v2/stocks/profile.get_stock_statisticsGet v2 stock statistics from /api/v2/stocks/statistics, either current or historical.get_stock_financial_dataGet v2 stock financial data from /api/v2/stocks/financial-data, either current or historical.get_stock_balance_sheetGet v2 balance sheet statements from /api/v2/stocks/balance-sheet.get_stock_income_statementGet v2 income statements from /api/v2/stocks/income-statement.get_stock_cash_flowGet v2 cash-flow statements from /api/v2/stocks/cash-flow.get_stock_value_addedGet v2 value-added statements from /api/v2/stocks/value-added.get_currency_ratesGet current exchange rates for currency pairsget_crypto_pricesGet current and historical cryptocurrency prices with market dataget_macro_seriesGet historical observations for Brazilian macroeconomic series (Selic, IPCA, IGP-M, CDI, IBC-Br, etc.). Pass slugs in `symbols` (comma-separated, e.g. `selic,ipca,igpm`). Use get_macro_series_catalog or search_macro_series to discover slugs. Currency pairs (USD-BRL etc.) are NOT served here — use the currency endpoints for FX series including inverses and cross-rates.get_macro_series_latestGet only the most recent observation for each requested macroeconomic series. Lighter than get_macro_series when you just need the current Selic / IPCA / CDI value. FX pairs are not served here — use the currency endpoints.get_inflation_dataGet inflation data for Brazil (IPCA, IGPM) with period filtering optionsget_prime_rate_dataGet Brazil's prime rate (SELIC) data with period and sorting optionsget_option_expirationsList available option expiration dates for a given Brazilian underlying asset (stock, ETF, or index)get_option_strikesList available option strike prices for a given Brazilian underlying asset on a specific expiration dateget_option_chainGet the option chain (traded series with OHLCV snapshot) for a Brazilian underlying asset on a specific expiration dateget_option_historicalGet daily EOD historical price data (OHLCV, bid/ask, trades, financial volume) for a single option series identified by its symbol and expiration dateget_option_analyticsGet EOD implied volatility and Greeks for traded Brazilian option series for an underlying asset on a specific expiration date. Fields are null with nullReason when the calculation cannot be produced from observed data.get_option_analytics_historyGet the daily EOD implied volatility and Greeks time series for a single Brazilian option series identified by symbol and expiration date.get_futures_listList available Brazilian futures contracts (mini Ibovespa, mini Dolar, full index/dollar, DI rate, agribusiness: boi, café, milho, soja). Paginated with filters by underlying asset and segment.get_futures_quoteGet EOD snapshot quote for one or more Brazilian futures contracts. Returns OHLC, daily settlement price (AdjstdQt), settlement rate (AdjstdQtTax — populated for DI/rate-quoted contracts only), oscillation, number of trades, contract quantity, and financial volume.get_futures_specsGet contract specifications (without pricing) for one or more Brazilian futures: expiration date, contract multiplier (e.g., WIN = 0.2, BGI = 330 arrobas, DI1 = 1), allocation round lot, ISIN, CFI, trading currency, delivery type, and quotation type (price vs rate).get_futures_historicalGet daily EOD time series for a single Brazilian futures contract. Each point has OHLC, settlement price, settlement rate (DI/DAP only), reference price, oscillation, trades, contract quantity and financial volume. For DI1/DAP/DI contracts, close/high/low fields hold the rate in %a.a., and settlement holds the PU in BRL.get_futures_term_structureGet the full term structure (all live contracts) for a Brazilian futures underlying asset. Returns one row per expiration, ordered by date ascending, each with the latest EOD pricing. Useful for plotting the DI yield curve, contango/backwardation in commodities, or the mini-Ibov forward curve.get_futures_option_expirationsList available option expiration dates for a Brazilian futures underlying (options on futures: e.g., options on BGI live cattle, ICF coffee, CCM corn, SJC soybean). These options have their own expiration calendar, often different from the underlying future.get_futures_option_strikesList available strike prices for options on a Brazilian futures contract at a given expiration. Pair with get_futures_option_chain to fetch traded series with prices.get_futures_option_chainGet the option chain (traded series with last EOD prices) for a Brazilian futures underlying at a specific expiration. Each series carries optionStyle (american/european), strike, contractMultiplier, allocationRoundLot, plus OHLC/volume/oscillation from the latest pregão.get_futures_option_historicalGet the daily EOD historical OHLC time series for a single option on a Brazilian futures contract. Returns the option specs (strike, optionStyle, expiration, multiplier) plus traded-day points (referencePrice + OHLC + oscillation + trades + financial volume). Days where the option didn't trade aren't included — most futures options have sparse history.get_futures_option_analyticsGet EOD implied volatility and Greeks for options on Brazilian futures for an underlying asset at a specific expiration. European options use Black-76; American options use a binomial futures model. Fields are null with nullReason when the calculation cannot be produced from observed data.get_futures_option_analytics_historyGet the daily EOD implied volatility and Greeks time series for a single option on a Brazilian futures contract.get_fii_listList Brazilian Real Estate Investment Funds (FIIs) with optional filters by symbols, CNPJs, segment type, sector, mandate and management type. Returns paginated results with current indicators (price, P/VP, dividend yield) and administrator info. Use get_funds_list for FI-Infra/FIF, FIAGRO, FIDC and FIP funds such as JURO11.get_fii_indicatorsGet current fundamental indicators for one or more Brazilian Real Estate Investment Funds (FIIs). Returns P/VP (price-to-NAV), dividend yield (12m and 1m), monthly return, equity, total assets, total investors, and administrator info.get_fii_indicators_historyGet monthly historical evolution of fundamental indicators (price, P/VP, dividend yield, monthly return, total investors, equity, total assets) for one or more Brazilian FIIs. Useful for charting trends and comparing periods.get_fii_historicalGet daily OHLCV historical price data for one or more Brazilian Real Estate Investment Funds (FIIs). Returns open, high, low, close, volume and adjusted close per day, grouped by symbol.get_fii_propertiesGet FII physical properties with vacancy first-class: area, address, unit count, vacancy rate, delinquency rate, revenue share and consolidated area-weighted vacancy. Rate fields are decimal ratios (0.0328 = 3.28%). Best endpoint for brick-and-mortar FII vacancy analysis.get_fii_properties_historyGet quarterly time series of FII physical-property summaries: property count, total area, area-weighted vacancy, average vacancy and number of properties with vacancy data. Best for charting vacancy trends before drilling into get_fii_properties.get_fii_portfolioGet normalized FII portfolio composition grouped by fund: summary, allocations, CRIs, FII fund holdings, properties, lands and rights. Best for FoFs, paper FIIs, issuer concentration and full holdings analysis.get_fii_portfolio_historyGet quarterly time series of normalized FII portfolio summaries: total items, declared value, property summary, financial-asset summary and allocations by asset class. Best for charting portfolio composition before drilling into get_fii_portfolio.get_fii_reportsGet monthly CVM management reports for Brazilian FIIs with full asset composition (real estate, CRI, LCI, fund holdings, cash, government/private bonds), profitability (monthly return, monthly dividend yield), fees and liabilities. Most comprehensive endpoint for due diligence.get_fii_dividendsGet historical dividends (rendimentos and amortizações) for one or more Brazilian FIIs. Returns rate per share, ex-dividend date (lastDatePrior), payment date and label. Note: paymentDate reflects the competence reference (1st of month) — actual credit dates vary by administrator (typically 4-14 days after lastDatePrior).get_funds_listList Brazilian funds across FIIs, FIAGROs, FI-Infra/FIFs, FIDCs and FIPs. Use for discovery by symbol, CNPJ, search text or asset type.get_funds_indicatorsGet current indicators for specific Brazilian funds. Requires symbols or cnpjs; returns market price, NAV per share, P/NAV, equity, assets and investor count.get_funds_nav_historyGet NAV history for specific funds. FI/FIF data is daily; FIDC data is monthly by quota class or series and includes official monthly return. Requires symbols or cnpjs; market OHLCV price is separate from NAV.get_funds_profileGet monthly profile sections for specific FI/FIF funds. Requires symbols or cnpjs; includes investor breakdown, risk, liquidity, concentration and private-credit exposure.get_funds_portfolioGet holdings for specific FI/FIF funds grouped into public bonds, fund holdings, credit assets, listed securities, receivables and payables. Requires symbols or cnpjs.get_funds_dividendsGet exact official dividend events for non-FII listed funds such as FIAGRO, FI-Infra/FIF, FIDC and FIP. Returns declared date, ex-date (lastDatePrior), payment date, rate and label. Use get_fii_dividends for FIIs.get_fiagro_reportsGet monthly FIAGRO reports for specific funds by symbol or CNPJ, including PL, NAV, investors and monthly DY.get_fiagro_portfolioGet grouped FIAGRO allocation sections for specific funds. Requires symbols or cnpjs; includes agro credit, maturity, liabilities and investor breakdown.get_fidc_reportsGet monthly FIDC report rows for specific funds by CNPJ, or by symbol when listed mapping exists.get_fidc_portfolioGet FIDC grouped portfolio/risk sections for specific funds. Requires symbols or cnpjs; includes sectors, maturity, delinquency, risk, quota classes and investors.get_fip_reportsGet structured FIP report rows for specific funds. Requires symbols or cnpjs; CNPJ is the canonical lookup key for most FIPs.get_fii_financialsGet FII DFIN financial reports by symbol or CNPJ. Does not include FIAGRO, FI-Infra, FIDC or FIP rows.get_fii_annual_reportsGet FII annual report rows by symbol or CNPJ. These are separate from monthly reports and quarterly portfolio/properties endpoints.get_treasury_listList Tesouro Direto public bonds with current indicative rates and prices. Supports filtering by public symbol/name, indexer (selic, prefixado, ipca, igpm), coupon type, sorting and pagination.get_treasury_indicatorsGet the latest indicative rates and prices for one or more Tesouro Direto public bonds. Symbols are public brapi slugs like tesouro-selic-01032031.get_treasury_indicators_historyGet daily historical Tesouro Direto rates and unit prices for one or more public bonds. When dates are omitted, returns the last 12 months.
DetalhesCredencial
Cadastradojul/2026