DataBolsa docs
Referência da APIDados de mercadoRenda fixa

Leilões primários da dívida pública federal (2000+)

Resultado leilão a leilão: ofertado × aceito, taxa de corte, financeiro e segunda volta. `bid_to_cover` = aceito/ofertado. Mais recente primeiro.

GET
/v1/bonds/tesouro/auctions
AuthorizationBearer <token>

In: header

Query Parameters

cursor?string
limit?integer
Default100
Range1 <= value <= 1000
type?string

Tipo do título: LTN, LFT, NTN-B, NTN-F…

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/bonds/tesouro/auctions?cursor=string&limit=100&type=string&from=string&to=string"
{
  "data": [
    {
      "auction_date": "string",
      "bond_type": "string",
      "maturity_date": "string",
      "offered_qty": 0,
      "accepted_qty": 0,
      "cut_rate_pct": 0,
      "avg_rate_pct": 0,
      "financial_brl": 0,
      "second_round_qty": 0,
      "bid_to_cover": 0
    }
  ],
  "meta": {
    "next_cursor": "string",
    "count": 0
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}