cURL
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": [ { "convexity": 0.15703, "date": "2024-07-17", "duration": 1.38783, "isin": "XS1610682764", "modified_duration": 1.33952, "price": 99.21, "yield_to_maturity": 3.60638 } ], "total": 1 }
Get latest government and corporate bond pricing data for given ISINs.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Latest pricing data
The response is of type object.
object