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 '{
  "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
isins
string[]
required

International Securities Identification Numbers of the bonds.

Response

200
application/json
Latest pricing data
data
object[]
required

List of response data objects per bond. Contains at most 1000 objects.

Response schema per bond.

total
integer
required

Total number of results in the database that match the query filters.