Skip to content
brapi avatar

brapi

dev.brapi/mcp

Brazilian B3 market data and macro indicators: quotes, history, fundamentals, funds, and debentures.

CCM score
67 of 100
tools
80
transport
HTTP
last updated
Nov 30, 2026
Open website

Own this MCP server? Claim it

What it does

  • Reads quotes and history with get_stock_quote, get_stock_historical, and get_stock_dividends, plus screening through get_stock_screener and get_tickers
  • Exposes financial statements through get_stock_balance_sheet, get_stock_income_statement, and get_stock_cash_flow, along with shareholder and ownership data from get_stock_shareholders
  • Covers FIIs, funds, Tesouro Direto, debentures, options, and macro series like get_macro_series and get_prime_rate_data
  • Requires a brapi account for most endpoints, with discovery tools like get_tickers open without login
  • Designed for analysts and investors who want Brazilian market figures inside their AI assistant

Install

$ npx -y add-mcp https://brapi.dev/api/mcp/mcp --name brapi -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http brapi https://brapi.dev/api/mcp/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 80 tools

Verified live against the running server on Nov 30, 2026.

get_available_stocksGet 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.1 params

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.

Parameters* required
searchstring
Search term to filter by name or ticker (e.g., "PETR", "Vale")
get_available_currenciesGet list of available currency pairs for exchange rates Authentication: not required. Use the exact parameter names and formats shown in inputSchema.1 params

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

Parameters* required
searchstring
Search term to filter currencies (e.g., "USD", "Euro")
get_available_cryptocurrenciesGet list of available cryptocurrencies Authentication: not required. Use the exact parameter names and formats shown in inputSchema.1 params

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

Parameters* required
searchstring
Search term to filter cryptocurrencies (e.g., "BTC", "ETH")
get_available_inflation_countriesGet list of countries with available inflation data Authentication: not required. Use the exact parameter names and formats shown in inputSchema.1 params

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

Parameters* required
searchstring
Search term to filter countries
get_tickersSearch 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.8 params

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.

Parameters* required
limitinteger
Items per page
pageinteger
Page number
searchstring
Search by ticker, company name, or old renamed ticker (e.g., "PETR", "VVAR3")
sectorstring
Filter by sector
sortBystring
Sort field (default: "volume")one of symbol · name · close · change · volume · marketCap
sortOrderstring
Sort order (default: "desc")one of asc · desc
subTypestring
Filter by subtype: stock, unit, fii, etf, fi-infra, fi-agro, fip, fidc, bdrone of stock · unit · fii · etf · fi-infra · fi-agro
typestring
Filter by broad asset type: stock, fund, or bdrone of stock · fund · bdr
get_ticker_renamesList 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.4 params

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.

Parameters* required
endDatestring
End date YYYY-MM-DD
searchstring
Search in old/current tickers (e.g., "BHIA")
startDatestring
Start date YYYY-MM-DD
symbolsstring
Comma-separated symbols to filter by (e.g., "VVAR3,BHIA3")
resolve_tickersResolve 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.1 params

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.

Parameters* required
symbols*string
Comma-separated symbols to resolve, max 20 (e.g., "VVAR3,PETR4")
get_ticker_coverageCheck 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.1 params

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.

Parameters* required
symbols*string
Required. Use the exact key `symbols`. Check up to 20 comma-separated symbols in one batch, e.g. "PETR4,MXRF11,VVAR3".
get_macro_series_availableList macroeconomic series available in brapi (slug, name, unit, frequency, category). Public - no auth required. Use this for discovery before calling get_macro_series. Optional `q` does case-insensitive substring search across slug, alias, name and description, with results r...2 params

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 r...

Parameters* required
categorystring
Filter by category (e.g., 'monetary', 'inflation', 'interestRate').one of interestRate · inflation · monetary · activity · labor · external
qstring
Optional text filter (e.g., 'ipca', 'cdi', 'juros'). Matches slug, alias, name, description.
get_dictionaryExplain 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...2 params

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...

Parameters* required
categorystring
Filter by category, such as quote, fii, treasury, balance-sheet, or income-statement
searchstring
Search in the field key, label, description, category, or endpoint paths
get_account_capabilitiesGet 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...

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...

No parameters. Call it with no arguments.

get_stock_quotesGet 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 sho...5 params

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 sho...

Parameters* required
dividendsboolean
Include dividend history (default: false)
intervalstring
Data interval for historical prices: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo"
modulesstring
Data modules to include (comma-separated): "summaryProfile", "balanceSheetHistory", "balanceSheetHistoryQuarterly", "incomeStatementHistory", "incomeStatementHistoryQuarterly", "financialData", "fi...
rangestring
Time range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max"
tickers*string
Required. Use the exact key `tickers`, not `symbols` or `symbol`. Pass comma-separated B3 tickers, e.g. "PETR4" or "PETR4,VALE3,ITUB4".
get_stock_quoteGet 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 i...1 params

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 i...

Parameters* required
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_historicalGet 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.6 params

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.

