Referência da APIDados de mercadoAções
Histórico de um indicador (trimestral)
AuthorizationBearer <token>
In: header
Path Parameters
tickerstring
Match
^[A-Z][A-Z0-9]{3}[0-9]{0,2}$Query Parameters
namestring
Indicador único para a série histórica (ex.: 'pl', 'roe', 'dy'). Mesmos nomes do snapshot.
Length
1 <= lengthfrom?string
Match
^\d{4}-\d{2}-\d{2}$to?string
Match
^\d{4}-\d{2}-\d{2}$Response Body
curl -X GET "https://api.databolsa.com/v1/stocks/string/indicators/history?name=string&from=string&to=string"{
"ticker": "string",
"name": "string",
"label": "string",
"unit": "ratio",
"observations": [
{
"date": "string",
"value": 0
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}