ApiMercadoCredit
Secundário de balcão por instrumento (CDB, CRI, CRA, LCI, LCA…)
Negócios consolidados de renda fixa privada de balcão, instrumento a instrumento. Sem recorte temporal, responde o pregão mais recente da família; linhas sem negócio real não entram.
AuthorizationBearer <token>
In: header
Query Parameters
cursor?string
limit?integer
Default
100Range
1 <= value <= 1000familystring
Família do instrumento: CDB, CCB, CRI, CRA, LCI, LCA, LF, LIG, NC, COE…
Length
2 <= lengthdate?string
Pregão exato (default: o mais recente com negócios).
Match
^\d{4}-\d{2}-\d{2}$from?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/credit/otc?cursor=string&limit=100&family=string&date=string&from=string&to=string"{
"data": [
{
"trade_date": "string",
"instrument_code": "string",
"family": "string",
"isin": "string",
"issuer_name": "string",
"quantity": 0,
"trade_count": 0,
"price_min": 0,
"price_avg": 0,
"price_max": 0,
"price_last": 0,
"volume_brl": 0
}
],
"meta": {
"next_cursor": "string",
"count": 0
}
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}