9fin 2.1 Instruments: bonds and loans

APIs used in this notebook

APIVersionEndpoints
Entity0.5.7GET /v0/entity/{nf_id}
Instruments (Bonds & Loans)0.10.1GET /v0/instruments/bonds-and-loans
GET /v0/instruments/bonds-and-loans/{nf_id}
Before you start

Run notebook 0.1 first; it provides the access token and the api_get helper that every call below uses.

Sample output

Every output on this page is a static sample. The results below were captured from a live run in October 2026 and are reproduced here so the page reads without credentials. Figures, article titles, identifiers and API versions were current that day and will have moved on since. Run the notebook yourself for live data.

The Bonds and Loans API on its own. Screen the universe on the terms you care about, pull a single record in full, and follow any instrument back to the company that issued it.

What an instrument is

One tranche. Not a deal, not an issuer, but a single line of debt: this bond, this term loan. It has its own nf_ins_... identifier.

Tranches belong to deals. A record carries a deal_id and a tranche_seq, so the two tranches of a dual currency deal share the deal_id and differ by sequence. That pair matters beyond this API: when one of our articles links an instrument inline it uses exactly those two values, which is how notebook 2.2 gets from a story to a security.

The issuer is a reference, not a name. Every record carries entity_nf_id, so an instrument always leads to a company and a company always leads to its debt stack.

The fields you will filter on most:

Field
instrument_typeBond or Loan
instrument_status_namePriced, In market, Pulled. Where the line is in its life
gradea list, because a record can be classified more than one way: IG, HY, LL, NR
redeemedwhether it is still outstanding
benchmarkFIXED, or the floating rate reference such as EURIBOR or SOFR
reg_144a_isin, reg_s_isin, other_isinISINs, by placement. Same pattern for FIGIs
%run "9fin 0.1 Authentication - getting a token.ipynb"

import pandas as pd

BONDS = "/v0/instruments/bonds-and-loans"
pd.set_option("display.max_colwidth", 120)

One record, to see the whole shape:

api_get(BONDS, limit=1)["items"][0]

Thirty one fields. Both endpoints return the same ones, so choosing between them is about access pattern rather than depth: filter to find, fetch by id to follow.

What you can filter and sort on

The same field__operator convention as the Entity API, and the filters combine.

FieldOperators
instrument_type, debt_security_ref_name, currency_ref_code, country_ref_namecontains, eq, in, isnull, neq
entity_nf_idcontains, eq, in, isnull, neq
reg_144a_isin, reg_s_isin, other_isincontains, eq, in, isnull, neq
amount, couponeq, gt, gte, in, isnull, lt, lte, neq
maturity, issue_date, price_dateeq, gt, gte, in, isnull, lt, lte, neq
gradecontains, isnull
redeemedeq, isnull, neq

sort_by takes field__asc or field__desc. Pages are up to 200.

grade takes contains rather than eq, because it is a list.

Screening on terms

A maturity wall: dollar investment grade bonds of half a billion or more, still outstanding, due between 2030 and 2032, soonest first.

screen = api_get(BONDS, instrument_type__eq="Bond", currency_ref_code__eq="USD",
                 grade__contains="IG", redeemed__eq="false", amount__gte=500_000_000,
                 maturity__gte="2030-01-01", maturity__lt="2033-01-01",
                 sort_by="maturity__asc", limit=10)

pd.DataFrame(screen["items"])[["currency_ref_code", "amount", "coupon", "maturity",
                               "debt_security_ref_name", "entity_nf_id"]]

Sample output, captured October 2026. Static snapshot, not live data.

currency_ref_codeamountcouponmaturitydebt_security_ref_nameentity_nf_id
USD750000000.0000000006.8480000002030-01-03Senior Notesnf_ent_ba9878b7c08746ac838c8274d333fbe4
USD750000000.0000000005.3800000002030-01-07Senior Notesnf_ent_3dbfbccd799f4fa7aaea4112cf081b3d
USD1200000000.0000000005.3500000002030-01-07Senior Notesnf_ent_1fa0c624b54e4becb7780a82fad3a88c
USD800000000.0000000005.3000000002030-01-08Senior Notesnf_ent_3b11d1c2df9b47f5b67b239bf4ecf470
USD700000000.0000000004.9500000002030-01-09Senior Notesnf_ent_b2756c44c05345edb376456bae8b4e21
USD2500000000.0000000004.2380000002030-01-09Senior Notesnf_ent_b417ec0530774691a0914165bb1c911c
USD600000000.0000000005.2500000002030-01-09Senior Notesnf_ent_369343ae1e9c4ba98ba66b47b9cb8d9c
USD750000000.0000000000.8000000002030-01-09Senior FRNsnf_ent_b417ec0530774691a0914165bb1c911c
USD1250000000.0000000005.1250000002030-01-09Senior Notesnf_ent_f1601142c9a74195a6560d3022f2f21e
USD1000000000.0000000006.1740000002030-01-09Senior Notesnf_ent_fcfc1ad159744d52b184fe743f79aae5

Amounts come back as full numbers rather than millions, and coupons as percentages.

Change the question and only the filters change. The same screen in euros, floating rather than fixed:

floating = api_get(BONDS, instrument_type__eq="Bond", currency_ref_code__eq="EUR",
                   redeemed__eq="false", benchmark__neq="FIXED", benchmark__isnull="false",
                   sort_by="maturity__asc", limit=5)

pd.DataFrame(floating["items"])[["amount", "coupon", "benchmark", "maturity", "debt_security_ref_name"]]

Sample output, captured October 2026. Static snapshot, not live data.