Parameters* required
endDatestring
End date in YYYY-MM-DD format, e.g. "2026-08-25"
intervalstring
Historical interval, e.g. "1d", "1wk", or "1mo"one of 1m · 2m · 5m · 15m · 30m · 60m
rangestring
Historical range, e.g. "1mo", "1y", or "max"one of 1d · 2d · 5d · 7d · 1mo · 3mo
sortOrderstring
Sort by date, default "desc"one of asc · desc
startDatestring
Start date in YYYY-MM-DD format, e.g. "2026-08-25"
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_dividendsGet 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.5 params

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.

Parameters* required
endDatestring
End date in YYYY-MM-DD format, e.g. "2026-08-25"
sortBystring
Sort field, default "paymentDate"one of paymentDate · lastDatePrior · approvedOn · rate
sortOrderstring
Sort order, default "desc"one of asc · desc
startDatestring
Start date in YYYY-MM-DD format, e.g. "2026-08-25"
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_insider_transactionsGet 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 re...10 params

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 re...

Parameters* required
allVersionsboolean
Include earlier report versions. Default false. Earlier versions can repeat rows; do not sum them
companyRelationstring
Issuer of the security: the reporting company, its parent, or its subsidiary. Default "company"one of company · parent · subsidiary · all
directionstring
credit adds to the position; debit removes from itone of credit · debit
endDatestring
Transaction end date. Default: today in YYYY-MM-DD format, e.g. "2026-08-25"
limitinteger
Transactions per company and page, max 100, default 50
movementTypestring
Exact report text, e.g. "Compra à vista" or "Venda à vista"
pageinteger
Page for each company, starting at 1
roleGroupstring
Role group. Each group includes related personsone of controller · board · director · fiscalCouncil · statutoryBody
startDatestring
Transaction start date. Default: 365 days before endDate in YYYY-MM-DD format, e.g. "2026-08-25"
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_shareholdersGet 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 th...1 params

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 th...

Parameters* required
symbols*string
Comma-separated B3 tickers, e.g. "PETR4,ITUB4"
get_ownership_networkGet 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, tic...5 params

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, tic...

Parameters* required
depthinteger
Steps from the ticker, up and down. Default 2
includePersonsboolean
Include people. Default true with a ticker, false otherwise
limitinteger
Max nodes (ticker) or edges (market). Default 1500
minPercentnumber
Minimum stake in % of total or voting shares. Default 5. With a ticker, controllers always appear
symbolstring
Center ticker, e.g. "ITUB4". Omit for the market network
get_stock_earnings_calendarGet 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 tha...9 params

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 tha...

Parameters* required
cnpjsstring
Optional comma-separated company CNPJs, max 20. Use for companies without listed shares, such as debenture issuers
fromstring
Release start date. Default: 7 days ago in YYYY-MM-DD format, e.g. "2026-08-25"
limitinteger
Rows per page, max 100, default 50
pageinteger
statusarray
scheduled, published, overdue. Default all
symbolsstring
Optional comma-separated B3 tickers, e.g. "PETR4,TIMS3". Omit to list all companies
tostring
Release end date. Default: 97 days after from in YYYY-MM-DD format, e.g. "2026-08-25"
typesarray
quarterly, annual, or both. Default both
updatedSincestring
Only rows changed since this ISO 8601 time
get_stock_profileGet 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.1 params

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.

Parameters* required
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_statisticsGet 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.3 params

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.

Parameters* required
modestring
Use "current" for current/TTM data or "history" for seriesone of current · history
periodstring
Historical period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_financial_dataGet 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.3 params

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.

Parameters* required
modestring
Use "current" for current/TTM data or "history" for seriesone of current · history
periodstring
Historical period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_balance_sheetGet 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.2 params

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.

Parameters* required
periodstring
Statement period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_income_statementGet 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.2 params

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.

Parameters* required
periodstring
Statement period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_cash_flowGet 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.2 params

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.

Parameters* required
periodstring
Statement period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_stock_value_addedGet 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.2 params

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.

Parameters* required
periodstring
Statement period, default "annual"one of annual · quarterly
symbols*string
Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3".
get_revenue_sourcesGet 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 constructi...5 params

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 constructi...

