Corporate, government and certificate of deposit reference
curl --request POST \
--url https://terrapinfinance.com/api/v1/securities_reference \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"isins": [
"XS2724510792"
]
}
'import requests
url = "https://terrapinfinance.com/api/v1/securities_reference"
payload = { "isins": ["XS2724510792"] }
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({isins: ['XS2724510792']})
};
fetch('https://terrapinfinance.com/api/v1/securities_reference', 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_reference",
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([
'isins' => [
'XS2724510792'
]
]),
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_reference"
payload := strings.NewReader("{\n \"isins\": [\n \"XS2724510792\"\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_reference")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"isins\": [\n \"XS2724510792\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://terrapinfinance.com/api/v1/securities_reference")
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 \"isins\": [\n \"XS2724510792\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"alternative_names": null,
"asset_class": "corporate",
"cfi_code": "DTFUFB",
"composite_issue_rating": "BBB+",
"composite_issuer_rating": "BBB",
"country": "Greece",
"country_code": "GR",
"coupon_frequency": 1,
"coupon_payment_day": 28,
"coupon_payment_months": [
11
],
"currency": "EUR",
"figi": "BBG01K89S0G8",
"figi_name": "EUROBANK SA",
"first_call_date": "2028-11-28",
"first_interest_payment_date": "2024-11-28",
"first_trade_date": "2023-11-28",
"guarantee": "unsecured",
"industry_group": "banks",
"integral_multiple": 100000,
"interest_accrual_convention": "act/act (ICMA)",
"interest_accrual_date": "2023-11-28",
"interest_payment_schedule": [],
"interest_rate": 5.875,
"interest_rate_schedule": [],
"interest_type": "variable rate",
"is_144a": true,
"is_callable": true,
"is_complete_bond": true,
"is_covered": false,
"is_green": null,
"is_outstanding": true,
"is_puttable": false,
"is_regs": true,
"isin": "XS2724510792",
"issuance_settlement_days": 3,
"issue_date": "2023-11-28",
"issue_price": 100,
"issue_rating_group": "investment_grade",
"issue_yield": 5.875,
"issued_amount": 500000000,
"issuer_name": "EUROBANK SA",
"issuer_rating_group": "investment_grade",
"issuer_type": "corporate",
"lei": "213800KGF4EFNUQKAT69",
"lei_direct_parent": "JEUVK5RWVJEN8W0C9M24",
"lei_ultimate_parent": "JEUVK5RWVJEN8W0C9M24",
"lt_issue_ratings": null,
"lt_issuer_ratings": null,
"maturity_date": "2029-11-28",
"maturity_type": "fixed",
"minimum_denomination": 100000,
"name": "EUROBANK SA FRN 2029",
"next_call_date": "2028-11-28",
"next_call_price": 100,
"next_coupon_date": "2026-11-28",
"odd_first_coupon": "regular",
"odd_last_coupon": "regular",
"optional_redemption_schedule": [],
"previous_coupon_date": "2025-11-28",
"registration_type": "bearer",
"sector": "financials",
"security_type": "bond",
"seniority": "senior",
"st_issue_ratings": null,
"st_issuer_ratings": null,
"ticker": "EUROB V5.875 11/28/29 EMTN",
"validation_errors": []
},
{
"alternative_names": null,
"asset_class": "gov",
"cfi_code": "DBFTFR",
"composite_issue_rating": "AAA",
"composite_issuer_rating": null,
"country": "United States of America",
"country_code": "US",
"coupon_frequency": 2,
"coupon_payment_day": 15,
"coupon_payment_months": [
5,
11
],
"currency": "USD",
"figi": "BBG01MPC8XR6",
"figi_name": null,
"first_call_date": null,
"first_interest_payment_date": "2024-11-15",
"first_trade_date": null,
"guarantee": null,
"industry_group": "public",
"integral_multiple": 100,
"interest_accrual_convention": "act/act",
"interest_accrual_date": "2024-05-15",
"interest_payment_schedule": [],
"interest_rate": 4.625,
"interest_rate_schedule": [],
"interest_type": "fixed rate",
"is_144a": null,
"is_callable": false,
"is_complete_bond": true,
"is_covered": false,
"is_green": false,
"is_outstanding": true,
"is_puttable": false,
"is_regs": null,
"isin": "US912810UA42",
"issuance_settlement_days": null,
"issue_date": "2024-05-15",
"issue_price": null,
"issue_rating_group": "investment_grade",
"issue_yield": null,
"issued_amount": 76428289300,
"issuer_name": "UNITED STATES DEPARTMENT OF THE TREASURY",
"issuer_rating_group": null,
"issuer_type": "government",
"lei": "254900HROIFWPRGM1V77",
"lei_direct_parent": null,
"lei_ultimate_parent": null,
"lt_issue_ratings": {
"moodys": "Aaa"
},
"lt_issuer_ratings": null,
"maturity_date": "2054-05-15",
"maturity_type": "fixed",
"minimum_denomination": 100,
"name": "UNITED STATES DEPARTMENT OF THE TREASURY 4.625% 2054",
"next_call_date": null,
"next_call_price": null,
"next_coupon_date": "2026-11-15",
"odd_first_coupon": "regular",
"odd_last_coupon": "regular",
"optional_redemption_schedule": null,
"previous_coupon_date": "2026-05-15",
"registration_type": "registered",
"sector": "public",
"security_type": "bond",
"seniority": "SNDB",
"st_issue_ratings": null,
"st_issuer_ratings": null,
"ticker": "T 4.75 05/15/54",
"validation_errors": []
}
],
"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>"
}
]
}Expanded government & corporate bonds (preview)
Reference Data
Get full corporate, government bond and certificate of deposit reference data for given ISINs.
POST
/
api
/
v1
/
securities_reference
Corporate, government and certificate of deposit reference
curl --request POST \
--url https://terrapinfinance.com/api/v1/securities_reference \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"isins": [
"XS2724510792"
]
}
'import requests
url = "https://terrapinfinance.com/api/v1/securities_reference"
payload = { "isins": ["XS2724510792"] }
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({isins: ['XS2724510792']})
};
fetch('https://terrapinfinance.com/api/v1/securities_reference', 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_reference",
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([
'isins' => [
'XS2724510792'
]
]),
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_reference"
payload := strings.NewReader("{\n \"isins\": [\n \"XS2724510792\"\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_reference")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"isins\": [\n \"XS2724510792\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://terrapinfinance.com/api/v1/securities_reference")
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 \"isins\": [\n \"XS2724510792\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"alternative_names": null,
"asset_class": "corporate",
"cfi_code": "DTFUFB",
"composite_issue_rating": "BBB+",
"composite_issuer_rating": "BBB",
"country": "Greece",
"country_code": "GR",
"coupon_frequency": 1,
"coupon_payment_day": 28,
"coupon_payment_months": [
11
],
"currency": "EUR",
"figi": "BBG01K89S0G8",
"figi_name": "EUROBANK SA",
"first_call_date": "2028-11-28",
"first_interest_payment_date": "2024-11-28",
"first_trade_date": "2023-11-28",
"guarantee": "unsecured",
"industry_group": "banks",
"integral_multiple": 100000,
"interest_accrual_convention": "act/act (ICMA)",
"interest_accrual_date": "2023-11-28",
"interest_payment_schedule": [],
"interest_rate": 5.875,
"interest_rate_schedule": [],
"interest_type": "variable rate",
"is_144a": true,
"is_callable": true,
"is_complete_bond": true,
"is_covered": false,
"is_green": null,
"is_outstanding": true,
"is_puttable": false,
"is_regs": true,
"isin": "XS2724510792",
"issuance_settlement_days": 3,
"issue_date": "2023-11-28",
"issue_price": 100,
"issue_rating_group": "investment_grade",
"issue_yield": 5.875,
"issued_amount": 500000000,
"issuer_name": "EUROBANK SA",
"issuer_rating_group": "investment_grade",
"issuer_type": "corporate",
"lei": "213800KGF4EFNUQKAT69",
"lei_direct_parent": "JEUVK5RWVJEN8W0C9M24",
"lei_ultimate_parent": "JEUVK5RWVJEN8W0C9M24",
"lt_issue_ratings": null,
"lt_issuer_ratings": null,
"maturity_date": "2029-11-28",
"maturity_type": "fixed",
"minimum_denomination": 100000,
"name": "EUROBANK SA FRN 2029",
"next_call_date": "2028-11-28",
"next_call_price": 100,
"next_coupon_date": "2026-11-28",
"odd_first_coupon": "regular",
"odd_last_coupon": "regular",
"optional_redemption_schedule": [],
"previous_coupon_date": "2025-11-28",
"registration_type": "bearer",
"sector": "financials",
"security_type": "bond",
"seniority": "senior",
"st_issue_ratings": null,
"st_issuer_ratings": null,
"ticker": "EUROB V5.875 11/28/29 EMTN",
"validation_errors": []
},
{
"alternative_names": null,
"asset_class": "gov",
"cfi_code": "DBFTFR",
"composite_issue_rating": "AAA",
"composite_issuer_rating": null,
"country": "United States of America",
"country_code": "US",
"coupon_frequency": 2,
"coupon_payment_day": 15,
"coupon_payment_months": [
5,
11
],
"currency": "USD",
"figi": "BBG01MPC8XR6",
"figi_name": null,
"first_call_date": null,
"first_interest_payment_date": "2024-11-15",
"first_trade_date": null,
"guarantee": null,
"industry_group": "public",
"integral_multiple": 100,
"interest_accrual_convention": "act/act",
"interest_accrual_date": "2024-05-15",
"interest_payment_schedule": [],
"interest_rate": 4.625,
"interest_rate_schedule": [],
"interest_type": "fixed rate",
"is_144a": null,
"is_callable": false,
"is_complete_bond": true,
"is_covered": false,
"is_green": false,
"is_outstanding": true,
"is_puttable": false,
"is_regs": null,
"isin": "US912810UA42",
"issuance_settlement_days": null,
"issue_date": "2024-05-15",
"issue_price": null,
"issue_rating_group": "investment_grade",
"issue_yield": null,
"issued_amount": 76428289300,
"issuer_name": "UNITED STATES DEPARTMENT OF THE TREASURY",
"issuer_rating_group": null,
"issuer_type": "government",
"lei": "254900HROIFWPRGM1V77",
"lei_direct_parent": null,
"lei_ultimate_parent": null,
"lt_issue_ratings": {
"moodys": "Aaa"
},
"lt_issuer_ratings": null,
"maturity_date": "2054-05-15",
"maturity_type": "fixed",
"minimum_denomination": 100,
"name": "UNITED STATES DEPARTMENT OF THE TREASURY 4.625% 2054",
"next_call_date": null,
"next_call_price": null,
"next_coupon_date": "2026-11-15",
"odd_first_coupon": "regular",
"odd_last_coupon": "regular",
"optional_redemption_schedule": null,
"previous_coupon_date": "2026-05-15",
"registration_type": "registered",
"sector": "public",
"security_type": "bond",
"seniority": "SNDB",
"st_issue_ratings": null,
"st_issuer_ratings": null,
"ticker": "T 4.75 05/15/54",
"validation_errors": []
}
],
"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:
12