Serveur MCP

brapi

dev.brapi/mcp

Serveur MCP OK 92 outils

Faire examiner Voir les tarifs

Brazilian market data: B3 quotes, price history, dividends, fundamentals, funds, macro indicators.

Fiche technique

Auteur
brapi.dev (espace de noms du registre)
Dépôt
—
Site
brapi.dev/docs/mcp
Version
1.0.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://brapi.dev/api/mcp/mcp Streamable HTTP
Outils
92
Catégories
Commerce et marketing
Dernière mise à jour
30 nov. 2026
Publication
30 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/dev.brapi/mcp.svg)](https://latlas.dev/mcp/dev.brapi/mcp)
HTML
<a href="https://latlas.dev/mcp/dev.brapi/mcp"><img src="https://latlas.dev/badge/fiche/dev.brapi/mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://brapi.dev/api/mcp/mcp
Dernier résultat
OK 30 nov. 2026, 08:55
Temps de réponse
956 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
brapi-mcp-server 1.0.0
Outils
92

Historique

DateRésultatRéponseOutils
30 nov. 2026, 08:55OK956 ms92

Outils exposés (92, réponse à tools/list, 30 nov. 2026)

get_available_stocks

List Stocks and Indexes

Get list of available Brazilian stocks, indexes, and financial instruments with advanced filtering options Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch term to filter by name or ticker (e.g., "PETR", "Vale")

get_available_currencies

List Currency Pairs

Get list of available currency pairs for exchange rates Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch term to filter currencies (e.g., "USD", "Euro")

get_available_cryptocurrencies

List Cryptocurrencies

Get list of available cryptocurrencies Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch term to filter cryptocurrencies (e.g., "BTC", "ETH")

get_available_inflation_countries

List Inflation Countries

Get list of countries with available inflation data Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch term to filter countries

get_tickers

List Tickers

Search and filter available B3 tickers in brapi. Use for autocomplete, ticker validation, and discovering stocks, FIIs, ETFs, BDRs, units, and indexes. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch by ticker, company name, or old renamed ticker (e.g., "PETR", "VVAR3")
typeenum: "stock" | "fund" | "bdr"nonFilter by broad asset type: stock, fund, or bdr
subTypeenum: "stock" | "unit" | "fii" | "etf" | "fi-infra" | "fi-agro" | "fip" | "fidc" …nonFilter by subtype: stock, unit, fii, etf, fi-infra, fi-agro, fip, fidc, bdr
sectorstringnonFilter by sector
sortByenum: "symbol" | "name" | "close" | "change" | "volume" | "marketCap"nonSort field (default: "volume")
sortOrderenum: "asc" | "desc"nonSort order (default: "desc")
pageintegernonPage number
limitintegernonItems per page

get_ticker_renames

Ticker Renames

List known B3 ticker renames with old ticker, current canonical ticker, and effective date. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated symbols to filter by (e.g., "VVAR3,BHIA3")
searchstringnonSearch in old/current tickers (e.g., "BHIA")
startDatestringnonStart date YYYY-MM-DD
endDatestringnonEnd date YYYY-MM-DD

resolve_tickers

Resolve Tickers

Resolve old B3 tickers to the current ticker recommended by brapi. Current tickers are returned unchanged. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated symbols to resolve, max 20 (e.g., "VVAR3,PETR4")

get_ticker_coverage

Ticker Data Coverage

Check which brapi data surfaces are available for B3 tickers and get recommended endpoints. Accepts up to 20 comma-separated symbols per call. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`. Check up to 20 comma-separated symbols in one batch, e.g. "PETR4,MXRF11,VVAR3".

get_macro_series_available

List Macro Series

List 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. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
qstringnonOptional text filter (e.g., 'ipca', 'cdi', 'juros'). Matches slug, alias, name, description.
categoryenum: "interestRate" | "inflation" | "monetary" | "activity" | "labor" | "external"nonFilter by category (e.g., 'monetary', 'inflation', 'interestRate').

get_dictionary

Field Dictionary

Explain brapi API fields with the Portuguese label, description, calculation, endpoint references, type, and unit. Use this tool when a response field is unclear instead of guessing. Filter by search term or category. Authentication: not required. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonSearch in the field key, label, description, category, or endpoint paths
categorystringnonFilter by category, such as quote, fii, treasury, balance-sheet, or income-statement

get_account_capabilities

Account Plan and Limits

Get the authenticated brapi account plan, request limits, valid historical ranges, and feature access. Call this once when a protected tool's limits are unclear. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

Aucun paramètre.

get_stock_quotes

Stock Quotes and Data

Get current and historical data for Brazilian stocks, indexes, or ETFs including price quotes, financial statements, and dividends Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
tickersstringouiRequired. Use the exact key `tickers`, not `symbols` or `symbol`. Pass comma-separated B3 tickers, e.g. "PETR4" or "PETR4,VALE3,ITUB4".
intervalstringnonData interval for historical prices: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo"
rangestringnonTime range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max"
modulesstringnonData modules to include (comma-separated): "summaryProfile", "balanceSheetHistory", "balanceSheetHistoryQuarterly", "incomeStatementHistory", "incomeStatementHistoryQuarterly", "financialData", "financialDataHistory", "financialDataHistoryQuarterly", "defaultKeyStatistics", "defaultKeyStatisticsHis…
dividendsbooleannonInclude dividend history (default: false)

get_stock_quote

Stock Quote

Get v2 stock quote snapshots from /api/v2/stocks/quote: price, change, volume, market cap, day range, 52-week range, and logo. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".

get_stock_historical

Stock Price History

Get v2 OHLCV historical prices from /api/v2/stocks/historical for one or more B3 tickers. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
rangeenum: "1d" | "2d" | "5d" | "7d" | "1mo" | "3mo" | "6mo" | "1y" …nonHistorical range, e.g. "1mo", "1y", or "max"
intervalenum: "1m" | "2m" | "5m" | "15m" | "30m" | "60m" | "90m" | "1h" …nonHistorical interval, e.g. "1d", "1wk", or "1mo"
startDatestringnonStart date in YYYY-MM-DD format, e.g. "2026-08-25"
endDatestringnonEnd date in YYYY-MM-DD format, e.g. "2026-08-25"
sortOrderenum: "asc" | "desc"nonSort by date, default "desc"

get_stock_dividends

Stock Dividends

Get v2 dividends/JCP for stock-like B3 tickers from /api/v2/stocks/dividends. Use get_fii_dividends for FIIs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
startDatestringnonStart date in YYYY-MM-DD format, e.g. "2026-08-25"
endDatestringnonEnd date in YYYY-MM-DD format, e.g. "2026-08-25"
sortByenum: "paymentDate" | "lastDatePrior" | "approvedOn" | "rate"nonSort field, default "paymentDate"
sortOrderenum: "asc" | "desc"nonSort order, default "desc"

get_stock_insider_transactions

Stock Insider Transactions

Get monthly CVM insider transaction reports from /api/v2/stocks/insider-transactions. Rows group controllers, board members, directors, fiscal council, and other statutory bodies with related persons. Rows do not name each person or the traded ticker. The ticker selects the reporting company, so PETR3 and PETR4 return the same reports. credit and debit also include transfers, loans, and grants; use movementType for purchases and sales. quantity, unitPrice, and volume are exact decimal strings. The default window is the last 365 days. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
startDatestringnonTransaction start date. Default: 365 days before endDate in YYYY-MM-DD format, e.g. "2026-08-25"
endDatestringnonTransaction end date. Default: today in YYYY-MM-DD format, e.g. "2026-08-25"
companyRelationenum: "company" | "parent" | "subsidiary" | "all"nonIssuer of the security: the reporting company, its parent, or its subsidiary. Default "company"
directionenum: "credit" | "debit"noncredit adds to the position; debit removes from it
roleGroupenum: "controller" | "board" | "director" | "fiscalCouncil" | "statutoryBody"nonRole group. Each group includes related persons
movementTypestringnonExact report text, e.g. "Compra à vista" or "Venda à vista"
allVersionsbooleannonInclude earlier report versions. Default false. Earlier versions can repeat rows; do not sum them
pageintegernonPage for each company, starting at 1
limitintegernonTransactions per company and page, max 100, default 50

get_stock_shareholders

Stock Shareholders and Control

Get who owns B3 companies from /api/v2/stocks/shareholders: controllers and holders of 5% or more with their share of common (voting), preferred and total shares, treasury shares, other holders, free float, holder counts, the ultimate non-person controllers, chain (who owns the owners, as far as the filing goes) and stakes (this company's stakes in other companies, listed ones first). Percentages are in %. Source: each listed company's Formulário de Referência filed with CVM; companies refile when control or a 5% holder changes. Natural persons appear by name, never by CPF. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated B3 tickers, e.g. "PETR4,ITUB4"

get_ownership_network

Ownership Network

Get the ownership network between companies, funds, governments and people from /api/v2/stocks/ownership-network, for charts and for questions such as "who controls what" or "are there cross-holdings". nodes have id, kind (company, person, fund, government, foreign), name, ticker and market value in BRL; edges go from holder to company held with total and voting percent. With symbol, the network walks depth steps up (owners) and down (stakes); without symbol, it is the market-wide network from listed companies' filings, without people. cycles lists cross-holdings. topControllers ranks entities by the market value of the listed companies they control at the top of the chain; joint control counts for each controller. Source: each listed company's Formulário de Referência filed with CVM; companies refile when control or a 5% holder changes. Natural persons appear by name, never by CPF. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringnonCenter ticker, e.g. "ITUB4". Omit for the market network
depthintegernonSteps from the ticker, up and down. Default 2
minPercentnumbernonMinimum stake in % of total or voting shares. Default 5. With a ticker, controllers always appear
includePersonsbooleannonInclude people. Default true with a ticker, false otherwise
limitintegernonMax nodes (ticker) or edges (market). Default 1500

get_stock_earnings_calendar

Stock Earnings Calendar

Get quarterly (ITR) and annual (DFP) results release dates of B3 companies and of foreign companies with BDRs from /api/v2/stocks/earnings-calendar. Each row is one company and fiscal period, with its CNPJ, all its tickers, and, on the Pro plan, the codes of its debentures that have not matured (empty on other plans). Companies without listed shares have empty tickers; find them by cnpjs. date is the actual release date when published, else the planned date. status is scheduled, published, or overdue; only a date set by the company becomes overdue, a past estimate stays scheduled. dateChanges lists date changes announced by the company. callDate is the results presentation date. For BDRs, releaseTime is beforeMarket, duringMarket, or afterMarket relative to the New York session, and future dates are estimated (dateStatus estimated) from the same period one year earlier. Without symbols or cnpjs the window is at most 366 days; the default is 7 days back to 90 days ahead. All plans. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonOptional comma-separated B3 tickers, e.g. "PETR4,TIMS3". Omit to list all companies
cnpjsstringnonOptional comma-separated company CNPJs, max 20. Use for companies without listed shares, such as debenture issuers
fromstringnonRelease start date. Default: 7 days ago in YYYY-MM-DD format, e.g. "2026-08-25"
tostringnonRelease end date. Default: 97 days after from in YYYY-MM-DD format, e.g. "2026-08-25"
typesarray<enum: "quarterly" | "annual">nonquarterly, annual, or both. Default both
statusarray<enum: "scheduled" | "published" | "overdue">nonscheduled, published, overdue. Default all
updatedSincestringnonOnly rows changed since this ISO 8601 time
pageintegernon
limitintegernonRows per page, max 100, default 50

get_stock_profile

Company Profile

Get v2 company/profile fundamentals from /api/v2/stocks/profile. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".

get_stock_statistics

Key Statistics

Get v2 stock statistics from /api/v2/stocks/statistics, either current or historical. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
modeenum: "current" | "history"nonUse "current" for current/TTM data or "history" for series
periodenum: "annual" | "quarterly"nonHistorical period, default "annual"

get_stock_financial_data

Financial Metrics

Get v2 stock financial data from /api/v2/stocks/financial-data, either current or historical. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
modeenum: "current" | "history"nonUse "current" for current/TTM data or "history" for series
periodenum: "annual" | "quarterly"nonHistorical period, default "annual"

get_stock_balance_sheet

Balance Sheet

Get v2 balance sheet statements from /api/v2/stocks/balance-sheet. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
periodenum: "annual" | "quarterly"nonStatement period, default "annual"

get_stock_income_statement

Income Statement

Get v2 income statements from /api/v2/stocks/income-statement. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
periodenum: "annual" | "quarterly"nonStatement period, default "annual"

get_stock_cash_flow

Cash Flow Statement

Get v2 cash-flow statements from /api/v2/stocks/cash-flow. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
periodenum: "annual" | "quarterly"nonStatement period, default "annual"

get_stock_value_added

Value Added Statement

Get v2 value-added statements from /api/v2/stocks/value-added. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiRequired. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
periodenum: "annual" | "quarterly"nonStatement period, default "annual"

get_revenue_sources

Revenue Sources

Get annual revenue by reported segment from /api/v2/revenue-sources for B3 stocks, BDRs, FIIs and Fiagros; period=quarterly gives B3 companies' quarters instead. Each segment has a shared activity code, growth vs the prior year (fraction), revenue without concession construction revenue (growthExConstruction), flags, and a link to the source document. activities sums segments per activity with its share of all segments. For funds with a CVM monthly portfolio, lookThrough gives the portfolio's exposure per activity, coverage, and top holdings; it is null for ETFs, which do not file that portfolio. FIIs, Fiagros, and funds need the Pro plan. Startup and Pro plans. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated tickers: stocks, BDRs, FIIs, Fiagros, or ETFs, e.g. "PETR4,AAPL34,HGLG11,BOVA11"
cnpjsstringnonComma-separated fund CNPJs, for funds without a ticker
startYearintegernonFirst fiscal year. Default: oldest available
endYearintegernonLast fiscal year. Default: latest available
periodenum: "annual" | "quarterly"nonannual (default): fiscal years in years. quarterly: B3 companies' quarters in quarters, with year-to-date values and the 3-month value (quarterValue)

get_revenue_sources_compare

Compare Revenue by Activity

Compare revenue growth of every issuer with revenue in one activity (children included) from /api/v2/revenue-sources/compare. Segments of the same issuer are summed per fiscal year. Growth is a fraction; for concession activities it excludes construction revenue when known (basis exConstruction), else flags has includes-construction. Values stay in each issuer's currency: compare growth, not values. Duplicate revenue of listed subsidiaries is left out. Banking and insurance are not comparable and return an error. FIIs and Fiagros appear only on the Pro plan. Startup and Pro plans. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
activityenum: "agro" | "agro.grains" | "agro.sugar_ethanol" | "agro.cotton" | "agro.livestock" | "agro.farmland" | "agro.inputs" | "energy" …ouiActivity code, e.g. "energy.electricity.distribution" or "tech". A parent code includes its children
startYearintegernonFirst fiscal year. Default: oldest available
endYearintegernonLast fiscal year. Default: latest available

get_stock_screener

Stock Screener

Filter and rank B3 stocks by price and fundamentals from /api/v2/stocks/screener: P/L, P/VP, dividend yield, ROE, margins, debt, growth, and more. One call scans every asset. Each metric accepts {metric}Min and {metric}Max, inclusive, in the units of the response: fractions use 0.06 for 6% (dividendYield, returnOnEquity, margins, growth); changePercent uses 2.81 for 2.81%; prices and amounts are BRL. A filter drops assets without that value. Companies with a loss have a negative trailingPE, so for "P/L below 8" send trailingPEMin=0 and trailingPEMax=8. sortBy accepts any metric key, symbol, or name (default marketCap, desc); nulls sort last. page starts at 1; limit max 200, default 20. Startup and Pro plans. Pro metrics (returnOnEquity, returnOnAssets, grossMargin, ebitdaMargin, operatingMargin, debtToEquity, netDebtToEbitda, currentRatio, quickRatio, revenueGrowth, earningsGrowth, revenueGrowthAnnual, earningsGrowthAnnual, totalRevenue, ebitda, freeCashflow, totalDebt, totalCash) need the Pro plan: a filter or sort with them on Startup returns PLAN_LIMIT, and Startup results omit them. The free plan has no access. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
searchstringnonPart of the ticker, company name, or an old ticker
typeenum: "stock" | "fund" | "bdr"nonAsset type, default "stock"
subTypeenum: "stock" | "unit" | "fii" | "etf" | "fi-infra" | "fi-agro" | "fip" | "fidc" …nonAsset subtype: stock, unit, fii, etf, fi-infra, fi-agro, fip, fidc, bdr
sectorstringnonSector, partial match, e.g. "Finance"
subsectorstringnonExact subsector, e.g. "Energia Elétrica"
sortByenum: "symbol" | "name" | "lastPrice" | "changePercent" | "volume" | "marketCap" | "trailingPE" | "priceToBook" …nonMetric key, symbol, or name. Default "marketCap"
sortOrderenum: "asc" | "desc"nonSort order, default "desc"
pageintegernonPage number, starting at 1
limitintegernonItems per page, max 200, default 20
lastPriceMinnumbernonPreço (lastPrice) minimum, inclusive. Unit: BRL.
lastPriceMaxnumbernonPreço (lastPrice) maximum, inclusive. Unit: BRL.
changePercentMinnumbernonVariação no dia (changePercent) minimum, inclusive. Unit: percent, 2.81 = 2.81%.
changePercentMaxnumbernonVariação no dia (changePercent) maximum, inclusive. Unit: percent, 2.81 = 2.81%.
volumeMinnumbernonVolume (volume) minimum, inclusive. Unit: shares.
volumeMaxnumbernonVolume (volume) maximum, inclusive. Unit: shares.
marketCapMinnumbernonValor de mercado (marketCap) minimum, inclusive. Unit: BRL.
marketCapMaxnumbernonValor de mercado (marketCap) maximum, inclusive. Unit: BRL.
trailingPEMinnumbernonP/L (trailingPE) minimum, inclusive. Unit: multiple.
trailingPEMaxnumbernonP/L (trailingPE) maximum, inclusive. Unit: multiple.
priceToBookMinnumbernonP/VP (priceToBook) minimum, inclusive. Unit: multiple.
priceToBookMaxnumbernonP/VP (priceToBook) maximum, inclusive. Unit: multiple.
enterpriseToEbitdaMinnumbernonEV/EBITDA (enterpriseToEbitda) minimum, inclusive. Unit: multiple.
enterpriseToEbitdaMaxnumbernonEV/EBITDA (enterpriseToEbitda) maximum, inclusive. Unit: multiple.
enterpriseToRevenueMinnumbernonEV/Receita (enterpriseToRevenue) minimum, inclusive. Unit: multiple.
enterpriseToRevenueMaxnumbernonEV/Receita (enterpriseToRevenue) maximum, inclusive. Unit: multiple.
pegRatioMinnumbernonPEG (pegRatio) minimum, inclusive. Unit: multiple.
pegRatioMaxnumbernonPEG (pegRatio) maximum, inclusive. Unit: multiple.
earningsPerShareMinnumbernonLPA (earningsPerShare) minimum, inclusive. Unit: BRL.
earningsPerShareMaxnumbernonLPA (earningsPerShare) maximum, inclusive. Unit: BRL.
bookValuePerShareMinnumbernonVPA (bookValuePerShare) minimum, inclusive. Unit: BRL.
bookValuePerShareMaxnumbernonVPA (bookValuePerShare) maximum, inclusive. Unit: BRL.
netMarginMinnumbernonMargem líquida (netMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%.
netMarginMaxnumbernonMargem líquida (netMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%.
enterpriseValueMinnumbernonValor da firma (enterpriseValue) minimum, inclusive. Unit: BRL.
enterpriseValueMaxnumbernonValor da firma (enterpriseValue) maximum, inclusive. Unit: BRL.
fiftyTwoWeekChangeMinnumbernonVariação 52 semanas (fiftyTwoWeekChange) minimum, inclusive. Unit: fraction, 0.06 = 6%.
fiftyTwoWeekChangeMaxnumbernonVariação 52 semanas (fiftyTwoWeekChange) maximum, inclusive. Unit: fraction, 0.06 = 6%.
dividendYieldMinnumbernonDividend yield (dividendYield) minimum, inclusive. Unit: fraction, 0.06 = 6%.
dividendYieldMaxnumbernonDividend yield (dividendYield) maximum, inclusive. Unit: fraction, 0.06 = 6%.
returnOnEquityMinnumbernonROE (returnOnEquity) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
returnOnEquityMaxnumbernonROE (returnOnEquity) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
returnOnAssetsMinnumbernonROA (returnOnAssets) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
returnOnAssetsMaxnumbernonROA (returnOnAssets) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
grossMarginMinnumbernonMargem bruta (grossMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
grossMarginMaxnumbernonMargem bruta (grossMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
ebitdaMarginMinnumbernonMargem EBITDA (ebitdaMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
ebitdaMarginMaxnumbernonMargem EBITDA (ebitdaMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
operatingMarginMinnumbernonMargem operacional (operatingMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
operatingMarginMaxnumbernonMargem operacional (operatingMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
debtToEquityMinnumbernonDívida/PL (debtToEquity) minimum, inclusive. Unit: multiple. Pro plan.
debtToEquityMaxnumbernonDívida/PL (debtToEquity) maximum, inclusive. Unit: multiple. Pro plan.
netDebtToEbitdaMinnumbernonDívida líquida/EBITDA (netDebtToEbitda) minimum, inclusive. Unit: multiple. Pro plan.
netDebtToEbitdaMaxnumbernonDívida líquida/EBITDA (netDebtToEbitda) maximum, inclusive. Unit: multiple. Pro plan.
currentRatioMinnumbernonLiquidez corrente (currentRatio) minimum, inclusive. Unit: multiple. Pro plan.
currentRatioMaxnumbernonLiquidez corrente (currentRatio) maximum, inclusive. Unit: multiple. Pro plan.
quickRatioMinnumbernonLiquidez seca (quickRatio) minimum, inclusive. Unit: multiple. Pro plan.
quickRatioMaxnumbernonLiquidez seca (quickRatio) maximum, inclusive. Unit: multiple. Pro plan.
revenueGrowthMinnumbernonCrescimento da receita (revenueGrowth) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
revenueGrowthMaxnumbernonCrescimento da receita (revenueGrowth) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
earningsGrowthMinnumbernonCrescimento do lucro (earningsGrowth) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.

get_debenture_list

List Debentures

List Brazilian corporate debentures from /api/v2/debentures/list: issuer CNPJ, name and primary ticker (issuerTicker, when the issuer has listed shares), index (di, ipca, pre, igp-m, inpc, tr, usd, eur, none), indexPercent (e.g. 110 for 110% of DI), interestRate (% a year on top of the index), issue and maturity dates, updated nominal value per unit in BRL, quantities, incentivized (Lei 12.431 income tax benefit) and guarantee. Default: only active series (registered and not matured). Use cnpjs to list the debentures of one company, including companies without listed shares. Data from the public debenture registry, updated once a day. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonOptional comma-separated debenture codes, max 20, e.g. "TIMS12"
cnpjsstringnonOptional comma-separated issuer CNPJs, max 20
searchstringnonOptional search by debenture code or issuer name, e.g. "tim" or "TIMS1". Each word must start the code or a word of the name
statusarray<enum: "active" | "inactive">nonactive, inactive, or both. Default active, or both with symbols
indexarray<enum: "di" | "ipca" | "pre" | "igp-m" | "inpc" | "tr" | "usd" | "eur" …>nonFilter by index. pre = fixed rate, none = no index
incentivizedbooleannontrue for incentivized (Lei 12.431) debentures only
maturityFromstringnonMaturity start date in YYYY-MM-DD format, e.g. "2030-12-31"
maturityTostringnonMaturity end date in YYYY-MM-DD format, e.g. "2030-12-31"
sortByenum: "symbol" | "maturityDate" | "issueDate"nonDefault symbol
sortOrderenum: "asc" | "desc"non
pageintegernon
limitintegernonRows per page, max 100, default 50

get_debenture_profile

Debenture Profile

Get the full terms of Brazilian corporate debentures from /api/v2/debentures/profile: the list fields plus profitability start date, CVM registration, earlyRedemptionAllowed, interest schedule (every, unit month or day, dayCount 252/360/365), amortization schedule (every, unit, percent per payment, method; null fields mean payment at maturity or a variable percent), quantities in treasury, redeemed and cancelled, and agents (trustee, payment agent, depositary, lead underwriter). Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated debenture codes, max 20, e.g. "TIMS12"

get_company_news

Company News

Get news about B3 companies and assets from /api/v2/news: earnings, dividends, M&A, financing, buybacks, ratings, analyst calls, management and legal events. Filter by tickers; a share ticker also matches the issuer's other classes (PETR4 finds PETR3). Each story has our own AI-written title, summary, keyPoints and (with includeArticle) a Markdown article, written from the outlet articles listed in sources (outlet name, headline, link). Also eventType, sentiment (label, score -1 to 1), importance 1-5, topics, assets (ticker, name, type, relevance, sentiment, reason), publishedAt, a brapi.dev url and, for important stories, an image (url, credit, license; null otherwise). Newest first; page with nextCursor. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
tickersstringnonOptional comma-separated tickers, max 20, e.g. "PETR4,VALE3". Without it, news of all companies
eventTypesarray<enum: "earnings" | "dividends" | "guidance" | "mna" | "financing" | "buyback" | "rating" | "analyst" …>nonFilter by event type
sentimentarray<enum: "positive" | "negative" | "neutral" | "mixed">nonFilter by story sentiment
minImportanceintegernonMinimum importance, 1 (minor) to 5 (moves the market)
fromstringnonPublished from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
tostringnonPublished until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
limitintegernonStories per page, max 100, default 20
cursorstringnonnextCursor from the previous page, with the same filters
includeArticlebooleannontrue adds the full Markdown article. Default false

get_market_news

Market News

Get Brazilian and Latin American market and economy news from /api/v2/news/market: interest rates and Selic, inflation, FX, public accounts, politics, the Ibovespa and economists' views. Each story has our own AI-written title, summary, keyPoints and (with includeArticle) a Markdown article, written from the outlet articles listed in sources (outlet name, headline, link). Also eventType, sentiment (label, score -1 to 1), importance 1-5, topics, assets (ticker, name, type, relevance, sentiment, reason), publishedAt, a brapi.dev url and, for important stories, an image (url, credit, license; null otherwise). Newest first; page with nextCursor. Pro plan. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
eventTypesarray<enum: "earnings" | "dividends" | "guidance" | "mna" | "financing" | "buyback" | "rating" | "analyst" …>nonFilter by event type
sentimentarray<enum: "positive" | "negative" | "neutral" | "mixed">nonFilter by story sentiment
minImportanceintegernonMinimum importance, 1 (minor) to 5 (moves the market)
fromstringnonPublished from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
tostringnonPublished until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
limitintegernonStories per page, max 100, default 20
cursorstringnonnextCursor from the previous page, with the same filters
includeArticlebooleannontrue adds the full Markdown article. Default false

get_currency_rates

Exchange Rates

Get current exchange rates for currency pairs Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
currencystringouiRequired. Currency pair in BASE-QUOTE format, e.g. "USD-BRL" or "EUR-BRL".

get_crypto_prices

Cryptocurrency Prices

Get current and historical cryptocurrency prices with market data Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
coinstringouiCryptocurrency to query (e.g., "BTC", "ETH")
currencystringnonQuote currency for prices (default: BRL)
rangestringnonTime range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max"
intervalstringnonData interval: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo"
startDatestringnonFirst daily history date, YYYY-MM-DD. Use without range.
endDatestringnonLast daily history date, YYYY-MM-DD, inclusive.

get_macro_series

Macro Series History

Get 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_available to discover slugs. Currency pairs (USD-BRL etc.) are NOT served here - use the currency endpoints for FX series including inverses and cross-rates. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated series slugs (max 20). Examples: 'selic', 'ipca,igpm', 'cdi,ibcbr'
startDatestringnonISO date YYYY-MM-DD. Default: 12 months ago.
endDatestringnonISO date YYYY-MM-DD. Default: today.
sortOrderenum: "asc" | "desc"nonSort by date. Default: desc (newest first).
limitintegernonMax observations per series. Default: 20.

get_macro_series_latest

Latest Macro Values

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated series slugs (max 20). Example: 'selic,ipca12m,cdi'

get_inflation_data

Inflation Data

Get inflation data for Brazil (IPCA, IGPM) with period filtering options Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
countrystringnonCountry code (default: "brazil"). Currently only Brazil is supported
historicalbooleannonInclude historical data (default: false)
startstringnonStart date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
endstringnonEnd date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
sortBystringnonSort field: "date" or "value"
sortOrderstringnonSort order: "asc" or "desc"

get_prime_rate_data

Selic Rate

Get Brazil's prime rate (SELIC) data with period and sorting options Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
countrystringnonCountry code (default: "brazil"). Currently only Brazil is supported
historicalbooleannonInclude historical data (default: false)
startstringnonStart date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
endstringnonEnd date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
sortBystringnonSort field: "date" or "value"
sortOrderstringnonSort order: "asc" or "desc"

get_option_expirations

Option Expirations

List available option expiration dates for a given Brazilian underlying asset (stock, ETF, or index) Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiRequired. Underlying symbol (stock, ETF, or index), e.g. "PETR4" or "VALE3".
includeExpiredbooleannonInclude expirations that have already passed (default: false, returns only future expirations)

get_option_strikes

Option Strikes

List available option strike prices for a given Brazilian underlying asset on a specific expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying symbol (stock, ETF, or index) to list option strikes for (e.g., "PETR4")
expirationDatestringouiExpiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
sideenum: "call" | "put"nonFilter by option side: "call" (compra) or "put" (venda). Omit to return both

get_option_chain

Option Chain

Get the option chain (traded series with OHLCV snapshot) for a Brazilian underlying asset on a specific expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying symbol (stock, ETF, or index) to fetch the option chain for (e.g., "PETR4")
expirationDatestringouiExpiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
datestringnonEOD date in YYYY-MM-DD format used to look up prices and volume (default: latest available trading day)
sideenum: "call" | "put"nonFilter by option side: "call" (compra) or "put" (venda). Omit to return both
minStrikenumbernonMinimum strike price to include
maxStrikenumbernonMaximum strike price to include

get_option_historical

Option Price History

Get daily EOD historical price data (OHLCV, bid/ask, trades, financial volume) for a single option series identified by its symbol and expiration date Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "PETRE370")
expirationDatestringouiExpiration date in YYYY-MM-DD format
strikenumbernonStrike price. Required when the same symbol appears more than once within the same expiration
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortOrderenum: "asc" | "desc"nonSort order for the history array: "asc" (oldest first) or "desc" (newest first, default)

get_option_analytics

Option Greeks

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying symbol (stock, ETF, or index) to fetch option analytics for (e.g., "PETR4")
expirationDatestringouiRequired. Expiration date in YYYY-MM-DD format. Use get_option_expirations first to discover available dates
datestringnonEOD date in YYYY-MM-DD format used to look up the analytics snapshot (default: latest available trading day)
sideenum: "call" | "put"nonFilter by option side: "call" (compra) or "put" (venda). Omit to return both
minStrikenumbernonMinimum strike price to include
maxStrikenumbernonMaximum strike price to include
limitintegernonMaximum number of option series to return

get_option_analytics_history

Option Greeks History

Get the daily EOD implied volatility and Greeks time series for a single Brazilian option series identified by symbol and expiration date. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "PETRE370")
expirationDatestringouiExpiration date in YYYY-MM-DD format
strikenumbernonStrike price. Required when the same symbol appears more than once within the same expiration
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortOrderenum: "asc" | "desc"nonSort order for the analytics array: "asc" (oldest first) or "desc" (newest first, default)

get_option_positions

Option Open Interest

Get open interest (open contracts) per option series for a Brazilian underlying asset on a specific expiration date. Includes the covered, uncovered and blocked position breakdown. Open interest counts contracts still alive, unlike volume, which counts contracts traded during the session. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying symbol (stock, ETF, or index) to fetch open positions for (e.g., "PETR4")
expirationDatestringouiExpiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
datestringnonDate in YYYY-MM-DD format. Returns the most recent position report on or before it (default: latest available)
sideenum: "call" | "put"nonFilter by option side: "call" (compra) or "put" (venda). Omit to return both
minStrikenumbernonMinimum strike price to include
maxStrikenumbernonMaximum strike price to include

get_option_positions_history

Option Open Interest History

Get the daily open interest time series for a single Brazilian option series identified by symbol and expiration date. Use it to see a position being built up or unwound over time. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "PETRE370")
expirationDatestringouiExpiration date in YYYY-MM-DD format
strikenumbernonStrike price. Required when the same symbol appears more than once within the same expiration
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortOrderenum: "asc" | "desc"nonSort order for the positions array: "asc" (oldest first) or "desc" (newest first, default)

get_futures_list

List Futures Contracts

List 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
assetstringnonUnderlying asset code to filter by (e.g., "WIN", "WDO", "BGI", "DI1"). Exact match.
segmentenum: "financial" | "agribusiness"nonSegment filter: "financial" = mini Ibov, mini Dolar, DI, etc. "agribusiness" = boi, café, milho, soja.
includeExpiredbooleannonInclude contracts that have already expired (default: false)
pageintegernonPage number, 1-indexed (default: 1)
limitintegernonItems per page (default: 50, max: 100)
sortByenum: "symbol" | "expirationDate" | "underlyingAsset"nonSort key (default: "expirationDate")
sortOrderenum: "asc" | "desc"nonSort order (default: "asc")

get_futures_quote

Futures Quote

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated contract symbols, max 20 (e.g., "WINM26,BGIF27,DI1F27"). The contract symbol = asset code + month letter + 2-digit year.

get_futures_specs

Futures Contract Specs

Get 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). Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated contract symbols, max 20 (e.g., "WINM26,BGIF27,DI1F27").

get_futures_historical

Futures Price History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiContract symbol (e.g., "WINM26", "BGIF27", "DI1F27"). One contract per request.
startDatestringnonStart date YYYY-MM-DD (default: 12 months ago).
endDatestringnonEnd date YYYY-MM-DD (default: today).
sortOrderenum: "asc" | "desc"nonSort order by date. Default "desc" (newest first).

get_futures_term_structure

Futures Term Structure

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
assetstringouiUnderlying asset code (e.g., "DI1" for DI rate curve, "WIN" for mini Ibovespa expirations, "BGI" for live cattle). Exact match.
includeExpiredbooleannonInclude contracts that have already expired (default: false).

get_futures_option_expirations

Futures Option Expirations

List 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying asset code (e.g., "BGI", "ICF", "CCM", "SJC").
includeExpiredbooleannonInclude expirations already past (default: false).

get_futures_option_strikes

Futures Option Strikes

List 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying asset code (e.g., "BGI", "ICF", "CCM").
expirationDatestringouiExpiration date YYYY-MM-DD. Use get_futures_option_expirations to discover.
sideenum: "call" | "put"nonFilter by "call" or "put". Omit to return both.

get_futures_option_chain

Futures Option Chain

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying asset code (e.g., "BGI", "ICF").
expirationDatestringouiExpiration date YYYY-MM-DD.
datestringnonEOD reference date YYYY-MM-DD for the pricing snapshot (default: latest available).
sideenum: "call" | "put"nonFilter by "call" or "put". Omit for both.
minStrikenumbernonMinimum strike price to include.
maxStrikenumbernonMaximum strike price to include.

get_futures_option_historical

Futures Option Price History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
startDatestringnonStart date YYYY-MM-DD (default: 12 months ago).
endDatestringnonEnd date YYYY-MM-DD (default: today).
sortOrderenum: "asc" | "desc"nonSort order. Default "desc" (newest first).

get_futures_option_analytics

Futures Option Greeks

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying futures asset code (e.g., "BGI", "ICF").
expirationDatestringouiExpiration date YYYY-MM-DD.
datestringnonEOD reference date YYYY-MM-DD for the analytics snapshot (default: latest available).
sideenum: "call" | "put"nonFilter by "call" or "put". Omit for both.
minStrikenumbernonMinimum strike price to include.
maxStrikenumbernonMaximum strike price to include.
limitintegernonMaximum number of option series to return.

get_futures_option_analytics_history

Futures Option Greeks History

Get the daily EOD implied volatility and Greeks time series for a single option on a Brazilian futures contract. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
startDatestringnonStart date YYYY-MM-DD (default: 12 months ago).
endDatestringnonEnd date YYYY-MM-DD (default: today).
sortOrderenum: "asc" | "desc"nonSort order. Default "desc" (newest first).

get_futures_option_positions

Futures Option Open Interest

Get open interest (open contracts) per option series for a Brazilian futures underlying at a specific expiration. Open interest counts contracts still alive, unlike volume, which counts contracts traded during the session. The covered/uncovered/blocked breakdown is null for most futures segments. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
underlyingstringouiUnderlying asset code (e.g., "BGI", "ICF").
expirationDatestringouiExpiration date YYYY-MM-DD.
datestringnonReference date YYYY-MM-DD. Returns the most recent position report on or before it (default: latest available).
sideenum: "call" | "put"nonFilter by "call" or "put". Omit for both.
minStrikenumbernonMinimum strike price to include.
maxStrikenumbernonMaximum strike price to include.

get_futures_option_positions_history

Futures Option Open Interest History

Get the daily open interest time series for a single option on a Brazilian futures contract. Use it to see a position being built up or unwound over time. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringouiOption symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
startDatestringnonStart date YYYY-MM-DD (default: 12 months ago).
endDatestringnonEnd date YYYY-MM-DD (default: today).
sortOrderenum: "asc" | "desc"nonSort order. Default "desc" (newest first).

get_fii_list

List FIIs

List 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
pageintegernonPage number (1-based, default: 1)
limitintegernonItems per page (default: 20)
sortBystringnonSort field: symbol, name, segmentoAtuacao, mandate, price, navPerShare, priceToNav, dividendYield12m, totalInvestors (default: "totalInvestors")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc")
searchstringnonSearch by name or symbol (e.g., "hglg" matches HGLG11)
symbolsstringnonComma-separated FII symbols to filter by (max 20)
cnpjsstringnonComma-separated FII CNPJs to filter by, formatted or digits-only (max 20)
segmentTypeenum: "papel" | "tijolo" | "hibrido" | "fof"nonFilter by segment type: papel (paper/CRI), tijolo (real estate), hibrido (mixed), fof (fund of funds)
segmentoAtuacaostringnonFilter by sector (e.g., "Logística", "Shoppings", "Lajes Corporativas", "Títulos e Val. Mob.", "Residencial")
mandatestringnonFilter by mandate type (e.g., "Renda", "Ganho de Capital")
tipoGestaostringnonFilter by management type (e.g., "Ativa", "Definida")

get_fii_indicators

FII Indicators

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "MXRF11,HGLG11,KNCR11"

get_fii_indicators_history

FII Indicator History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortBystringnonSort field: referenceDate, symbol, price, navPerShare, priceToNav, dividendYield12m, dividendYield1m, monthlyReturn, totalInvestors (default: "referenceDate")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc")

get_fii_historical

FII Price History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortOrderenum: "asc" | "desc"nonSort order for the price points within each FII: "asc" (oldest first) or "desc" (newest first, default)

get_fii_properties

FII Properties

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
referenceDatestringnonQuarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII.
allVersionsbooleannonInclude amended report versions (default: false; latest version only).
sortByenum: "revenueShare" | "area" | "vacancyRate" | "name"nonSort properties by "revenueShare", "area", "vacancyRate" or "name" (default: "revenueShare").
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc").

get_fii_properties_history

FII Property History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "HGLG11,XPLG11"
startDatestringnonStart date in YYYY-MM-DD format. Defaults to 12 months ago.
endDatestringnonEnd date in YYYY-MM-DD format. Defaults to today.
sortBystringnonSort field: referenceDate, symbol, count, totalArea, vacancyRate, averageVacancyRate, propertiesWithVacancy (default: "referenceDate").
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc").
allVersionsbooleannonInclude amended report versions for each quarter (default: false; latest version only).

get_fii_portfolio

FII Portfolio

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
referenceDatestringnonQuarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII.
includestringnonComma-separated sections: "summary,allocations,properties,financialAssets,fundHoldings,lands,rights". Defaults to all sections.
allVersionsbooleannonInclude amended report versions (default: false; latest version only).

get_fii_portfolio_history

FII Portfolio History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
startDatestringnonStart date in YYYY-MM-DD format. Defaults to 12 months ago.
endDatestringnonEnd date in YYYY-MM-DD format. Defaults to today.
sortBystringnonSort field: referenceDate, symbol, totalItems, declaredValue, propertyCount, vacancyRate, financialAssetsDeclaredValue (default: "referenceDate").
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc").
allVersionsbooleannonInclude amended report versions for each quarter (default: false; latest version only).

get_fii_reports

FII Monthly Reports

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortBystringnonSort field: referenceDate, symbol, totalAssets, equity, navPerShare, monthlyReturn, monthlyDividendYield, totalInvestors, version (default: "referenceDate")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc")
pageintegernonPage number (1-based, default: 1)
limitintegernonItems per page (default: 20)
allVersionsbooleannonInclude retroactively amended report versions (default: false; only the latest version per referenceDate is returned)

get_fii_dividends

FII Dividends

Get historical dividends (rendimentos and amortizações) for one or more Brazilian FIIs. Returns rate per share, cum-dividend date (lastDatePrior), payment date and label. Actual dates from the maintained FII dividend source take precedence; CVM competence dates are used only as fallback for funds without sourced payment history. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: no limit, so announced future payments are included)
sortBystringnonSort field: paymentDate, lastDatePrior, rate, symbol, approvedOn (default: "paymentDate")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc")

get_funds_list

List Investment Funds

List Brazilian funds across FIIs, FIAGROs, FI-Infra/FIFs, FIDCs and FIPs. Use for discovery by symbol, CNPJ, search text or asset type. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
searchstringnonSearch by symbol, name, CNPJ or ISIN
assetTypeenum: "fii" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "etf" | "other"nonCanonical fund asset type
etfCategoryenum: "fixed-income" | "equity" | "crypto" | "real-estate"nonETF category from the exchange ETF lists; returns only ETFs
statusstringnonNormalized CVM/B3 status
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_funds_indicators

Fund Indicators

Get current indicators for specific Brazilian funds. Requires symbols or cnpjs; returns market price, NAV per share, P/NAV, equity, assets and investor count. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
assetTypeenum: "fii" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "etf" | "other"non

get_funds_nav_history

Fund NAV History

Get 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortOrderenum: "asc" | "desc"non

get_funds_profile

Fund Profile

Get monthly profile sections for specific FI/FIF funds. Requires symbols or cnpjs; includes investor breakdown, risk, liquidity, concentration and private-credit exposure. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
referenceDatestringnonReference date in YYYY-MM-DD
includestringnonComma-separated sections to include

get_funds_portfolio

Fund Portfolio

Get holdings for specific FI/FIF funds grouped into public bonds, fund holdings, credit assets, listed securities, receivables and payables. Requires symbols or cnpjs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
referenceDatestringnonReference date in YYYY-MM-DD
includestringnonComma-separated portfolio sections
pageintegernonPage number, default 1
limitintegernonItems per page, default 20

get_funds_holdings

Fund Holdings

Get the composition of a fund or ETF in one month: each asset with its weight in net assets, and totals by asset class, country and sector. Merges repeated positions. view=lookthrough (default) opens every position in another fund, ETF or ETF BDR down to the final assets, up to five levels, and merges one asset reached by many paths (paths lists the three largest). view=tree lists one level: pass node ids in path separated by / (e.g. bdr:BEEM39/sec:S000004266). view=direct is the fund's own file. Each fund position has node (id, expandable, reason when it does not open). summary.resolvedPercent and summary.unresolved say how much reached final assets. Requires symbols or cnpjs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
referenceDatestringnonNewest month on or before this date, YYYY-MM-DD
viewenum: "lookthrough" | "tree" | "direct"nonlookthrough (default), tree or direct
pathstringnonWith view=tree: node ids under the fund, separated by /, e.g. bdr:BEEM39
lookThroughbooleannonfalse is the same as view=direct
assetClassstringnonComma-separated asset classes for the holdings list, e.g. equity,bdr
pageintegernonPage number, default 1
limitintegernonHoldings per fund, default 10, max 500

get_funds_exposure

Portfolio Exposure

Get the final exposure of a portfolio: each position (B3 stock, unit, BDR, ETF, ETF BDR or fund CNPJ) opens to its final assets, and the result joins them by company, country, sector and asset class. A stock held directly joins the same company inside funds (NVIDIA through WRLD11, IVVB11 and NVDC34). companies has paths with the weight from each position. coverage.unresolved lists what does not open, with the reason. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
positionsstringouiComma-separated positions with a value in BRL or a weight, max 200. Example: WRLD11:10000,PETR4:3000 or WRLD11:60%,PETR4:40%
referenceDatestringnonNewest month on or before this date, YYYY-MM-DD
pageintegernonPage number, default 1
limitintegernonCompanies per page, default 50, max 500

get_funds_crowding

Where Fund Money Sits

Get how much money all Brazilian funds hold in each company in a month and the month's net buying or selling (flowValue: bought minus sold at the month's price, with the rules of get_funds_holders change). A company joins its share classes, units, BDRs and ADRs. value counts each position once: the funds' own positions (directValue) plus the part of US funds that local funds hold themselves (foreignFundsValue); a fund of funds does not add the same money again. A fund that has not yet delivered the month counts with its previous month (lateFilersValue), so a late file does not look like a sale. Each company has fundsCount (direct), allFundsCount (direct or through other funds), buyersCount and sellersCount. sectors has value, boughtValue, soldValue and flowValue per sector. summary has the concentration: top5WeightPercent, top10WeightPercent, effectiveCompanies, and confidentialEquityValue (confidential share positions, left out of every total). region=brazil|foreign|all. sortBy=flow with sortOrder=asc lists the largest sales. With history=true, returns the concentration per month instead. Only months most funds already delivered. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
referenceDatestringnonNewest month on or before this date, YYYY-MM-DD
regionenum: "all" | "brazil" | "foreign"nonall (default), brazil (B3 companies) or foreign
sortByenum: "value" | "flow" | "funds"nonvalue (default), flow or funds
sortOrderenum: "asc" | "desc"non
historybooleannontrue: concentration and flow per month instead of companies
pageintegernonPage number, default 1
limitintegernonCompanies per page, default 20, max 500

get_funds_holders

Funds Holding an Asset

Get the funds that hold a B3 asset (symbol, e.g. PETR4), the quotas of a fund (cnpj of a fund), or the shares and debt of a company (cnpj of a company: all its tickers, its debentures and other debt it issued), with value and weight in each fund. One row per fund with values summed; positions lists each security. issuer=true widens a share ticker to its company. asset.type is fund, company or security. scope=direct (default) lists direct positions only; scope=indirect lists funds that hold the asset through other funds (funds of funds, ETFs, ETF BDRs and the US funds behind them), scope=all both. With indirect scopes, value and weightPercent are the fund's total exposure, each fund has directValue, indirectValue, previousIndirectValue (no buy or sell claim) and its top 3 paths; summary.totalValue counts each position once, while the sum of the funds' values counts a position again in every fund above it. Without referenceDate, uses the newest month most funds already delivered. Each fund has change against previousReferenceDate: status (new, increased, decreased, unchanged, exited, unknown) and changeValue, the estimated value bought (+) or sold (−) at this month's price; summary has buyersCount, sellersCount and the net changeValue. sortBy=bought or sold lists the top buyers or sellers (sellers include exited funds); include=movers adds topBuyers and topSellers to the same response; include=direct with an indirect scope adds topDirect. status is unknown when the fund has co…

ParamètreTypeRequisDescription
symbolstringnonB3 ticker, e.g. PETR4
cnpjstringnonCNPJ of a fund (holders of its quotas) or of a company (holders of its shares and debt)
issuerbooleannonWiden a share ticker to all securities of its company
assetClassstringnonComma-separated asset classes of the positions, e.g. equity for shares only
referenceDatestringnonNewest month on or before this date, YYYY-MM-DD
assetTypeenum: "fii" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "etf" | "other"nonOnly funds of this type
sortByenum: "marketValue" | "weightPercent" | "bought" | "sold"nonmarketValue (default) or weightPercent list holders; bought or sold list the funds that bought or sold in the month, largest first
sortOrderenum: "asc" | "desc"non
pageintegernonPage number, default 1
limitintegernonFunds per page, default 20, max 100
includestringnonComma-separated extra lists, up to limit each: movers adds topBuyers and topSellers; direct, with scope indirect or all, adds topDirect (largest direct positions)
scopeenum: "direct" | "indirect" | "all"nondirect (default), indirect (through other funds) or all. bought, sold and change stay about direct trades

get_funds_holdings_history

Fund Position History

Get the position of one fund in one asset month by month: weight in net assets, value and quantity. Fund by symbol or cnpj; asset by ticker (asset) or by assetCnpj (a fund's quotas, or a company's shares and debt as in get_funds_holders). A month the fund reported without the asset has zeros; a month without a report is absent. Direct positions only. Default period is the last 24 months. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolstringnonFund ticker, e.g. BOVA11
cnpjstringnonFund CNPJ
assetstringnonAsset ticker, e.g. PETR4
assetCnpjstringnonCNPJ of a fund (its quotas) or of a company
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
sortOrderenum: "asc" | "desc"nonOldest (asc) or newest (desc, default) month first

get_index_composition

Index Composition

Get the assets and weights of an index (IBOV, SMLL, IDIV, IMAB, SP500, ...) from the holdings of the largest ETF that replicates it. Approximated: not the official index portfolio. Weights are on the ETF's invested part and add up to 100. Without symbols, lists the indexes. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated index symbols, e.g. IBOV,SMLL
referenceDatestringnonNewest month on or before this date, YYYY-MM-DD
pageintegernonPage number, default 1
limitintegernonAssets per index, default 10, max 500

get_funds_dividends

Fund Distributions

Get exact official dividend events for non-FII listed funds such as ETFs, FIAGRO, FI-Infra/FIF, FIDC and FIP. Returns declared date, ex-date (lastDatePrior), payment date, rate and label. Use get_fii_dividends for FIIs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
assetTypeenum: "etf" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "other"nonDividend asset type. FIIs are intentionally excluded.
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortByenum: "lastDatePrior" | "paymentDate" | "declaredDate" | "symbol" | "rate"non
sortOrderenum: "asc" | "desc"non

get_fiagro_reports

Fiagro Reports

Get monthly FIAGRO reports for specific funds by symbol or CNPJ, including PL, NAV, investors and monthly DY. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
allVersionsbooleannon
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_fiagro_portfolio

Fiagro Portfolio

Get grouped FIAGRO allocation sections for specific funds. Requires symbols or cnpjs; includes agro credit, maturity, liabilities and investor breakdown. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
referenceDatestringnon
allVersionsbooleannon
includestringnon

get_fidc_reports

FIDC Reports

Get monthly FIDC report rows for specific funds by CNPJ, or by symbol when listed mapping exists. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_fidc_portfolio

FIDC Portfolio

Get FIDC grouped portfolio/risk sections for specific funds. Requires symbols or cnpjs; includes sectors, maturity, delinquency, risk, quota classes and investors. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
referenceDatestringnon
includestringnon

get_fip_reports

FIP Reports

Get structured FIP report rows for specific funds. Requires symbols or cnpjs; CNPJ is the canonical lookup key for most FIPs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
reportTypeenum: "trimestral" | "quadrimestral"non
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_fii_financials

FII Financial Statements

Get FII DFIN financial reports by symbol or CNPJ. Does not include FIAGRO, FI-Infra, FIDC or FIP rows. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
yearintegernon
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_fii_annual_reports

FII Annual Reports

Get FII annual report rows by symbol or CNPJ. These are separate from monthly reports and quarterly portfolio/properties endpoints. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringnonComma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
cnpjsstringnonComma-separated CNPJs, formatted or digits-only, max 20
yearintegernon
startDatestringnonStart date in YYYY-MM-DD format
endDatestringnonEnd date in YYYY-MM-DD format
includestringnon
pageintegernonPage number, default 1
limitintegernonItems per page, default 20
sortBystringnonSort field supported by endpoint
sortOrderenum: "asc" | "desc"nonSort order

get_treasury_list

List Treasury Bonds

List 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. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
pageintegernonPage number (1-based, default: 1)
limitintegernonItems per page (default: 20)
searchstringnonSearch by public treasury symbol or bond name. Example: "tesouro-selic-01032031"
indexerenum: "selic" | "prefixado" | "ipca" | "igpm"nonFilter by bond indexer
couponTypeenum: "zero" | "semestral"nonFilter by coupon type: zero or semestral
sortByenum: "symbol" | "bondType" | "maturityDate" | "durationDays" | "baseDate" | "buyRate" | "sellRate" | "buyPrice" …nonSort field (default: "maturityDate")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "asc")

get_treasury_indicators

Treasury Bond Rates

Get the latest indicative rates and prices for one or more Tesouro Direto public bonds. Symbols are public brapi slugs like tesouro-selic-01032031. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated treasury symbols (max 20). Example: "tesouro-selic-01032031,tesouro-ipca-15052035"

get_treasury_indicators_history

Treasury Bond Rate History

Get daily historical Tesouro Direto rates and unit prices for one or more public bonds. When dates are omitted, returns the last 12 months. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a paid plan. Call get_account_capabilities when limits are unclear. Use the exact parameter names and formats shown in inputSchema.

ParamètreTypeRequisDescription
symbolsstringouiComma-separated treasury symbols (max 20). Example: "tesouro-selic-01032031"
startDatestringnonStart date in YYYY-MM-DD format (default: 12 months ago)
endDatestringnonEnd date in YYYY-MM-DD format (default: today)
sortByenum: "baseDate" | "buyRate" | "sellRate" | "buyPrice" | "sellPrice" | "basePrice"nonSort field (default: "baseDate")
sortOrderenum: "asc" | "desc"nonSort order: "asc" or "desc" (default: "desc")

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://brapi.dev/api/mcp/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http brapi https://brapi.dev/api/mcp/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : brapi ; URL : https://brapi.dev/api/mcp/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : brapi ; Server URL : https://brapi.dev/api/mcp/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "brapi": {
      "url": "https://brapi.dev/api/mcp/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "brapi": {
      "type": "http",
      "url": "https://brapi.dev/api/mcp/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "brapi": {
      "url": "https://brapi.dev/api/mcp/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "brapi": {
      "httpUrl": "https://brapi.dev/api/mcp/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.brapi]
url = "https://brapi.dev/api/mcp/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

brapi · L’Atlas · Test du

Markdown
[brapi — L’Atlas](https://latlas.dev/mcp/dev.brapi/mcp)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 1 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.