Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Dados B3 Metodologia 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: Metodologia
paths:
/metodologia:
get:
summary: Metodologias
description: 'Índice das metodologias, no idioma do visitante. O título de cada uma sai
da PRIMEIRA LINHA do próprio .md (PT ou _en.md) — nunca de uma lista à parte
que envelhece sem ninguém notar.
★ ESTA ROTA QUEBRAVA O CONECTOR MCP (06/09/2026). A ferramenta
`metodologia()` do servidor MCP chamava aqui e fazia `.json()` no retorno —
e o retorno era HTML, sempre. A ferramenta estava publicada, listada e
MORTA: qualquer IA que a chamasse recebia um erro de parsing, não uma
resposta. Só o índice quebrava; ler uma página (`/metodologia/{nome}.md`)
sempre funcionou, o que escondeu o defeito. Agora `application/json`
EXPLÍCITO devolve os nomes com o título de cada um; tudo o mais (inclusive
`*/*` e Accept ausente) continua recebendo a página.'
operationId: metodologias_metodologia_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:
- Metodologia
/metodologia/{nome}.md:
get:
summary: Metodologia Crua
description: 'Markdown cru — para consumo por máquina/API. Apelido serve o canônico
direto (sem redirect: quem consome .md é máquina e nem sempre segue 3xx).'
operationId: metodologia_crua_metodologia__nome__md_get
parameters:
- name: nome
in: path
required: true
schema:
type: string
title: Nome
- 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/plain:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Metodologia
/metodologia/{nome}:
get:
summary: Metodologia
operationId: metodologia_metodologia__nome__get
parameters:
- name: nome
in: path
required: true
schema:
type: string
title: Nome
- 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:
- Metodologia
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.'