POST
/
api
/
v1
/
bond_pricing_latest
curl --request POST \
  --url https://terrapinfinance.com/api/v1/bond_pricing_latest \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "as_of_date": "2024-07-17",
  "isins": [
    "XS1610682764"
  ]
}'
{
  "data": [
    {
      "date": "2024-07-17",
      "duration": 1.38783,
      "isin": "XS1610682764",
      "price": 99.21,
      "yield_to_maturity": 3.60638
    }
  ],
  "total": 1
}

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

Latest pricing data

The response is of type object.