Parameters* required
cnpjsstring
Comma-separated fund CNPJs, for funds without a ticker
endYearinteger
Last fiscal year. Default: latest available
periodstring
annual (default): fiscal years in years. quarterly: B3 companies' quarters in quarters, with year-to-date values and the 3-month value (quarterValue)one of annual · quarterly
startYearinteger
First fiscal year. Default: oldest available
symbolsstring
Comma-separated tickers: stocks, BDRs, FIIs, Fiagros, or ETFs, e.g. "PETR4,AAPL34,HGLG11,BOVA11"
get_revenue_sources_compareCompare 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 (ba...3 params

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 (ba...

Parameters* required
activity*string
Activity code, e.g. "energy.electricity.distribution" or "tech". A parent code includes its childrenone of agro · agro.grains · agro.sugar_ethanol · agro.cotton · agro.livestock · agro.farmland
endYearinteger
Last fiscal year. Default: latest available
startYearinteger
First fiscal year. Default: oldest available
get_stock_screenerFilter 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 us...75 params

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 us...

Parameters* required
bookValuePerShareMaxnumber
VPA (bookValuePerShare) maximum, inclusive. Unit: BRL.
bookValuePerShareMinnumber
VPA (bookValuePerShare) minimum, inclusive. Unit: BRL.
changePercentMaxnumber
Variação no dia (changePercent) maximum, inclusive. Unit: percent, 2.81 = 2.81%.
changePercentMinnumber
Variação no dia (changePercent) minimum, inclusive. Unit: percent, 2.81 = 2.81%.
currentRatioMaxnumber
Liquidez corrente (currentRatio) maximum, inclusive. Unit: multiple. Pro plan.
currentRatioMinnumber
Liquidez corrente (currentRatio) minimum, inclusive. Unit: multiple. Pro plan.
debtToEquityMaxnumber
Dívida/PL (debtToEquity) maximum, inclusive. Unit: multiple. Pro plan.
debtToEquityMinnumber
Dívida/PL (debtToEquity) minimum, inclusive. Unit: multiple. Pro plan.
dividendYieldMaxnumber
Dividend yield (dividendYield) maximum, inclusive. Unit: fraction, 0.06 = 6%.
dividendYieldMinnumber
Dividend yield (dividendYield) minimum, inclusive. Unit: fraction, 0.06 = 6%.
earningsGrowthAnnualMaxnumber
Crescimento anual do lucro (earningsGrowthAnnual) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
earningsGrowthAnnualMinnumber
Crescimento anual do lucro (earningsGrowthAnnual) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
earningsGrowthMaxnumber
Crescimento do lucro (earningsGrowth) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
earningsGrowthMinnumber
Crescimento do lucro (earningsGrowth) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
earningsPerShareMaxnumber
LPA (earningsPerShare) maximum, inclusive. Unit: BRL.
earningsPerShareMinnumber
LPA (earningsPerShare) minimum, inclusive. Unit: BRL.
ebitdaMarginMaxnumber
Margem EBITDA (ebitdaMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
ebitdaMarginMinnumber
Margem EBITDA (ebitdaMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan.
ebitdaMaxnumber
EBITDA (ebitda) maximum, inclusive. Unit: BRL. Pro plan.
ebitdaMinnumber
EBITDA (ebitda) minimum, inclusive. Unit: BRL. Pro plan.

+55 more parameters. See the server's own documentation for the full schema.

get_debenture_listList 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 t...12 params

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 t...

Parameters* required
cnpjsstring
Optional comma-separated issuer CNPJs, max 20
incentivizedboolean
true for incentivized (Lei 12.431) debentures only
indexarray
Filter by index. pre = fixed rate, none = no index
limitinteger
Rows per page, max 100, default 50
maturityFromstring
Maturity start date in YYYY-MM-DD format, e.g. "2030-12-31"
maturityTostring
Maturity end date in YYYY-MM-DD format, e.g. "2030-12-31"
pageinteger
searchstring
Optional search by debenture code or issuer name, e.g. "tim" or "TIMS1". Each word must start the code or a word of the name
sortBystring
Default symbolone of symbol · maturityDate · issueDate
sortOrderstring
one of asc · desc
statusarray
active, inactive, or both. Default active, or both with symbols
symbolsstring
Optional comma-separated debenture codes, max 20, e.g. "TIMS12"
get_debenture_profileGet 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...1 params

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...

Parameters* required
symbols*string
Comma-separated debenture codes, max 20, e.g. "TIMS12"
get_company_newsGet 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 A...9 params

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 A...

Parameters* required
cursorstring
nextCursor from the previous page, with the same filters
eventTypesarray
Filter by event type
fromstring
Published from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
includeArticleboolean
true adds the full Markdown article. Default false
limitinteger
Stories per page, max 100, default 20
minImportanceinteger
Minimum importance, 1 (minor) to 5 (moves the market)
sentimentarray
Filter by story sentiment
tickersstring
Optional comma-separated tickers, max 20, e.g. "PETR4,VALE3". Without it, news of all companies
tostring
Published until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
get_market_newsGet 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 Ma...8 params

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 Ma...

Parameters* required
cursorstring
nextCursor from the previous page, with the same filters
eventTypesarray
Filter by event type
fromstring
Published from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
includeArticleboolean
true adds the full Markdown article. Default false
limitinteger
Stories per page, max 100, default 20
minImportanceinteger
Minimum importance, 1 (minor) to 5 (moves the market)
sentimentarray
Filter by story sentiment
tostring
Published until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time
get_currency_ratesGet 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...1 params

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...

Parameters* required
currency*string
Required. Currency pair in BASE-QUOTE format, e.g. "USD-BRL" or "EUR-BRL".
get_crypto_pricesGet 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...6 params

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...

Parameters* required
coin*string
Cryptocurrency to query (e.g., "BTC", "ETH")
currencystring
Quote currency for prices (default: BRL)
endDatestring
Last daily history date, YYYY-MM-DD, inclusive.
intervalstring
Data interval: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo"
rangestring
Time range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max"
startDatestring
First daily history date, YYYY-MM-DD. Use without range.
get_macro_seriesGet historical observations for Brazilian macroeconomic series (Selic, IPCA, IGP-M, CDI, IBC-Br, etc.). Pass slugs in `symbols` (comma-separated, e.g. `selic,ipca,igpm`). Use get_macro_series_available to discover slugs. Currency pairs (USD-BRL etc.) are NOT served here - use...5 params

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...

Parameters* required
endDatestring
ISO date YYYY-MM-DD. Default: today.
limitinteger
Max observations per series. Default: 20.
sortOrderstring
Sort by date. Default: desc (newest first).one of asc · desc
startDatestring
ISO date YYYY-MM-DD. Default: 12 months ago.
symbols*string
Comma-separated series slugs (max 20). Examples: 'selic', 'ipca,igpm', 'cdi,ibcbr'
get_macro_series_latestGet only the most recent observation for each requested macroeconomic series. Lighter than get_macro_series when you just need the current Selic / IPCA / CDI value. FX pairs are not served here - use the currency endpoints. Authentication: required. Sign in to brapi or provide...1 params

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...

Parameters* required
symbols*string
Comma-separated series slugs (max 20). Example: 'selic,ipca12m,cdi'
get_inflation_dataGet 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 unclea...6 params

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 unclea...

Parameters* required
countrystring
Country code (default: "brazil"). Currently only Brazil is supported
endstring
End date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
historicalboolean
Include historical data (default: false)
sortBystring
Sort field: "date" or "value"
sortOrderstring
Sort order: "asc" or "desc"
startstring
Start date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
get_prime_rate_dataGet 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. U...6 params

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. U...

Parameters* required
countrystring
Country code (default: "brazil"). Currently only Brazil is supported
endstring
End date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
historicalboolean
Include historical data (default: false)
sortBystring
Sort field: "date" or "value"
sortOrderstring
Sort order: "asc" or "desc"
startstring
Start date for historical data (format: YYYY-MM-DD or DD/MM/YYYY)
get_option_expirationsList 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_capabil...2 params

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_capabil...

Parameters* required
includeExpiredboolean
Include expirations that have already passed (default: false, returns only future expirations)
underlying*string
Required. Underlying symbol (stock, ETF, or index), e.g. "PETR4" or "VALE3".
get_option_strikesList 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_cap...3 params

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_cap...

Parameters* required
expirationDate*string
Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
sidestring
Filter by option side: "call" (compra) or "put" (venda). Omit to return bothone of call · put
underlying*string
Underlying symbol (stock, ETF, or index) to list option strikes for (e.g., "PETR4")
get_option_chainGet 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...6 params

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...

Parameters* required
datestring
EOD date in YYYY-MM-DD format used to look up prices and volume (default: latest available trading day)
expirationDate*string
Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
maxStrikenumber
Maximum strike price to include
minStrikenumber
Minimum strike price to include
sidestring
Filter by option side: "call" (compra) or "put" (venda). Omit to return bothone of call · put
underlying*string
Underlying symbol (stock, ETF, or index) to fetch the option chain for (e.g., "PETR4")
get_option_historicalGet 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...6 params

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...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: today)
expirationDate*string
Expiration date in YYYY-MM-DD format
sortOrderstring
Sort order for the history array: "asc" (oldest first) or "desc" (newest first, default)one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
strikenumber
Strike price. Required when the same symbol appears more than once within the same expiration
symbol*string
Option symbol (e.g., "PETRE370")
get_option_analyticsGet EOD implied volatility and Greeks for traded Brazilian option series for an underlying asset on a specific expiration date. Fields are null with nullReason when the calculation cannot be produced from observed data. Authentication: required. Sign in to brapi or provide a v...7 params

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 v...

Parameters* required
datestring
EOD date in YYYY-MM-DD format used to look up the analytics snapshot (default: latest available trading day)
expirationDate*string
Required. Expiration date in YYYY-MM-DD format. Use get_option_expirations first to discover available dates
limitinteger
Maximum number of option series to return
maxStrikenumber
Maximum strike price to include
minStrikenumber
Minimum strike price to include
sidestring
Filter by option side: "call" (compra) or "put" (venda). Omit to return bothone of call · put
underlying*string
Underlying symbol (stock, ETF, or index) to fetch option analytics for (e.g., "PETR4")
get_option_analytics_historyGet the daily EOD implied volatility and Greeks time series for a single Brazilian option series identified by symbol and expiration date. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require...6 params

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...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: today)
expirationDate*string
Expiration date in YYYY-MM-DD format
sortOrderstring
Sort order for the analytics array: "asc" (oldest first) or "desc" (newest first, default)one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
strikenumber
Strike price. Required when the same symbol appears more than once within the same expiration
symbol*string
Option symbol (e.g., "PETRE370")
get_option_positionsGet 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...6 params

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...

Parameters* required
datestring
Date in YYYY-MM-DD format. Returns the most recent position report on or before it (default: latest available)
expirationDate*string
Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates
maxStrikenumber
Maximum strike price to include
minStrikenumber
Minimum strike price to include
sidestring
Filter by option side: "call" (compra) or "put" (venda). Omit to return bothone of call · put
underlying*string
Underlying symbol (stock, ETF, or index) to fetch open positions for (e.g., "PETR4")
get_option_positions_historyGet 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 t...6 params

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 t...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: today)
expirationDate*string
Expiration date in YYYY-MM-DD format
sortOrderstring
Sort order for the positions array: "asc" (oldest first) or "desc" (newest first, default)one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
strikenumber
Strike price. Required when the same symbol appears more than once within the same expiration
symbol*string
Option symbol (e.g., "PETRE370")
get_futures_listList available Brazilian futures contracts (mini Ibovespa, mini Dolar, full index/dollar, DI rate, agribusiness: boi, café, milho, soja). Paginated with filters by underlying asset and segment. Authentication: required. Sign in to brapi or provide a valid Bearer token before c...7 params

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 c...

Parameters* required
assetstring
Underlying asset code to filter by (e.g., "WIN", "WDO", "BGI", "DI1"). Exact match.
includeExpiredboolean
Include contracts that have already expired (default: false)
limitinteger
Items per page (default: 50, max: 100)
pageinteger
Page number, 1-indexed (default: 1)
segmentstring
Segment filter: "financial" = mini Ibov, mini Dolar, DI, etc. "agribusiness" = boi, café, milho, soja.one of financial · agribusiness
sortBystring
Sort key (default: "expirationDate")one of symbol · expirationDate · underlyingAsset
sortOrderstring
Sort order (default: "asc")one of asc · desc
get_futures_quoteGet EOD snapshot quote for one or more Brazilian futures contracts. Returns OHLC, daily settlement price (AdjstdQt), settlement rate (AdjstdQtTax - populated for DI/rate-quoted contracts only), oscillation, number of trades, contract quantity, and financial volume. Authenticat...1 params

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. Authenticat...

Parameters* required
symbols*string
Comma-separated contract symbols, max 20 (e.g., "WINM26,BGIF27,DI1F27"). The contract symbol = asset code + month letter + 2-digit year.
get_futures_specsGet contract specifications (without pricing) for one or more Brazilian futures: expiration date, contract multiplier (e.g., WIN = 0.2, BGI = 330 arrobas, DI1 = 1), allocation round lot, ISIN, CFI, trading currency, delivery type, and quotation type (price vs rate). Authentica...1 params

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). Authentica...