amountcouponbenchmarkmaturitydebt_security_ref_name
750000000.0000000000.590000000EURIBOR2026-11-03Senior Preferred Notes
1500000000.0000000000.400000000EURIBOR2026-11-04Senior FRNs
150000000.0000000002.300000000EURIBOR2026-11-23Senior Preferred Notes
1500000000.0000000000.700000000EURIBOR2026-11-26Senior Non-Preferred Notes
850000000.0000000000.450000000E2026-11-28Senior FRNs

A company's whole debt stack

If you arrive from notebook 0.2 holding an nf_ent_..., one filter gives you everything we have for that issuer.

INEOS = "nf_ent_48a73557382f4c398ac5e6990bbbc8a8"

held = api_get(BONDS, entity_nf_id__eq=INEOS, sort_by="maturity__asc", limit=200)["items"]
len(held)

Sample output, captured October 2026. Static snapshot, not live data.

72
pd.DataFrame(held).groupby(["instrument_type", "redeemed"]).size()

Sample output, captured October 2026. Static snapshot, not live data.

instrument_type  redeemed
Bond             False        7
                 True        18
Loan             False       11
                 True        36
dtype: int64

Only the outstanding lines:

pd.DataFrame([i for i in held if not i["redeemed"]])[
    ["instrument_type", "currency_ref_code", "amount", "coupon", "maturity", "debt_security_ref_name"]].head(8)

Sample output, captured October 2026. Static snapshot, not live data.

instrument_typecurrency_ref_codeamountcouponmaturitydebt_security_ref_name
BondEUR400000000.0000000006.6250000002028-05-15Senior Secured Notes
BondUSD425000000.0000000006.7500000002028-05-15Senior Secured Notes
LoanEUR350000000.0000000002.7500000002028-11-05Term Loan B
LoanUSD845000000.0000000002.5000000002028-11-05Term Loan B
BondUSD725000000.0000000007.5000000002029-04-15Senior Secured Notes
BondEUR850000000.0000000006.3750000002029-04-15Senior Secured Notes
LoanUSD1191000000.0000000003.2500000002030-02-13Term Loan B
LoanUSD1188000000.0000000003.2500000002030-02-13Term Loan B

One instrument in full

Every record carries an nf_id, and that id has an endpoint of its own.

with_isin = next(i for i in held if i["reg_144a_isin"] or i["reg_s_isin"] or i["other_isin"])
one = api_get(f"{BONDS}/{with_isin['nf_id']}")

{k: one[k] for k in ["nf_id", "debt_security_ref_name", "currency_ref_code", "amount",
                     "coupon", "maturity", "instrument_status_name", "grade", "purpose"]}

Sample output, captured October 2026. Static snapshot, not live data.

{'nf_id': 'nf_ins_a9bde44f6be14057a37afc85ab3a7abd',
 'debt_security_ref_name': 'Senior Secured Notes',
 'currency_ref_code': 'USD',
 'amount': '570000000.000000000',
 'coupon': '9.000000000',
 'maturity': '2015-05-15',
 'instrument_status_name': 'Priced',
 'grade': ['HY'],
 'purpose': ['Refinancing']}

And its identifiers, which is what you key your own systems on:

{k: one[k] for k in ["reg_144a_isin", "reg_s_isin", "other_isin",
                     "reg_144a_figi", "reg_s_figi", "other_figi", "deal_id", "tranche_seq"]}

Sample output, captured October 2026. Static snapshot, not live data.

{'reg_144a_isin': None,
 'reg_s_isin': 'XS0508553764',
 'other_isin': None,
 'reg_144a_figi': None,
 'reg_s_figi': 'BBG0000MFRT3',
 'other_figi': None,
 'deal_id': 'KvvbAQZL',
 'tranche_seq': 1}

Going the other way: instrument to issuer

entity_nf_id is on every record, so any instrument leads to its company and from there to everything else we hold.

issuers = {i["entity_nf_id"]: api_get(f"/v0/entity/{i['entity_nf_id']}") for i in screen["items"][:5]}

pd.DataFrame([{"issuer": issuers[i["entity_nf_id"]]["street_name"],
               "sector": issuers[i["entity_nf_id"]]["industry_1"],
               "country": issuers[i["entity_nf_id"]]["country_ref_name"],
               "maturity": i["maturity"]} for i in screen["items"][:5]])

Sample output, captured October 2026. Static snapshot, not live data.

issuersectorcountrymaturity
Ally FinancialFinancialsUnited States2030-01-03
Athene Global FundingFinancialsUnited States2030-01-07
General MotorsConsumer DiscretionaryUnited States2030-01-07
Hyundai Capital ServicesFinancialsSouth Korea2030-01-08
Toyota Financial ServicesFinancialsJapan2030-01-09

An ISIN works the same way, when that is what you hold:

by_isin = api_get(BONDS, reg_144a_isin__eq="US69362BBF85")["items"][0]

api_get(f"/v0/entity/{by_isin['entity_nf_id']}")["street_name"], by_isin["maturity"]

Sample output, captured October 2026. Static snapshot, not live data.

('Public Service Electric & Gas', '2031-09-15')

The four calls

CallGives you
GET /v0/instruments/bonds-and-loans with filtersa screen of the universe on any terms
the same, with entity_nf_id__eqone company's whole debt stack
GET /v0/instruments/bonds-and-loans/{nf_id}one tranche in full
GET /v0/entity/{entity_nf_id}the issuer behind any instrument

grade is a list, so filter it with contains. And deal_id with tranche_seq identifies a tranche across the platform, which is the subject of the next notebook.

Notebook 2.2 starts from a news story and descends to the instrument it discusses. Notebook 2.3 measures how much of the news corpus can be tied to an instrument that way.