Ações
Dados Financeiros de Ações
Use mode=current para dados financeiros atuais/TTM. Use mode=history com
period=annual ou period=quarterly para séries históricas.
Authorization
Bearer AuthorizationBearer <token>
Token de API obtido no dashboard em brapi.dev/dashboard
In: header
Query Parameters
symbols*string
Tickers separados por vírgula. Ex.: PETR4,VALE3. Tickers antigos são resolvidos para o ticker atual quando houver renome conhecido.
period?string
Período dos dados históricos.
Default
"annual"Value in
"annual" | "quarterly"startDate?string
Data inicial em YYYY-MM-DD. Filtra linhas por date/endDate.
endDate?string
Data final em YYYY-MM-DD. Filtra linhas por date/endDate.
mode?string
current retorna o indicador atual/TTM; history retorna a série anual ou trimestral.
Default
"current"Value in
"current" | "history"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://brapi.dev/api/v2/stocks/financial-data?symbols=PETR4%2CVALE3"{
"results": [
{
"requestedSymbol": "WEGE3",
"symbol": "WEGE3",
"changed": false,
"data": {
"currentPrice": null,
"targetHighPrice": null,
"targetLowPrice": null,
"targetMeanPrice": null,
"targetMedianPrice": null,
"recommendationMean": null,
"recommendationKey": null,
"numberOfAnalystOpinions": null,
"totalCash": 7385768000,
"totalCashPerShare": 1.7596399,
"ebitda": 8929845000,
"totalDebt": 9730790000,
"quickRatio": 0.98023725,
"currentRatio": 1.5479537,
"totalRevenue": 40193850000,
"debtToEquity": 0.54833394,
"revenuePerShare": null,
"returnOnAssets": 0.15488343,
"returnOnEquity": 0.378589,
"grossProfits": 13361430000,
"freeCashflow": 2974247000,
"operatingCashflow": 7172939000,
"earningsGrowth": 0.0042655054,
"revenueGrowth": 0.0040378235,
"earningsGrowthAnnual": 0.05521239,
"revenueGrowthAnnual": 0.074161455,
"grossMargins": 0.3324247,
"ebitdaMargins": 0.22216943,
"operatingMargins": 0.19664963,
"profitMargins": 0.16715191,
"financialCurrency": null
}
}
],
"requestedAt": "2026-06-14T05:03:16.000Z",
"took": 31
}{
"error": true,
"message": "Parâmetros inválidos",
"code": "BAD_REQUEST"
}{
"error": true,
"message": "Token de autenticação inválido ou ausente",
"code": "UNAUTHORIZED"
}{
"error": true,
"message": "Você não tem permissão para acessar este recurso",
"code": "FORBIDDEN"
}{
"error": true,
"message": "Recurso não encontrado",
"code": "NOT_FOUND"
}{
"error": true,
"message": "Limite de requisições excedido. Tente novamente mais tarde.",
"code": "RATE_LIMIT_EXCEEDED"
}{
"error": true,
"message": "Erro interno do servidor",
"code": "INTERNAL_SERVER_ERROR"
}