POST
/
api
/
v1
/
bond_pricing_history
curl --request POST \
  --url https://terrapinfinance.com/api/v1/bond_pricing_history \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "end_date": "2024-01-01",
  "isin": "XS1610682764",
  "start_date": "2023-12-01"
}'
{
  "data": [
    {
      "convexity": 3.20901,
      "date": "2023-12-02",
      "duration": 1.85875,
      "modified_duration": 2.10128,
      "price": 99.45,
      "yield_to_maturity": 3.32673
    },
    {
      "convexity": 3.10092,
      "date": "2023-12-19",
      "duration": 1.758,
      "modified_duration": 2.0789,
      "price": 100.33,
      "yield_to_maturity": 3.34231
    }
  ],
  "total": 2
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Pricing history data

The response is of type object.