Discover/ANBIMA API
live

ANBIMA APIdata.anbima.com.br

Access Brazilian investment fund data, debenture details, private securities event calendars, and ANBIMA datasets via a structured REST API.

Endpoint health
verified 5d ago
search_funds
search_debentures
get_titulos_privados_agenda_eventos
get_fund_periodic_data
get_datasets_list
6/6 passing latest checkself-healing
Endpoints
6
Updated
22d ago

What is the ANBIMA API?

The ANBIMA Data API provides 6 endpoints covering Brazilian investment funds, debentures, and private securities events sourced from data.anbima.com.br. Use search_funds to look up funds by name or CNPJ and retrieve share value history, or use get_debenture_details to pull issuer information, remuneration structure, pricing history, and maturity dates for any specific B3-coded debenture.

Try it
Page number (0-based)
Results per page
api.parse.bot/scraper/ba829820-1cc1-4b84-afce-f3fff8bf1686/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ba829820-1cc1-4b84-afce-f3fff8bf1686/get_titulos_privados_agenda_eventos?page=0&size=20' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace data-anbima-com-br-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""ANBIMA Data API - SDK Usage Example

Search Brazilian financial market data: funds, debentures, datasets, and events.
"""
from parse_apis.anbima_data_api import Anbima, DebentureNotFound

client = Anbima()

# List available datasets on the platform
for dataset in client.datasets.list(limit=3):
    print(dataset.titulo, "|", dataset.categoria_ativo, "| available:", dataset.disponivel)

# Search debentures and drill into detail for the first result
deb = client.debenturesummaries.search(query="AALM", limit=1).first()
if deb:
    print(f"\nDebenture: {deb.codigo_b3} | {deb.emissor} | matures {deb.data_vencimento}")
    detail = deb.details()
    print(f"  Emission volume: {detail.emissao.volume}")
    if detail.pu_historico:
        print(f"  Historical PU par: {detail.pu_historico.pu_par}")

# Search investment funds by name
for fund in client.funds.search(query="bradesco", limit=3):
    print(f"\nFund: {fund.fundo.nome_comercial} ({fund.fundo.status})")
    if fund.classe:
        print(f"  Category: {fund.classe.categoria_anbima} | Type: {fund.classe.tipo_anbima}")
    if fund.perfil_complementar:
        print(f"  12m return: {fund.perfil_complementar.rentabilidade_doze_meses}")

# Retrieve historical periodic data for a fund
for record in client.fundperiodicdatas.get(query="itau", limit=3):
    print(f"\nDaily: {record.date} | share: {record.value} | patrimony: {record.valor_patrimonio_liquido}")

# Browse private securities events calendar
for event in client.securityevents.list(limit=5):
    print(f"\nEvent: {event.evento} | {event.codigo_b3} | {event.data_evento} | {event.valor}")

# Typed error handling for a missing debenture
try:
    bad = client.debenturesummaries.search(query="ZZZZ99", limit=1).first()
    if bad:
        bad.details()
except DebentureNotFound as exc:
    print(f"\nNot found: {exc.code}")

print("\nExercised: datasets.list, debenturesummaries.search, deb.details, funds.search, fundperiodicdatas.get, securityevents.list")
All endpoints · 6 totalmissing one? ·

Retrieve the private securities events calendar. Returns paginated events including interest payments, amortizations, and other corporate actions on private securities (debentures, CRIs, CRAs). Each event includes the B3 code, event type, rate, value, settlement date, and status. Results are ordered chronologically.

Input
ParamTypeDescription
pageintegerPage number (0-based)
sizeintegerResults per page
Response
{
  "type": "object",
  "fields": {
    "size": "page size (integer)",
    "number": "current page number (integer)",
    "content": "array of event records",
    "total_pages": "total number of pages (integer)",
    "total_elements": "total number of events (integer)"
  },
  "sample": {
    "data": {
      "size": 20,
      "number": 0,
      "content": [
        {
          "taxa": "5,3621 %",
          "serie": {
            "tipo": "CRI",
            "codigo_b3": "21D0694886"
          },
          "valor": "R$ 26,57977244",
          "evento": "Pagamento de juros",
          "status": {
            "status": "Liquidado"
          },
          "data_evento": "15/10/2021",
          "data_liquidacao": "15/10/2021"
        }
      ],
      "total_pages": 8441,
      "total_elements": 168805
    },
    "status": "success"
  }
}

About the ANBIMA API

Fund Data

search_funds accepts a query parameter (fund name or CNPJ) and returns paginated results including administrative details, class information, and performance metrics. get_fund_periodic_data takes the same query and returns a time series for the first matching fund — daily records with date, value (share price), valor_patrimonio_liquido (net asset value), and investor count. Both endpoints support page and size parameters for pagination.

Debenture Data

search_debentures accepts an optional query string (B3 code or issuer name); omitting it returns all debentures in paginated form. For a specific instrument, get_debenture_details takes a B3 code (e.g. AALM12) and returns codigo_b3, isin, tipo, remuneracao, data_vencimento, setor, full emissao metadata, and pu_indicativo (indicative pricing history). This is the endpoint to use when you need full terms and pricing data for a specific debenture.

Private Securities Events Calendar

get_titulos_privados_agenda_eventos returns a paginated calendar of upcoming and past corporate actions on private securities. Each event record includes evento (event type such as interest payment or amortization), taxa, valor, serie, data_evento, data_liquidacao, and status. This is useful for tracking cash-flow events across a portfolio of private credit instruments.

Available Datasets

get_datasets_list requires no parameters and returns the full catalog of datasets available on the ANBIMA Data platform. Each entry includes id, titulo, slug, descricao, categoria_ativo, tipo_mercado, and availability flags, letting you programmatically discover what data is published.

Reliability & maintenanceVerified

The ANBIMA API is a managed, monitored endpoint for data.anbima.com.br — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when data.anbima.com.br changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official data.anbima.com.br API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
5d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track daily net asset value and investor count for Brazilian investment funds using get_fund_periodic_data
  • Build a private credit calendar by pulling amortization and interest payment events from get_titulos_privados_agenda_eventos
  • Look up full debenture terms — remuneration, maturity, ISIN, and indicative pricing — by B3 code using get_debenture_details
  • Screen debentures by issuer sector using the setor field returned in debenture detail responses
  • Enumerate all ANBIMA-published datasets programmatically to identify available data categories via get_datasets_list
  • Search and compare investment funds by CNPJ across administrative and performance fields using search_funds
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does ANBIMA offer an official developer API?+
ANBIMA provides a public data portal at data.anbima.com.br with downloadable datasets and some browsable interfaces, but they do not publish a documented, versioned public REST API for programmatic access. This Parse API exposes the data in a structured, queryable form.
What does `get_debenture_details` return beyond what `search_debentures` provides?+
search_debentures returns summary records suitable for listing — names, codes, and high-level remuneration info. get_debenture_details returns the full record for one instrument by its B3 code: isin, tipo, setor, complete emissao (issuer and emission details), and pu_indicativo (a history of indicative prices), none of which appear in the search results.
Does `get_fund_periodic_data` return data for all matching funds or just one?+
It returns periodic data for the first fund matched by the query string. If your query matches multiple funds, only the first result is used. Use search_funds first to confirm the exact fund name or CNPJ, then pass that precise value to get_fund_periodic_data to ensure you retrieve the intended fund.
Does the API cover real-time pricing or intraday data?+
No. get_fund_periodic_data returns daily records, and get_debenture_details provides indicative pricing history rather than live quotes. Intraday or real-time price feeds are not part of the current endpoint set. You can fork the API on Parse and revise it to add an endpoint targeting a real-time pricing source if that coverage is needed.
Are government treasury bonds (Tesouro Direto) or public securities included?+
The current endpoints cover investment funds, debentures (private credit), and private securities events. Public securities such as LTN, NTN-B, or Tesouro Direto instruments are not exposed by the existing endpoints. You can fork the API on Parse and revise it to add endpoints covering public securities data.
Page content last updated . Spec covers 6 endpoints from data.anbima.com.br.
Related APIs in FinanceSee all →
investidor10.com.br API
Access comprehensive Brazilian stock and real estate investment fund data including listings, technical indicators, dividend history, and historical price quotes. Search and retrieve detailed information about individual assets to analyze their performance and financial metrics.
statusinvest.com.br API
Search and analyze Brazilian stocks with real-time market data, including detailed financial indicators, historical price movements, and dividend information. Track stock performance and investment metrics all in one place.
fiis.com.br API
Search and analyze Brazilian real estate investment funds (FIIs) with detailed financial metrics, performance data, and complete dividend history to make informed investment decisions. Access comprehensive fund information including key statistics and historical payouts all in one place.
infomoney.com.br API
Track Brazilian stocks, currencies, and cryptocurrencies with real-time quotes, historical OHLCV data, fundamentals, and dividends. Access intraday price movements, top B3 movers, exchange rates, and market news from InfoMoney.
databento.com API
Access historical market data for US equities, futures, and options through a simple authentication system, allowing you to retrieve timeseries data, look up instruments, and explore available datasets. Resolve trading symbols and discover data schemas to power your quantitative analysis and backtesting workflows.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.
licitacoes-e.com API
Search and analyze Brazilian public tenders from Banco do Brasil, including filtering by buyer and tender status to find procurement opportunities. Get detailed information about specific tenders to track bids, deadlines, and procurement details.
morningstar.in API
Access mutual fund and stock data from Morningstar India. Search by name or ticker, then retrieve NAV, expense ratios, star ratings, historical performance, asset allocation, portfolio holdings, risk metrics, and analyst pillar ratings for any covered fund.