Parameters* required
symbols*string
Comma-separated contract symbols, max 20 (e.g., "WINM26,BGIF27,DI1F27").
get_futures_historicalGet daily EOD time series for a single Brazilian futures contract. Each point has OHLC, settlement price, settlement rate (DI/DAP only), reference price, oscillation, trades, contract quantity and financial volume. For DI1/DAP/DI contracts, close/high/low fields hold the rate...4 params

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...

Parameters* required
endDatestring
End date YYYY-MM-DD (default: today).
sortOrderstring
Sort order by date. Default "desc" (newest first).one of asc · desc
startDatestring
Start date YYYY-MM-DD (default: 12 months ago).
symbol*string
Contract symbol (e.g., "WINM26", "BGIF27", "DI1F27"). One contract per request.
get_futures_term_structureGet the full term structure (all live contracts) for a Brazilian futures underlying asset. Returns one row per expiration, ordered by date ascending, each with the latest EOD pricing. Useful for plotting the DI yield curve, contango/backwardation in commodities, or the mini-Ib...2 params

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-Ib...

Parameters* required
asset*string
Underlying asset code (e.g., "DI1" for DI rate curve, "WIN" for mini Ibovespa expirations, "BGI" for live cattle). Exact match.
includeExpiredboolean
Include contracts that have already expired (default: false).
get_futures_option_expirationsList available option expiration dates for a Brazilian futures underlying (options on futures: e.g., options on BGI live cattle, ICF coffee, CCM corn, SJC soybean). These options have their own expiration calendar, often different from the underlying future. Authentication: re...2 params

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: re...

