Dados B3 Calculadoras API
The Calculadoras API from Dados B3 — 4 operation(s) for calculadoras.
The Calculadoras API from Dados B3 — 4 operation(s) for calculadoras.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/dadosb3-com:dadosb3-com-calculadoras-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Dados B3 Calculadoras API
description: 'Dados fundamentalistas de companhias abertas brasileiras com metodologia 100% pública e invariantes de dado publicados. Fontes: CVM (dados abertos, ODbL) e B3 (COTAHIST fim-de-dia). Todo número carrega a conta CVM de origem; valor duvidoso carrega flag, nunca estimativa escondida.'
version: 0.1.0
tags:
- name: Calculadoras
paths:
/calculadoras/di-futuro.json:
get:
summary: Calculadora Di Json
description: 'Calculadora do contrato de DI futuro (DI1), ABERTA e sem chave: dias úteis até o vencimento, PU =
100000 / (1 + taxa)^(du/252), valor do ponto-base e, com `taxa_nova`, o ganho ou a perda de quem está
comprado (`posicao=comprado`) ou vendido em taxa. `vencimento`: mês/ano (jan/2028), código (F28, DI1F28) ou a
data; `data`: a referência (padrão: hoje, Brasília). Os números são os que você manda; não há cotação da B3.
Entrada inválida: 400 com `erro`.'
operationId: calculadora_di_json_calculadoras_di_futuro_json_get
parameters:
- name: taxa
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Taxa
- name: vencimento
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Vencimento
- name: data
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Data
- name: taxa_nova
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Taxa Nova
- name: posicao
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Posicao
- name: contratos
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Contratos
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Calculadoras
/calculadoras/di-futuro:
get:
summary: Calculadora Di
description: 'A página da calculadora de DI futuro: formulário, resultado e a explicação da conta. ABERTA.
Ver dados_b3/calculadora_di.py.'
operationId: calculadora_di_calculadoras_di_futuro_get
parameters:
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Lang
- name: accept-language
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Accept-Language
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Calculadoras
/calculadoras/juros-compostos.json:
get:
summary: Calculadora Juros Json
description: 'Calculadora de juros compostos, ABERTA e sem chave: `inicial`, `aporte` (mensal), `prazo` + `unidade`
(anos|meses), e a taxa: `modo=taxa` com `taxa` (% a.a.; `periodo=mes` para % a.m.), `modo=selic` (meta Selic
de hoje, BCB) ou `modo=ipca`
com `juro_real` (IPCA 12m do IBGE + X%). Opcionais: `ipca` (inflação digitada), `inflacao=1` (valor em dinheiro
de hoje), `ir=1` (IR da tabela regressiva, simplificado). Devolve valor final, total investido, juros, tabela
ano a ano e a comparação Selic × IPCA × taxa. Simulação; não é recomendação. Entrada inválida: 400 com `erro`.'
operationId: calculadora_juros_json_calculadoras_juros_compostos_json_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Calculadoras
/calculadoras/juros-compostos:
get:
summary: Calculadora Juros
description: 'A página da calculadora de juros compostos: formulário, resultado, gráfico, tabela, comparação e a
explicação da conta. ABERTA. Ver dados_b3/calculadora_juros.py.'
operationId: calculadora_juros_calculadoras_juros_compostos_get
parameters:
- name: lang
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Lang
- name: accept-language
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Accept-Language
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Calculadoras
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
ChaveApiNaUrl:
type: apiKey
in: query
name: chave
description: Alternativa ao cabeçalho para clientes que só abrem URL (navegação de IA). Fica no histórico e nos logs de quem a usa.
ChaveApi:
type: apiKey
in: header
name: X-API-Key
description: 'Chave grátis (200 consultas/dia) ou Pro em /assinar. Abertos sem chave (limite por IP): fatos, indicadores, múltiplos e dividendos de qualquer ticker, ficha e ranking de FII. WEGE3, MXRF11, /hoje, /saude e a metodologia são abertos. Exigem chave: as_of, versões, preços, screener, /dump.'