brapi
dev.brapi/mcp
Serveur MCP OK 92 outils
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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/dev.brapi/mcp)<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
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 30 nov. 2026, 08:55 | OK | 956 ms | 92 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search by ticker, company name, or old renamed ticker (e.g., "PETR", "VVAR3") |
| type | enum: "stock" | "fund" | "bdr" | non | Filter by broad asset type: stock, fund, or bdr |
| subType | enum: "stock" | "unit" | "fii" | "etf" | "fi-infra" | "fi-agro" | "fip" | "fidc" … | non | Filter by subtype: stock, unit, fii, etf, fi-infra, fi-agro, fip, fidc, bdr |
| sector | string | non | Filter by sector |
| sortBy | enum: "symbol" | "name" | "close" | "change" | "volume" | "marketCap" | non | Sort field (default: "volume") |
| sortOrder | enum: "asc" | "desc" | non | Sort order (default: "desc") |
| page | integer | non | Page number |
| limit | integer | non | Items 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated symbols to filter by (e.g., "VVAR3,BHIA3") |
| search | string | non | Search in old/current tickers (e.g., "BHIA") |
| startDate | string | non | Start date YYYY-MM-DD |
| endDate | string | non | End 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. 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ètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Optional text filter (e.g., 'ipca', 'cdi', 'juros'). Matches slug, alias, name, description. |
| category | enum: "interestRate" | "inflation" | "monetary" | "activity" | "labor" | "external" | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Search in the field key, label, description, category, or endpoint paths |
| category | string | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| tickers | string | oui | Required. Use the exact key `tickers`, not `symbols` or `symbol`. Pass comma-separated B3 tickers, e.g. "PETR4" or "PETR4,VALE3,ITUB4". |
| interval | string | non | Data interval for historical prices: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo" |
| range | string | non | Time range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max" |
| modules | string | non | Data modules to include (comma-separated): "summaryProfile", "balanceSheetHistory", "balanceSheetHistoryQuarterly", "incomeStatementHistory", "incomeStatementHistoryQuarterly", "financialData", "financialDataHistory", "financialDataHistoryQuarterly", "defaultKeyStatistics", "defaultKeyStatisticsHis… |
| dividends | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| range | enum: "1d" | "2d" | "5d" | "7d" | "1mo" | "3mo" | "6mo" | "1y" … | non | Historical range, e.g. "1mo", "1y", or "max" |
| interval | enum: "1m" | "2m" | "5m" | "15m" | "30m" | "60m" | "90m" | "1h" … | non | Historical interval, e.g. "1d", "1wk", or "1mo" |
| startDate | string | non | Start date in YYYY-MM-DD format, e.g. "2026-08-25" |
| endDate | string | non | End date in YYYY-MM-DD format, e.g. "2026-08-25" |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| startDate | string | non | Start date in YYYY-MM-DD format, e.g. "2026-08-25" |
| endDate | string | non | End date in YYYY-MM-DD format, e.g. "2026-08-25" |
| sortBy | enum: "paymentDate" | "lastDatePrior" | "approvedOn" | "rate" | non | Sort field, default "paymentDate" |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| startDate | string | non | Transaction start date. Default: 365 days before endDate in YYYY-MM-DD format, e.g. "2026-08-25" |
| endDate | string | non | Transaction end date. Default: today in YYYY-MM-DD format, e.g. "2026-08-25" |
| companyRelation | enum: "company" | "parent" | "subsidiary" | "all" | non | Issuer of the security: the reporting company, its parent, or its subsidiary. Default "company" |
| direction | enum: "credit" | "debit" | non | credit adds to the position; debit removes from it |
| roleGroup | enum: "controller" | "board" | "director" | "fiscalCouncil" | "statutoryBody" | non | Role group. Each group includes related persons |
| movementType | string | non | Exact report text, e.g. "Compra à vista" or "Venda à vista" |
| allVersions | boolean | non | Include earlier report versions. Default false. Earlier versions can repeat rows; do not sum them |
| page | integer | non | Page for each company, starting at 1 |
| limit | integer | non | Transactions 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | non | Center ticker, e.g. "ITUB4". Omit for the market network |
| depth | integer | non | Steps from the ticker, up and down. Default 2 |
| minPercent | number | non | Minimum stake in % of total or voting shares. Default 5. With a ticker, controllers always appear |
| includePersons | boolean | non | Include people. Default true with a ticker, false otherwise |
| limit | integer | non | Max 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Optional comma-separated B3 tickers, e.g. "PETR4,TIMS3". Omit to list all companies |
| cnpjs | string | non | Optional comma-separated company CNPJs, max 20. Use for companies without listed shares, such as debenture issuers |
| from | string | non | Release start date. Default: 7 days ago in YYYY-MM-DD format, e.g. "2026-08-25" |
| to | string | non | Release end date. Default: 97 days after from in YYYY-MM-DD format, e.g. "2026-08-25" |
| types | array<enum: "quarterly" | "annual"> | non | quarterly, annual, or both. Default both |
| status | array<enum: "scheduled" | "published" | "overdue"> | non | scheduled, published, overdue. Default all |
| updatedSince | string | non | Only rows changed since this ISO 8601 time |
| page | integer | non | |
| limit | integer | non | Rows 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| mode | enum: "current" | "history" | non | Use "current" for current/TTM data or "history" for series |
| period | enum: "annual" | "quarterly" | non | Historical 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| mode | enum: "current" | "history" | non | Use "current" for current/TTM data or "history" for series |
| period | enum: "annual" | "quarterly" | non | Historical 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| period | enum: "annual" | "quarterly" | non | Statement 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| period | enum: "annual" | "quarterly" | non | Statement 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| period | enum: "annual" | "quarterly" | non | Statement 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Required. Use the exact key `symbols`, not `tickers` or `symbol`. Pass comma-separated B3 ticker symbols, e.g. "PETR4" or "PETR4,VALE3". |
| period | enum: "annual" | "quarterly" | non | Statement 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated tickers: stocks, BDRs, FIIs, Fiagros, or ETFs, e.g. "PETR4,AAPL34,HGLG11,BOVA11" |
| cnpjs | string | non | Comma-separated fund CNPJs, for funds without a ticker |
| startYear | integer | non | First fiscal year. Default: oldest available |
| endYear | integer | non | Last fiscal year. Default: latest available |
| period | enum: "annual" | "quarterly" | non | annual (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ètre | Type | Requis | Description |
|---|---|---|---|
| activity | enum: "agro" | "agro.grains" | "agro.sugar_ethanol" | "agro.cotton" | "agro.livestock" | "agro.farmland" | "agro.inputs" | "energy" … | oui | Activity code, e.g. "energy.electricity.distribution" or "tech". A parent code includes its children |
| startYear | integer | non | First fiscal year. Default: oldest available |
| endYear | integer | non | Last 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ètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Part of the ticker, company name, or an old ticker |
| type | enum: "stock" | "fund" | "bdr" | non | Asset type, default "stock" |
| subType | enum: "stock" | "unit" | "fii" | "etf" | "fi-infra" | "fi-agro" | "fip" | "fidc" … | non | Asset subtype: stock, unit, fii, etf, fi-infra, fi-agro, fip, fidc, bdr |
| sector | string | non | Sector, partial match, e.g. "Finance" |
| subsector | string | non | Exact subsector, e.g. "Energia Elétrica" |
| sortBy | enum: "symbol" | "name" | "lastPrice" | "changePercent" | "volume" | "marketCap" | "trailingPE" | "priceToBook" … | non | Metric key, symbol, or name. Default "marketCap" |
| sortOrder | enum: "asc" | "desc" | non | Sort order, default "desc" |
| page | integer | non | Page number, starting at 1 |
| limit | integer | non | Items per page, max 200, default 20 |
| lastPriceMin | number | non | Preço (lastPrice) minimum, inclusive. Unit: BRL. |
| lastPriceMax | number | non | Preço (lastPrice) maximum, inclusive. Unit: BRL. |
| changePercentMin | number | non | Variação no dia (changePercent) minimum, inclusive. Unit: percent, 2.81 = 2.81%. |
| changePercentMax | number | non | Variação no dia (changePercent) maximum, inclusive. Unit: percent, 2.81 = 2.81%. |
| volumeMin | number | non | Volume (volume) minimum, inclusive. Unit: shares. |
| volumeMax | number | non | Volume (volume) maximum, inclusive. Unit: shares. |
| marketCapMin | number | non | Valor de mercado (marketCap) minimum, inclusive. Unit: BRL. |
| marketCapMax | number | non | Valor de mercado (marketCap) maximum, inclusive. Unit: BRL. |
| trailingPEMin | number | non | P/L (trailingPE) minimum, inclusive. Unit: multiple. |
| trailingPEMax | number | non | P/L (trailingPE) maximum, inclusive. Unit: multiple. |
| priceToBookMin | number | non | P/VP (priceToBook) minimum, inclusive. Unit: multiple. |
| priceToBookMax | number | non | P/VP (priceToBook) maximum, inclusive. Unit: multiple. |
| enterpriseToEbitdaMin | number | non | EV/EBITDA (enterpriseToEbitda) minimum, inclusive. Unit: multiple. |
| enterpriseToEbitdaMax | number | non | EV/EBITDA (enterpriseToEbitda) maximum, inclusive. Unit: multiple. |
| enterpriseToRevenueMin | number | non | EV/Receita (enterpriseToRevenue) minimum, inclusive. Unit: multiple. |
| enterpriseToRevenueMax | number | non | EV/Receita (enterpriseToRevenue) maximum, inclusive. Unit: multiple. |
| pegRatioMin | number | non | PEG (pegRatio) minimum, inclusive. Unit: multiple. |
| pegRatioMax | number | non | PEG (pegRatio) maximum, inclusive. Unit: multiple. |
| earningsPerShareMin | number | non | LPA (earningsPerShare) minimum, inclusive. Unit: BRL. |
| earningsPerShareMax | number | non | LPA (earningsPerShare) maximum, inclusive. Unit: BRL. |
| bookValuePerShareMin | number | non | VPA (bookValuePerShare) minimum, inclusive. Unit: BRL. |
| bookValuePerShareMax | number | non | VPA (bookValuePerShare) maximum, inclusive. Unit: BRL. |
| netMarginMin | number | non | Margem líquida (netMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. |
| netMarginMax | number | non | Margem líquida (netMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. |
| enterpriseValueMin | number | non | Valor da firma (enterpriseValue) minimum, inclusive. Unit: BRL. |
| enterpriseValueMax | number | non | Valor da firma (enterpriseValue) maximum, inclusive. Unit: BRL. |
| fiftyTwoWeekChangeMin | number | non | Variação 52 semanas (fiftyTwoWeekChange) minimum, inclusive. Unit: fraction, 0.06 = 6%. |
| fiftyTwoWeekChangeMax | number | non | Variação 52 semanas (fiftyTwoWeekChange) maximum, inclusive. Unit: fraction, 0.06 = 6%. |
| dividendYieldMin | number | non | Dividend yield (dividendYield) minimum, inclusive. Unit: fraction, 0.06 = 6%. |
| dividendYieldMax | number | non | Dividend yield (dividendYield) maximum, inclusive. Unit: fraction, 0.06 = 6%. |
| returnOnEquityMin | number | non | ROE (returnOnEquity) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| returnOnEquityMax | number | non | ROE (returnOnEquity) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| returnOnAssetsMin | number | non | ROA (returnOnAssets) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| returnOnAssetsMax | number | non | ROA (returnOnAssets) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| grossMarginMin | number | non | Margem bruta (grossMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| grossMarginMax | number | non | Margem bruta (grossMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| ebitdaMarginMin | number | non | Margem EBITDA (ebitdaMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| ebitdaMarginMax | number | non | Margem EBITDA (ebitdaMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| operatingMarginMin | number | non | Margem operacional (operatingMargin) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| operatingMarginMax | number | non | Margem operacional (operatingMargin) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| debtToEquityMin | number | non | Dívida/PL (debtToEquity) minimum, inclusive. Unit: multiple. Pro plan. |
| debtToEquityMax | number | non | Dívida/PL (debtToEquity) maximum, inclusive. Unit: multiple. Pro plan. |
| netDebtToEbitdaMin | number | non | Dívida líquida/EBITDA (netDebtToEbitda) minimum, inclusive. Unit: multiple. Pro plan. |
| netDebtToEbitdaMax | number | non | Dívida líquida/EBITDA (netDebtToEbitda) maximum, inclusive. Unit: multiple. Pro plan. |
| currentRatioMin | number | non | Liquidez corrente (currentRatio) minimum, inclusive. Unit: multiple. Pro plan. |
| currentRatioMax | number | non | Liquidez corrente (currentRatio) maximum, inclusive. Unit: multiple. Pro plan. |
| quickRatioMin | number | non | Liquidez seca (quickRatio) minimum, inclusive. Unit: multiple. Pro plan. |
| quickRatioMax | number | non | Liquidez seca (quickRatio) maximum, inclusive. Unit: multiple. Pro plan. |
| revenueGrowthMin | number | non | Crescimento da receita (revenueGrowth) minimum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| revenueGrowthMax | number | non | Crescimento da receita (revenueGrowth) maximum, inclusive. Unit: fraction, 0.06 = 6%. Pro plan. |
| earningsGrowthMin | number | non | Crescimento 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Optional comma-separated debenture codes, max 20, e.g. "TIMS12" |
| cnpjs | string | non | Optional comma-separated issuer CNPJs, max 20 |
| search | string | non | 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 |
| status | array<enum: "active" | "inactive"> | non | active, inactive, or both. Default active, or both with symbols |
| index | array<enum: "di" | "ipca" | "pre" | "igp-m" | "inpc" | "tr" | "usd" | "eur" …> | non | Filter by index. pre = fixed rate, none = no index |
| incentivized | boolean | non | true for incentivized (Lei 12.431) debentures only |
| maturityFrom | string | non | Maturity start date in YYYY-MM-DD format, e.g. "2030-12-31" |
| maturityTo | string | non | Maturity end date in YYYY-MM-DD format, e.g. "2030-12-31" |
| sortBy | enum: "symbol" | "maturityDate" | "issueDate" | non | Default symbol |
| sortOrder | enum: "asc" | "desc" | non | |
| page | integer | non | |
| limit | integer | non | Rows 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| tickers | string | non | Optional comma-separated tickers, max 20, e.g. "PETR4,VALE3". Without it, news of all companies |
| eventTypes | array<enum: "earnings" | "dividends" | "guidance" | "mna" | "financing" | "buyback" | "rating" | "analyst" …> | non | Filter by event type |
| sentiment | array<enum: "positive" | "negative" | "neutral" | "mixed"> | non | Filter by story sentiment |
| minImportance | integer | non | Minimum importance, 1 (minor) to 5 (moves the market) |
| from | string | non | Published from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time |
| to | string | non | Published until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time |
| limit | integer | non | Stories per page, max 100, default 20 |
| cursor | string | non | nextCursor from the previous page, with the same filters |
| includeArticle | boolean | non | true 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ètre | Type | Requis | Description |
|---|---|---|---|
| eventTypes | array<enum: "earnings" | "dividends" | "guidance" | "mna" | "financing" | "buyback" | "rating" | "analyst" …> | non | Filter by event type |
| sentiment | array<enum: "positive" | "negative" | "neutral" | "mixed"> | non | Filter by story sentiment |
| minImportance | integer | non | Minimum importance, 1 (minor) to 5 (moves the market) |
| from | string | non | Published from: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time |
| to | string | non | Published until: a date (YYYY-MM-DD, whole Brasília day) or ISO 8601 date-time |
| limit | integer | non | Stories per page, max 100, default 20 |
| cursor | string | non | nextCursor from the previous page, with the same filters |
| includeArticle | boolean | non | true 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ètre | Type | Requis | Description |
|---|---|---|---|
| currency | string | oui | Required. 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ètre | Type | Requis | Description |
|---|---|---|---|
| coin | string | oui | Cryptocurrency to query (e.g., "BTC", "ETH") |
| currency | string | non | Quote currency for prices (default: BRL) |
| range | string | non | Time range for historical data: "1d", "2d", "5d", "7d", "1mo", "3mo", "6mo", "1y", "2y", "5y", "10y", "ytd", "max" |
| interval | string | non | Data interval: "1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo" |
| startDate | string | non | First daily history date, YYYY-MM-DD. Use without range. |
| endDate | string | non | Last 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated series slugs (max 20). Examples: 'selic', 'ipca,igpm', 'cdi,ibcbr' |
| startDate | string | non | ISO date YYYY-MM-DD. Default: 12 months ago. |
| endDate | string | non | ISO date YYYY-MM-DD. Default: today. |
| sortOrder | enum: "asc" | "desc" | non | Sort by date. Default: desc (newest first). |
| limit | integer | non | Max 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| country | string | non | Country code (default: "brazil"). Currently only Brazil is supported |
| historical | boolean | non | Include historical data (default: false) |
| start | string | non | Start date for historical data (format: YYYY-MM-DD or DD/MM/YYYY) |
| end | string | non | End date for historical data (format: YYYY-MM-DD or DD/MM/YYYY) |
| sortBy | string | non | Sort field: "date" or "value" |
| sortOrder | string | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| country | string | non | Country code (default: "brazil"). Currently only Brazil is supported |
| historical | boolean | non | Include historical data (default: false) |
| start | string | non | Start date for historical data (format: YYYY-MM-DD or DD/MM/YYYY) |
| end | string | non | End date for historical data (format: YYYY-MM-DD or DD/MM/YYYY) |
| sortBy | string | non | Sort field: "date" or "value" |
| sortOrder | string | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Required. Underlying symbol (stock, ETF, or index), e.g. "PETR4" or "VALE3". |
| includeExpired | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying symbol (stock, ETF, or index) to list option strikes for (e.g., "PETR4") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates |
| side | enum: "call" | "put" | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying symbol (stock, ETF, or index) to fetch the option chain for (e.g., "PETR4") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates |
| date | string | non | EOD date in YYYY-MM-DD format used to look up prices and volume (default: latest available trading day) |
| side | enum: "call" | "put" | non | Filter by option side: "call" (compra) or "put" (venda). Omit to return both |
| minStrike | number | non | Minimum strike price to include |
| maxStrike | number | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "PETRE370") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format |
| strike | number | non | Strike price. Required when the same symbol appears more than once within the same expiration |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying symbol (stock, ETF, or index) to fetch option analytics for (e.g., "PETR4") |
| expirationDate | string | oui | Required. Expiration date in YYYY-MM-DD format. Use get_option_expirations first to discover available dates |
| date | string | non | EOD date in YYYY-MM-DD format used to look up the analytics snapshot (default: latest available trading day) |
| side | enum: "call" | "put" | non | Filter by option side: "call" (compra) or "put" (venda). Omit to return both |
| minStrike | number | non | Minimum strike price to include |
| maxStrike | number | non | Maximum strike price to include |
| limit | integer | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "PETRE370") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format |
| strike | number | non | Strike price. Required when the same symbol appears more than once within the same expiration |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying symbol (stock, ETF, or index) to fetch open positions for (e.g., "PETR4") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format. Use get_option_expirations to discover available dates |
| date | string | non | Date in YYYY-MM-DD format. Returns the most recent position report on or before it (default: latest available) |
| side | enum: "call" | "put" | non | Filter by option side: "call" (compra) or "put" (venda). Omit to return both |
| minStrike | number | non | Minimum strike price to include |
| maxStrike | number | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "PETRE370") |
| expirationDate | string | oui | Expiration date in YYYY-MM-DD format |
| strike | number | non | Strike price. Required when the same symbol appears more than once within the same expiration |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | non | Underlying asset code to filter by (e.g., "WIN", "WDO", "BGI", "DI1"). Exact match. |
| segment | enum: "financial" | "agribusiness" | non | Segment filter: "financial" = mini Ibov, mini Dolar, DI, etc. "agribusiness" = boi, café, milho, soja. |
| includeExpired | boolean | non | Include contracts that have already expired (default: false) |
| page | integer | non | Page number, 1-indexed (default: 1) |
| limit | integer | non | Items per page (default: 50, max: 100) |
| sortBy | enum: "symbol" | "expirationDate" | "underlyingAsset" | non | Sort key (default: "expirationDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Contract symbol (e.g., "WINM26", "BGIF27", "DI1F27"). One contract per request. |
| startDate | string | non | Start date YYYY-MM-DD (default: 12 months ago). |
| endDate | string | non | End date YYYY-MM-DD (default: today). |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | oui | Underlying asset code (e.g., "DI1" for DI rate curve, "WIN" for mini Ibovespa expirations, "BGI" for live cattle). Exact match. |
| includeExpired | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying asset code (e.g., "BGI", "ICF", "CCM", "SJC"). |
| includeExpired | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying asset code (e.g., "BGI", "ICF", "CCM"). |
| expirationDate | string | oui | Expiration date YYYY-MM-DD. Use get_futures_option_expirations to discover. |
| side | enum: "call" | "put" | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying asset code (e.g., "BGI", "ICF"). |
| expirationDate | string | oui | Expiration date YYYY-MM-DD. |
| date | string | non | EOD reference date YYYY-MM-DD for the pricing snapshot (default: latest available). |
| side | enum: "call" | "put" | non | Filter by "call" or "put". Omit for both. |
| minStrike | number | non | Minimum strike price to include. |
| maxStrike | number | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}. |
| startDate | string | non | Start date YYYY-MM-DD (default: 12 months ago). |
| endDate | string | non | End date YYYY-MM-DD (default: today). |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying futures asset code (e.g., "BGI", "ICF"). |
| expirationDate | string | oui | Expiration date YYYY-MM-DD. |
| date | string | non | EOD reference date YYYY-MM-DD for the analytics snapshot (default: latest available). |
| side | enum: "call" | "put" | non | Filter by "call" or "put". Omit for both. |
| minStrike | number | non | Minimum strike price to include. |
| maxStrike | number | non | Maximum strike price to include. |
| limit | integer | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}. |
| startDate | string | non | Start date YYYY-MM-DD (default: 12 months ago). |
| endDate | string | non | End date YYYY-MM-DD (default: today). |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| underlying | string | oui | Underlying asset code (e.g., "BGI", "ICF"). |
| expirationDate | string | oui | Expiration date YYYY-MM-DD. |
| date | string | non | Reference date YYYY-MM-DD. Returns the most recent position report on or before it (default: latest available). |
| side | enum: "call" | "put" | non | Filter by "call" or "put". Omit for both. |
| minStrike | number | non | Minimum strike price to include. |
| maxStrike | number | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Option symbol (e.g., "BGIK26C034300" = BGI call expiring K26 at strike 343.00). Pattern: {asset}{month_letter}{year}{C|P}{strike*100}. |
| startDate | string | non | Start date YYYY-MM-DD (default: 12 months ago). |
| endDate | string | non | End date YYYY-MM-DD (default: today). |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number (1-based, default: 1) |
| limit | integer | non | Items per page (default: 20) |
| sortBy | string | non | Sort field: symbol, name, segmentoAtuacao, mandate, price, navPerShare, priceToNav, dividendYield12m, totalInvestors (default: "totalInvestors") |
| sortOrder | enum: "asc" | "desc" | non | Sort order: "asc" or "desc" (default: "desc") |
| search | string | non | Search by name or symbol (e.g., "hglg" matches HGLG11) |
| symbols | string | non | Comma-separated FII symbols to filter by (max 20) |
| cnpjs | string | non | Comma-separated FII CNPJs to filter by, formatted or digits-only (max 20) |
| segmentType | enum: "papel" | "tijolo" | "hibrido" | "fof" | non | Filter by segment type: papel (paper/CRI), tijolo (real estate), hibrido (mixed), fof (fund of funds) |
| segmentoAtuacao | string | non | Filter by sector (e.g., "Logística", "Shoppings", "Lajes Corporativas", "Títulos e Val. Mob.", "Residencial") |
| mandate | string | non | Filter by mandate type (e.g., "Renda", "Ganho de Capital") |
| tipoGestao | string | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11" |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortBy | string | non | Sort field: referenceDate, symbol, price, navPerShare, priceToNav, dividendYield12m, dividendYield1m, monthlyReturn, totalInvestors (default: "referenceDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11" |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11" |
| referenceDate | string | non | Quarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII. |
| allVersions | boolean | non | Include amended report versions (default: false; latest version only). |
| sortBy | enum: "revenueShare" | "area" | "vacancyRate" | "name" | non | Sort properties by "revenueShare", "area", "vacancyRate" or "name" (default: "revenueShare"). |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "HGLG11,XPLG11" |
| startDate | string | non | Start date in YYYY-MM-DD format. Defaults to 12 months ago. |
| endDate | string | non | End date in YYYY-MM-DD format. Defaults to today. |
| sortBy | string | non | Sort field: referenceDate, symbol, count, totalArea, vacancyRate, averageVacancyRate, propertiesWithVacancy (default: "referenceDate"). |
| sortOrder | enum: "asc" | "desc" | non | Sort order: "asc" or "desc" (default: "desc"). |
| allVersions | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11" |
| referenceDate | string | non | Quarter reference date in YYYY-MM-DD format. Defaults to latest available quarter per FII. |
| include | string | non | Comma-separated sections: "summary,allocations,properties,financialAssets,fundHoldings,lands,rights". Defaults to all sections. |
| allVersions | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11" |
| startDate | string | non | Start date in YYYY-MM-DD format. Defaults to 12 months ago. |
| endDate | string | non | End date in YYYY-MM-DD format. Defaults to today. |
| sortBy | string | non | Sort field: referenceDate, symbol, totalItems, declaredValue, propertyCount, vacancyRate, financialAssetsDeclaredValue (default: "referenceDate"). |
| sortOrder | enum: "asc" | "desc" | non | Sort order: "asc" or "desc" (default: "desc"). |
| allVersions | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "HGLG11,MXRF11" |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortBy | string | non | Sort field: referenceDate, symbol, totalAssets, equity, navPerShare, monthlyReturn, monthlyDividendYield, totalInvestors, version (default: "referenceDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort order: "asc" or "desc" (default: "desc") |
| page | integer | non | Page number (1-based, default: 1) |
| limit | integer | non | Items per page (default: 20) |
| allVersions | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated FII symbols (max 20). Example: "MXRF11,HGLG11" |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: no limit, so announced future payments are included) |
| sortBy | string | non | Sort field: paymentDate, lastDatePrior, rate, symbol, approvedOn (default: "paymentDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| search | string | non | Search by symbol, name, CNPJ or ISIN |
| assetType | enum: "fii" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "etf" | "other" | non | Canonical fund asset type |
| etfCategory | enum: "fixed-income" | "equity" | "crypto" | "real-estate" | non | ETF category from the exchange ETF lists; returns only ETFs |
| status | string | non | Normalized CVM/B3 status |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| assetType | enum: "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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortOrder | enum: "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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| referenceDate | string | non | Reference date in YYYY-MM-DD |
| include | string | non | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| referenceDate | string | non | Reference date in YYYY-MM-DD |
| include | string | non | Comma-separated portfolio sections |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| referenceDate | string | non | Newest month on or before this date, YYYY-MM-DD |
| view | enum: "lookthrough" | "tree" | "direct" | non | lookthrough (default), tree or direct |
| path | string | non | With view=tree: node ids under the fund, separated by /, e.g. bdr:BEEM39 |
| lookThrough | boolean | non | false is the same as view=direct |
| assetClass | string | non | Comma-separated asset classes for the holdings list, e.g. equity,bdr |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Holdings 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ètre | Type | Requis | Description |
|---|---|---|---|
| positions | string | oui | Comma-separated positions with a value in BRL or a weight, max 200. Example: WRLD11:10000,PETR4:3000 or WRLD11:60%,PETR4:40% |
| referenceDate | string | non | Newest month on or before this date, YYYY-MM-DD |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Companies 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ètre | Type | Requis | Description |
|---|---|---|---|
| referenceDate | string | non | Newest month on or before this date, YYYY-MM-DD |
| region | enum: "all" | "brazil" | "foreign" | non | all (default), brazil (B3 companies) or foreign |
| sortBy | enum: "value" | "flow" | "funds" | non | value (default), flow or funds |
| sortOrder | enum: "asc" | "desc" | non | |
| history | boolean | non | true: concentration and flow per month instead of companies |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Companies 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | non | B3 ticker, e.g. PETR4 |
| cnpj | string | non | CNPJ of a fund (holders of its quotas) or of a company (holders of its shares and debt) |
| issuer | boolean | non | Widen a share ticker to all securities of its company |
| assetClass | string | non | Comma-separated asset classes of the positions, e.g. equity for shares only |
| referenceDate | string | non | Newest month on or before this date, YYYY-MM-DD |
| assetType | enum: "fii" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "etf" | "other" | non | Only funds of this type |
| sortBy | enum: "marketValue" | "weightPercent" | "bought" | "sold" | non | marketValue (default) or weightPercent list holders; bought or sold list the funds that bought or sold in the month, largest first |
| sortOrder | enum: "asc" | "desc" | non | |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Funds per page, default 20, max 100 |
| include | string | non | Comma-separated extra lists, up to limit each: movers adds topBuyers and topSellers; direct, with scope indirect or all, adds topDirect (largest direct positions) |
| scope | enum: "direct" | "indirect" | "all" | non | direct (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ètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | non | Fund ticker, e.g. BOVA11 |
| cnpj | string | non | Fund CNPJ |
| asset | string | non | Asset ticker, e.g. PETR4 |
| assetCnpj | string | non | CNPJ of a fund (its quotas) or of a company |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| sortOrder | enum: "asc" | "desc" | non | Oldest (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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated index symbols, e.g. IBOV,SMLL |
| referenceDate | string | non | Newest month on or before this date, YYYY-MM-DD |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Assets 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| assetType | enum: "etf" | "fiagro" | "fiinfra" | "fif" | "fidc" | "fip" | "other" | non | Dividend asset type. FIIs are intentionally excluded. |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | enum: "lastDatePrior" | "paymentDate" | "declaredDate" | "symbol" | "rate" | non | |
| sortOrder | enum: "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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| allVersions | boolean | non | |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| referenceDate | string | non | |
| allVersions | boolean | non | |
| include | string | non |
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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| referenceDate | string | non | |
| include | string | non |
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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| reportType | enum: "trimestral" | "quadrimestral" | non | |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| year | integer | non | |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | non | Comma-separated B3 fund symbols, max 20. Example: JURO11,XPCA11 |
| cnpjs | string | non | Comma-separated CNPJs, formatted or digits-only, max 20 |
| year | integer | non | |
| startDate | string | non | Start date in YYYY-MM-DD format |
| endDate | string | non | End date in YYYY-MM-DD format |
| include | string | non | |
| page | integer | non | Page number, default 1 |
| limit | integer | non | Items per page, default 20 |
| sortBy | string | non | Sort field supported by endpoint |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| page | integer | non | Page number (1-based, default: 1) |
| limit | integer | non | Items per page (default: 20) |
| search | string | non | Search by public treasury symbol or bond name. Example: "tesouro-selic-01032031" |
| indexer | enum: "selic" | "prefixado" | "ipca" | "igpm" | non | Filter by bond indexer |
| couponType | enum: "zero" | "semestral" | non | Filter by coupon type: zero or semestral |
| sortBy | enum: "symbol" | "bondType" | "maturityDate" | "durationDays" | "baseDate" | "buyRate" | "sellRate" | "buyPrice" … | non | Sort field (default: "maturityDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort 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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-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ètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | oui | Comma-separated treasury symbols (max 20). Example: "tesouro-selic-01032031" |
| startDate | string | non | Start date in YYYY-MM-DD format (default: 12 months ago) |
| endDate | string | non | End date in YYYY-MM-DD format (default: today) |
| sortBy | enum: "baseDate" | "buyRate" | "sellRate" | "buyPrice" | "sellPrice" | "basePrice" | non | Sort field (default: "baseDate") |
| sortOrder | enum: "asc" | "desc" | non | Sort 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport 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 mcp add --transport http brapi https://brapi.dev/api/mcp/mcpCustomize > Connectors > + Add > Add custom connector ; Name : brapi ; URL : https://brapi.dev/api/mcp/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : brapi ; Server URL : https://brapi.dev/api/mcp/mcp ; Create as a plugin{
"mcpServers": {
"brapi": {
"url": "https://brapi.dev/api/mcp/mcp"
}
}
}{
"mcpServers": {
"brapi": {
"type": "http",
"url": "https://brapi.dev/api/mcp/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"brapi": {
"url": "https://brapi.dev/api/mcp/mcp"
}
}
}{
"mcpServers": {
"brapi": {
"httpUrl": "https://brapi.dev/api/mcp/mcp"
}
}
}[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
[brapi — L’Atlas](https://latlas.dev/mcp/dev.brapi/mcp)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.