Preço Unitário (PU)

Listagem do histórico de preços unitários de uma série

GEThttps://operacoes.vert-capital.com/api/public/{version}/series/{id}/unit_prices
Path parameters
id*string
version*string
Query parameters
Response
Body
count*integer
nextnullable string (uri)
previousnullable string (uri)
results*array of UnitPriceSerializerV1 (object)
Request
const response = await fetch('https://operacoes.vert-capital.com/api/public/{version}/series/{id}/unit_prices', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "next": "https://example.com",
  "previous": "https://example.com",
  "results": [
    {
      "date": "2024-11-21",
      "opening_nominal_value": "text",
      "closing_nominal_value": "text",
      "opening_interest": "text",
      "closing_interest": "text",
      "amortization_payment": "text",
      "interest_payment": "text",
      "premium_payment": "text",
      "total_payment": "text",
      "opening_unit_price": "text",
      "unit_price": "text"
    }
  ]
}

Visualização do último preço unitário de uma série

GEThttps://operacoes.vert-capital.com/api/public/{version}/series/{id}/last-unit-price
Path parameters
id*integer

A unique integer value identifying this P.U..

version*string
Query parameters
Response
Body
serie_idSerie id
date*Data
unit_price*Unit price
Request
const response = await fetch('https://operacoes.vert-capital.com/api/public/{version}/series/{id}/last-unit-price', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "serie_id": "text",
    "date": "2024-11-21",
    "unit_price": "text"
  }
]

Atualizado