Parameters* required
includeExpiredboolean
Include expirations already past (default: false).
underlying*string
Underlying asset code (e.g., "BGI", "ICF", "CCM", "SJC").
get_futures_option_strikesList available strike prices for options on a Brazilian futures contract at a given expiration. Pair with get_futures_option_chain to fetch traded series with prices. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan acce...3 params

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 acce...

Parameters* required
expirationDate*string
Expiration date YYYY-MM-DD. Use get_futures_option_expirations to discover.
sidestring
Filter by "call" or "put". Omit to return both.one of call · put
underlying*string
Underlying asset code (e.g., "BGI", "ICF", "CCM").
get_futures_option_chainGet the option chain (traded series with last EOD prices) for a Brazilian futures underlying at a specific expiration. Each series carries optionStyle (american/european), strike, contractMultiplier, allocationRoundLot, plus OHLC/volume/oscillation from the latest pregão. Auth...6 params

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. Auth...

Parameters* required
datestring
EOD reference date YYYY-MM-DD for the pricing snapshot (default: latest available).
expirationDate*string
Expiration date YYYY-MM-DD.
maxStrikenumber
Maximum strike price to include.
minStrikenumber
Minimum strike price to include.
sidestring
Filter by "call" or "put". Omit for both.one of call · put
underlying*string
Underlying asset code (e.g., "BGI", "ICF").
get_futures_option_historicalGet the daily EOD historical OHLC time series for a single option on a Brazilian futures contract. Returns the option specs (strike, optionStyle, expiration, multiplier) plus traded-day points (referencePrice + OHLC + oscillation + trades + financial volume). Days where the op...4 params

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 op...

