Corporate and US agency latest end of day pricing data
curl --request POST \
--url https://terrapinfinance.com/api/v1/securities_pricing_latest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"as_of_date": "2026-05-12",
"isins": [
"US3133ETE294",
"US875127BL56"
]
}
'import requests
url = "https://terrapinfinance.com/api/v1/securities_pricing_latest"
payload = {
"as_of_date": "2026-05-12",
"isins": ["US3133ETE294", "US875127BL56"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({as_of_date: '2026-05-12', isins: ['US3133ETE294', 'US875127BL56']})
};
fetch('https://terrapinfinance.com/api/v1/securities_pricing_latest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://terrapinfinance.com/api/v1/securities_pricing_latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'as_of_date' => '2026-05-12',
'isins' => [
'US3133ETE294',
'US875127BL56'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://terrapinfinance.com/api/v1/securities_pricing_latest"
payload := strings.NewReader("{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://terrapinfinance.com/api/v1/securities_pricing_latest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://terrapinfinance.com/api/v1/securities_pricing_latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"estimated_volume": 4000,
"id": "6sBsIYX3FzkW7qo2H4gaJw",
"isin": "US3133ETE294",
"price": 98.728542,
"trade_datetime": "2026-05-12T22:32:21",
"ytc_continuous": 19.5888,
"ytc_money_market": 19.7442,
"ytc_semi_annual": null,
"ytm_continuous": 6.882,
"ytm_money_market": 6.9789,
"ytm_semi_annual": null
},
{
"estimated_volume": 700000,
"id": "UW3ga5-KjlIfTI6o3wxgOw",
"isin": "US875127BL56",
"price": 89.743,
"trade_datetime": "2026-05-12T00:00:01",
"ytc_continuous": 5.6885,
"ytc_money_market": null,
"ytc_semi_annual": 5.7701,
"ytm_continuous": 5.6817,
"ytm_money_market": null,
"ytm_semi_annual": 5.7631
}
],
"total": 2
}{
"errors": [
{
"detail": "Unauthorized",
"reason": "Your account tier does not allow this operation. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Payment Required",
"reason": "You have run out of your granted quota for this resource as defined by your account tier. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Forbidden",
"reason": "Your account tier does not allow this operation. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Invalid string. Got: integer",
"source": {
"pointer": "/isins/0"
},
"title": "Invalid value"
}
]
}{
"errors": [
{
"detail": "Too Many Requests",
"reason": "<string>"
}
]
}{
"errors": [
{
"detail": "Internal Server Error",
"reason": "<string>"
}
]
}Corporate bonds
Latest Pricing
Get the latest end of day corporate and US agency bond pricing data for a given set of ISINs.
POST
/
api
/
v1
/
securities_pricing_latest
Corporate and US agency latest end of day pricing data
curl --request POST \
--url https://terrapinfinance.com/api/v1/securities_pricing_latest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"as_of_date": "2026-05-12",
"isins": [
"US3133ETE294",
"US875127BL56"
]
}
'import requests
url = "https://terrapinfinance.com/api/v1/securities_pricing_latest"
payload = {
"as_of_date": "2026-05-12",
"isins": ["US3133ETE294", "US875127BL56"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({as_of_date: '2026-05-12', isins: ['US3133ETE294', 'US875127BL56']})
};
fetch('https://terrapinfinance.com/api/v1/securities_pricing_latest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://terrapinfinance.com/api/v1/securities_pricing_latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'as_of_date' => '2026-05-12',
'isins' => [
'US3133ETE294',
'US875127BL56'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://terrapinfinance.com/api/v1/securities_pricing_latest"
payload := strings.NewReader("{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://terrapinfinance.com/api/v1/securities_pricing_latest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://terrapinfinance.com/api/v1/securities_pricing_latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"as_of_date\": \"2026-05-12\",\n \"isins\": [\n \"US3133ETE294\",\n \"US875127BL56\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"estimated_volume": 4000,
"id": "6sBsIYX3FzkW7qo2H4gaJw",
"isin": "US3133ETE294",
"price": 98.728542,
"trade_datetime": "2026-05-12T22:32:21",
"ytc_continuous": 19.5888,
"ytc_money_market": 19.7442,
"ytc_semi_annual": null,
"ytm_continuous": 6.882,
"ytm_money_market": 6.9789,
"ytm_semi_annual": null
},
{
"estimated_volume": 700000,
"id": "UW3ga5-KjlIfTI6o3wxgOw",
"isin": "US875127BL56",
"price": 89.743,
"trade_datetime": "2026-05-12T00:00:01",
"ytc_continuous": 5.6885,
"ytc_money_market": null,
"ytc_semi_annual": 5.7701,
"ytm_continuous": 5.6817,
"ytm_money_market": null,
"ytm_semi_annual": 5.7631
}
],
"total": 2
}{
"errors": [
{
"detail": "Unauthorized",
"reason": "Your account tier does not allow this operation. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Payment Required",
"reason": "You have run out of your granted quota for this resource as defined by your account tier. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Forbidden",
"reason": "Your account tier does not allow this operation. Contact team@terrapinfinance.com for an upgrade."
}
]
}{
"errors": [
{
"detail": "Invalid string. Got: integer",
"source": {
"pointer": "/isins/0"
},
"title": "Invalid value"
}
]
}{
"errors": [
{
"detail": "Too Many Requests",
"reason": "<string>"
}
]
}{
"errors": [
{
"detail": "Internal Server Error",
"reason": "<string>"
}
]
}This endpoint is in preview and not yet fully production-ready. Its fields, behavior, and availability may change without notice.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
International Securities Identification Number (ISIN), unique 12-character code for the security.
Required string length:
12Set this date (in ISO-8601 format (YYYY-MM-DD)) to get the latest pricing data as of a specific date.
The cut-off is as_of_date 23:59:59 UTC, matched against the UTC trade_datetime.
When not set, the latest pricing data is returned.
⌘I
