curl --request POST \
--url https://terrapinfinance.com/api/v1/muni_pricing_history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"end_date": "2025-03-01",
"isin": "US1966324Q32",
"start_date": "2025-02-01"
}'
{
"data": [
{
"amount": 15000,
"brokers_broker_trade_type": null,
"is_alt_trading_system": false,
"is_list_offering_price": false,
"is_non_transaction_compensation": false,
"is_weighted_avg_price_trade": false,
"is_when_issued_trade": false,
"isin": "US1966324Q32",
"price": 113.45,
"settlement_date": "2025-02-24",
"trade_datetime": "2025-02-21T19:10:48",
"trade_type": "inter_dealer",
"ytc_continuous": 3.1926,
"ytc_money_market": null,
"ytc_semi_annual": 3.2182,
"ytm_continuous": 3.55388,
"ytm_money_market": null,
"ytm_semi_annual": 3.5856
},
{
"amount": 15000,
"brokers_broker_trade_type": null,
"is_alt_trading_system": false,
"is_list_offering_price": false,
"is_non_transaction_compensation": false,
"is_weighted_avg_price_trade": false,
"is_when_issued_trade": false,
"isin": "US1966324Q32",
"price": 113.45,
"settlement_date": "2025-02-24",
"trade_datetime": "2025-02-21T19:10:48",
"trade_type": "customer_sold",
"ytc_continuous": 3.1926,
"ytc_money_market": null,
"ytc_semi_annual": 3.2182,
"ytm_continuous": 3.55388,
"ytm_money_market": null,
"ytm_semi_annual": 3.5856
}
],
"total": 2
}
Get historical US municipal bond pricing data for a given ISIN.
curl --request POST \
--url https://terrapinfinance.com/api/v1/muni_pricing_history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"end_date": "2025-03-01",
"isin": "US1966324Q32",
"start_date": "2025-02-01"
}'
{
"data": [
{
"amount": 15000,
"brokers_broker_trade_type": null,
"is_alt_trading_system": false,
"is_list_offering_price": false,
"is_non_transaction_compensation": false,
"is_weighted_avg_price_trade": false,
"is_when_issued_trade": false,
"isin": "US1966324Q32",
"price": 113.45,
"settlement_date": "2025-02-24",
"trade_datetime": "2025-02-21T19:10:48",
"trade_type": "inter_dealer",
"ytc_continuous": 3.1926,
"ytc_money_market": null,
"ytc_semi_annual": 3.2182,
"ytm_continuous": 3.55388,
"ytm_money_market": null,
"ytm_semi_annual": 3.5856
},
{
"amount": 15000,
"brokers_broker_trade_type": null,
"is_alt_trading_system": false,
"is_list_offering_price": false,
"is_non_transaction_compensation": false,
"is_weighted_avg_price_trade": false,
"is_when_issued_trade": false,
"isin": "US1966324Q32",
"price": 113.45,
"settlement_date": "2025-02-24",
"trade_datetime": "2025-02-21T19:10:48",
"trade_type": "customer_sold",
"ytc_continuous": 3.1926,
"ytc_money_market": null,
"ytc_semi_annual": 3.2182,
"ytm_continuous": 3.55388,
"ytm_money_market": null,
"ytm_semi_annual": 3.5856
}
],
"total": 2
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Pricing history data
The response is of type object
.