Parameters* required
endDatestring
End date YYYY-MM-DD (default: today).
sortOrderstring
Sort order. Default "desc" (newest first).one of asc · desc
startDatestring
Start date YYYY-MM-DD (default: 12 months ago).
symbol*string
Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
get_futures_option_analyticsGet EOD implied volatility and Greeks for options on Brazilian futures for an underlying asset at a specific expiration. European options use Black-76; American options use a binomial futures model. Fields are null with nullReason when the calculation cannot be produced from o...7 params

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 o...

Parameters* required
datestring
EOD reference date YYYY-MM-DD for the analytics snapshot (default: latest available).
expirationDate*string
Expiration date YYYY-MM-DD.
limitinteger
Maximum number of option series to return.
maxStrikenumber
Maximum strike price to include.
minStrikenumber
Minimum strike price to include.
sidestring
Filter by "call" or "put". Omit for both.one of call · put
underlying*string
Underlying futures asset code (e.g., "BGI", "ICF").
get_futures_option_analytics_historyGet 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_acc...4 params

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_acc...

Parameters* required
endDatestring
End date YYYY-MM-DD (default: today).
sortOrderstring
Sort order. Default "desc" (newest first).one of asc · desc
startDatestring
Start date YYYY-MM-DD (default: 12 months ago).
symbol*string
Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
get_futures_option_positionsGet 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 mo...6 params

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 mo...

Parameters* required
datestring
Reference date YYYY-MM-DD. Returns the most recent position report on or before it (default: latest available).
expirationDate*string
Expiration date YYYY-MM-DD.
maxStrikenumber
Maximum strike price to include.
minStrikenumber
Minimum strike price to include.
sidestring
Filter by "call" or "put". Omit for both.one of call · put
underlying*string
Underlying asset code (e.g., "BGI", "ICF").
get_futures_option_positions_historyGet 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 dat...4 params

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 dat...

Parameters* required
endDatestring
End date YYYY-MM-DD (default: today).
sortOrderstring
Sort order. Default "desc" (newest first).one of asc · desc
startDatestring
Start date YYYY-MM-DD (default: 12 months ago).
symbol*string
Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}.
get_fii_listList Brazilian Real Estate Investment Funds (FIIs) with optional filters by symbols, CNPJs, segment type, sector, mandate and management type. Returns paginated results with current indicators (price, P/VP, dividend yield) and administrator info. Use get_funds_list for FI-Infr...11 params

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-Infr...

Parameters* required
cnpjsstring
Comma-separated FII CNPJs to filter by, formatted or digits-only (max 20)
limitinteger
Items per page (default: 20)
mandatestring
Filter by mandate type (e.g., "Renda", "Ganho de Capital")
pageinteger
Page number (1-based, default: 1)
searchstring
Search by name or symbol (e.g., "hglg" matches HGLG11)
segmentTypestring
Filter by segment type: papel (paper/CRI), tijolo (real estate), hibrido (mixed), fof (fund of funds)one of papel · tijolo · hibrido · fof
segmentoAtuacaostring
Filter by sector (e.g., "Logística", "Shoppings", "Lajes Corporativas", "Títulos e Val. Mob.", "Residencial")
sortBystring
Sort field: symbol, name, segmentoAtuacao, mandate, price, navPerShare, priceToNav, dividendYield12m, totalInvestors (default: "totalInvestors")
sortOrderstring
Sort order: "asc" or "desc" (default: "desc")one of asc · desc
symbolsstring
Comma-separated FII symbols to filter by (max 20)
tipoGestaostring
Filter by management type (e.g., "Ativa", "Definida")
get_fii_indicatorsGet current fundamental indicators for one or more Brazilian Real Estate Investment Funds (FIIs). Returns P/VP (price-to-NAV), dividend yield (12m and 1m), monthly return, equity, total assets, total investors, and administrator info. Authentication: required. Sign in to brapi...1 params

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...

Parameters* required
symbols*string
Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11,KNCR11"
get_fii_indicators_historyGet monthly historical evolution of fundamental indicators (price, P/VP, dividend yield, monthly return, total investors, equity, total assets) for one or more Brazilian FIIs. Useful for charting trends and comparing periods. Authentication: required. Sign in to brapi or provi...5 params

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 provi...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: today)
sortBystring
Sort field: referenceDate, symbol, price, navPerShare, priceToNav, dividendYield12m, dividendYield1m, monthlyReturn, totalInvestors (default: "referenceDate")
sortOrderstring
Sort order: "asc" or "desc" (default: "desc")one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
symbols*string
Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
get_fii_historicalGet daily OHLCV historical price data for one or more Brazilian Real Estate Investment Funds (FIIs). Returns open, high, low, close, volume and adjusted close per day, grouped by symbol. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling...4 params

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...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: today)
sortOrderstring
Sort order for the price points within each FII: "asc" (oldest first) or "desc" (newest first, default)one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
symbols*string
Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
get_fii_propertiesGet FII physical properties with vacancy first-class: area, address, unit count, vacancy rate, delinquency rate, revenue share and consolidated area-weighted vacancy. Rate fields are decimal ratios (0.0328 = 3.28%). Best endpoint for brick-and-mortar FII vacancy analysis. Auth...5 params

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. Auth...

