cURL
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": 0.21109, "date": "2023-12-22", "duration": 1.93499, "estimated_volume": 20000, "isin": "XS1610682764", "modified_duration": 1.85682, "price": 97.8, "yield_to_maturity": 4.2098 }, { "convexity": 0.19682, "date": "2023-12-18", "duration": 1.94584, "estimated_volume": 12000, "isin": "XS1610682764", "modified_duration": 1.86347, "price": 97.40597, "yield_to_maturity": 4.4202 } ], "total": 2 }
Get historical government and corporate bond pricing data for a given ISIN.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Pricing history data
The response is of type object.
object