Ações
Estatísticas de Ações
Use mode=current para indicadores 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/statistics?symbols=PETR4%2CVALE3"{
"results": [
{
"requestedSymbol": "WEGE3",
"symbol": "WEGE3",
"changed": false,
"data": {
"priceHint": null,
"enterpriseValue": 181192740000,
"forwardPE": null,
"profitMargins": 0.16715191,
"floatShares": 1485954700,
"sharesOutstanding": 4197318000,
"sharesShort": null,
"sharesShortPriorMonth": null,
"sharesShortPreviousMonthDate": null,
"dateShortInterest": null,
"sharesPercentSharesOut": null,
"heldPercentInsiders": null,
"heldPercentInstitutions": null,
"shortRatio": null,
"shortPercentOfFloat": null,
"beta": 0.6503127,
"impliedSharesOutstanding": null,
"category": null,
"bookValue": 4.227962,
"priceToBook": 10.078141,
"fundFamily": null,
"legalType": null,
"lastFiscalYearEnd": null,
"nextFiscalYearEnd": "2026-12-31 00:00:00+00",
"mostRecentQuarter": "2026-03-31",
"earningsQuarterlyGrowth": -0.03510854,
"netIncomeToCommon": 6287370000,
"trailingEps": 1.4979494,
"forwardEps": null,
"pegRatio": 66.687416,
"lastSplitFactor": null,
"lastSplitDate": null,
"enterpriseToRevenue": 4.507972,
"enterpriseToEbitda": 20.290693,
"52WeekChange": 0.03210223,
"SandP52WeekChange": null,
"lastDividendValue": null,
"lastDividendDate": "2026-03-20",
"ytdReturn": null,
"beta3Year": null,
"totalAssets": null,
"yield": 0.03,
"fundInceptionDate": null,
"threeYearAverageReturn": null,
"fiveYearAverageReturn": null,
"morningStarOverallRating": null,
"morningStarRiskRating": null,
"annualReportExpenseRatio": null,
"lastCapGain": null,
"annualHoldingsTurnover": null,
"marketCap": 178847730000,
"trailingPE": 28.445553,
"earningsPerShare": 1.4979494,
"dividendYield": 0.03
}
}
],
"requestedAt": "2026-06-14T05:03:16.000Z",
"took": 207
}{
"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"
}