Parameters* required
allVersionsboolean
Include amended report versions (default: false; latest version only).
referenceDatestring
Quarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII.
sortBystring
Sort properties by "revenueShare", "area", "vacancyRate" or "name" (default: "revenueShare").one of revenueShare · area · vacancyRate · name
sortOrderstring
Sort order: "asc" or "desc" (default: "desc").one of asc · desc
symbols*string
Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
get_fii_properties_historyGet quarterly time series of FII physical-property summaries: property count, total area, area-weighted vacancy, average vacancy and number of properties with vacancy data. Best for charting vacancy trends before drilling into get_fii_properties. Authentication: required. Sign...6 params

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...

Parameters* required
allVersionsboolean
Include amended report versions for each quarter (default: false; latest version only).
endDatestring
End date in YYYY-MM-DD format. Defaults to today.
sortBystring
Sort field: referenceDate, symbol, count, totalArea, vacancyRate, averageVacancyRate, propertiesWithVacancy (default: "referenceDate").
sortOrderstring
Sort order: "asc" or "desc" (default: "desc").one of asc · desc
startDatestring
Start date in YYYY-MM-DD format. Defaults to 12 months ago.
symbols*string
Comma-separated FII symbols (max 20). Example: "HGLG11,XPLG11"
get_fii_portfolioGet normalized FII portfolio composition grouped by fund: summary, allocations, CRIs, FII fund holdings, properties, lands and rights. Best for FoFs, paper FIIs, issuer concentration and full holdings analysis. Authentication: required. Sign in to brapi or provide a valid Bear...4 params

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 Bear...

Parameters* required
allVersionsboolean
Include amended report versions (default: false; latest version only).
includestring
Comma-separated sections: "summary,allocations,properties,financialAssets,fundHoldings,lands,rights". Defaults to all sections.
referenceDatestring
Quarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII.
symbols*string
Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
get_fii_portfolio_historyGet quarterly time series of normalized FII portfolio summaries: total items, declared value, property summary, financial-asset summary and allocations by asset class. Best for charting portfolio composition before drilling into get_fii_portfolio. Authentication: required. Sig...6 params

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. Sig...

Parameters* required
allVersionsboolean
Include amended report versions for each quarter (default: false; latest version only).
endDatestring
End date in YYYY-MM-DD format. Defaults to today.
sortBystring
Sort field: referenceDate, symbol, totalItems, declaredValue, propertyCount, vacancyRate, financialAssetsDeclaredValue (default: "referenceDate").
sortOrderstring
Sort order: "asc" or "desc" (default: "desc").one of asc · desc
startDatestring
Start date in YYYY-MM-DD format. Defaults to 12 months ago.
symbols*string
Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
get_fii_reportsGet monthly CVM management reports for Brazilian FIIs with full asset composition (real estate, CRI, LCI, fund holdings, cash, government/private bonds), profitability (monthly return, monthly dividend yield), fees and liabilities. Most comprehensive endpoint for due diligence...8 params

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...

Parameters* required
allVersionsboolean
Include retroactively amended report versions (default: false; only the latest version per referenceDate is returned)
endDatestring
End date in YYYY-MM-DD format (default: today)
limitinteger
Items per page (default: 20)
pageinteger
Page number (1-based, default: 1)
sortBystring
Sort field: referenceDate, symbol, totalAssets, equity, navPerShare, monthlyReturn, monthlyDividendYield, totalInvestors, version (default: "referenceDate")
sortOrderstring
Sort order: "asc" or "desc" (default: "desc")one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
symbols*string
Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11"
get_fii_dividendsGet 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 a...5 params

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 a...

Parameters* required
endDatestring
End date in YYYY-MM-DD format (default: no limit, so announced future payments are included)
sortBystring
Sort field: paymentDate, lastDatePrior, rate, symbol, approvedOn (default: "paymentDate")
sortOrderstring
Sort order: "asc" or "desc" (default: "desc")one of asc · desc
startDatestring
Start date in YYYY-MM-DD format (default: 12 months ago)
symbols*string
Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11"
get_funds_listList Brazilian funds across FIIs, FIAGROs, FI-Infra/FIFs, FIDCs and FIPs. Use for discovery by symbol, CNPJ, search text or asset type. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this dataset may require a...10 params

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...

Parameters* required
assetTypestring
Canonical fund asset typeone of fii · fiagro · fiinfra · fif · fidc · fip
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
etfCategorystring
ETF category from the exchange ETF lists; returns only ETFsone of fixed-income · equity · crypto · real-estate
limitinteger
Items per page, default 20
pageinteger
Page number, default 1
searchstring
Search by symbol, name, CNPJ or ISIN
sortBystring
Sort field supported by endpoint
sortOrderstring
Sort orderone of asc · desc
statusstring
Normalized CVM/B3 status
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
get_funds_indicatorsGet current indicators for specific Brazilian funds. Requires symbols or cnpjs; returns market price, NAV per share, P/NAV, equity, assets and investor count. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan access: this...3 params

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...

Parameters* required
assetTypestring
one of fii · fiagro · fiinfra · fif · fidc · fip
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
get_funds_nav_historyGet NAV history for specific funds. FI/FIF data is daily; FIDC data is monthly by quota class or series and includes official monthly return. Requires symbols or cnpjs; market OHLCV price is separate from NAV. Authentication: required. Sign in to brapi or provide a valid Beare...7 params

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 Beare...

Parameters* required
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
endDatestring
End date in YYYY-MM-DD format
limitinteger
Items per page, default 20
pageinteger
Page number, default 1
sortOrderstring
one of asc · desc
startDatestring
Start date in YYYY-MM-DD format
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
get_funds_profileGet monthly profile sections for specific FI/FIF funds. Requires symbols or cnpjs; includes investor breakdown, risk, liquidity, concentration and private-credit exposure. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan...6 params

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...

Parameters* required
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
endDatestring
End date in YYYY-MM-DD format
includestring
Comma-separated sections to include
referenceDatestring
Reference date in YYYY-MM-DD
startDatestring
Start date in YYYY-MM-DD format
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
get_funds_portfolioGet holdings for specific FI/FIF funds grouped into public bonds, fund holdings, credit assets, listed securities, receivables and payables. Requires symbols or cnpjs. Authentication: required. Sign in to brapi or provide a valid Bearer token before calling this tool. Plan acc...6 params

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 acc...

Parameters* required
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
includestring
Comma-separated portfolio sections
limitinteger
Items per page, default 20
pageinteger
Page number, default 1
referenceDatestring
Reference date in YYYY-MM-DD
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
get_funds_holdingsGet 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 t...9 params

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 t...

Parameters* required
assetClassstring
Comma-separated asset classes for the holdings list, e.g. equity,bdr
cnpjsstring
Comma-separated CNPJs, formatted or digits-only, max 20
limitinteger
Holdings per fund, default 10, max 500
lookThroughboolean
false is the same as view=direct
pageinteger
Page number, default 1
pathstring
With view=tree: node ids under the fund, separated by /, e.g. bdr:BEEM39
referenceDatestring
Newest month on or before this date, YYYY-MM-DD
symbolsstring
Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11
viewstring
lookthrough (default), tree or directone of lookthrough · tree · direct
get_funds_exposureGet 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 WRL...4 params

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 WRL...

Parameters* required
limitinteger
Companies per page, default 50, max 500
pageinteger
Page number, default 1
positions*string
Comma-separated positions with a value in BRL or a weight, max 200. Example: WRLD11:10000,PETR4:3000 or WRLD11:60%,PETR4:40%
referenceDatestring
Newest month on or before this date, YYYY-MM-DD
get_funds_crowdingGet 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 e...7 params

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 e...

Parameters* required
historyboolean
true: concentration and flow per month instead of companies
limitinteger
Companies per page, default 20, max 500
pageinteger
Page number, default 1
referenceDatestring
Newest month on or before this date, YYYY-MM-DD
regionstring
all (default), brazil (B3 companies) or foreignone of all · brazil · foreign
sortBystring
value (default), flow or fundsone of value · flow · funds
sortOrderstring
one of asc · desc
get_funds_holdersGet 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 s...12 params

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 s...

Parameters* required
assetClassstring
Comma-separated asset classes of the positions, e.g. equity for shares only
assetTypestring
Only funds of this typeone of fii · fiagro · fiinfra · fif · fidc · fip
cnpjstring
CNPJ of a fund (holders of its quotas) or of a company (holders of its shares and debt)
includestring
Comma-separated extra lists, up to limit each: movers adds topBuyers and topSellers; direct, with scope indirect or all, adds topDirect (largest direct positions)
issuerboolean
Widen a share ticker to all securities of its company
limitinteger
Funds per page, default 20, max 100
pageinteger
Page number, default 1
referenceDatestring
Newest month on or before this date, YYYY-MM-DD
scopestring
direct (default), indirect (through other funds) or all. bought, sold and change stay about direct tradesone of direct · indirect · all
sortBystring
marketValue (default) or weightPercent list holders; bought or sold list the funds that bought or sold in the month, largest firstone of marketValue · weightPercent · bought · sold
sortOrderstring
one of asc · desc
symbolstring
B3 ticker, e.g. PETR4
get_funds_holdings_historyGet 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...7 params

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...

Parameters* required
assetstring
Asset ticker, e.g. PETR4
assetCnpjstring
CNPJ of a fund (its quotas) or of a company
cnpjstring
Fund CNPJ
endDatestring
End date in YYYY-MM-DD format
sortOrderstring
Oldest (asc) or newest (desc, default) month firstone of asc · desc
startDatestring
Start date in YYYY-MM-DD format
symbolstring
Fund ticker, e.g. BOVA11

Details

Website
brapi.dev/docs/mcp
Category
Finance & Trading
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 30, 2026

Similar to brapi

More Finance & Trading