---
title: "9fin 2.2 Instruments: from a story to the bond it is about"
description: "Go from a headline to the article, its issuer, and the exact tranche the piece discusses, with its ISIN and terms."
url: "https://console.9fin.com/guides/instruments-from-story-to-bond"
image: "https://console.9fin.com/_og/d/c_Ocean.takumi,title_~OWZpbiAyLjIgSW5zdHJ1bWVudHM6IGZyb20gYSBzdG9yeSB0byB0aGUgYm9uZCBpdCBpcyBhYm91dA,description_~R28gZnJvbSBhIGhlYWRsaW5lIHRvIHRoZSBhcnRpY2xlLCBpdHMgaXNzdWVyLCBhbmQgdGhlIGV4YWN0IHRyYW5jaGUgdGhlIHBpZWNlIGRpc2N1c3Nlcywgd2l0aCBpdHMgSVNJTiBhbmQgdGVybXMu,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiMwOTVDRUYifX19,p_Ii9ndWlkZXMvaW5zdHJ1bWVudHMtZnJvbS1zdG9yeS10by1ib25kIg,s_4szQPtV--1M4d5kU.png"
---

# 9fin 2.2 Instruments: from a story to the bond it is about

**APIs used in this notebook**

| API                         | Version | Endpoints                                                                      |
| :-------------------------- | :------ | :----------------------------------------------------------------------------- |
| News & Content v2           | 0.3.41  | GET /v2/news/headlinesGET /v2/news/{uuid}                                      |
| Instruments (Bonds & Loans) | 0.10.1  | GET /v0/instruments/bonds-and-loansGET /v0/instruments/bonds-and-loans/{nf_id} |

Before you start

Run [notebook 0.1](https://console.9fin.com/guides/authentication) 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.

A credit story names a company, and often a particular security. This notebook goes the whole way: a headline, the article, the issuer, and finally the single tranche the piece discusses, with its ISIN and terms.

## [How an article points at an instrument](#how-an-article-points-at-an-instrument)

Two different links, and they behave differently.

**To a company**, through the `entities` block. Always present, always resolved to an `nf_ent_...`. That is [notebook 1.1](https://console.9fin.com/guides/news-reading-an-article).

**To an instrument**, through a link inside the article text. When our editorial references a specific security it links it as a URL of the form:

```text
9fin.com/company/<Company>/instruments/<deal_id>-<tranche_seq>
```

Those last two values are the instrument's own `deal_id` and `tranche_seq`, the same pair you saw in [notebook 2.1](https://console.9fin.com/guides/instruments-bonds-and-loans). So the link is not decoration: it is a foreign key sitting in the prose, and matching it against the issuer's instruments identifies the exact tranche.

Not every article carries one. The reliable place to find them is the **Bond Legal QuickTake** tag, which marks covenant analysis of a specific bond offering memorandum, so the piece is written about one instrument by definition.

The issuer comes off the article itself, so no Entity call is needed. If you hold Bonds and Loans without News, [notebook 2.1](https://console.9fin.com/guides/instruments-bonds-and-loans) reaches the same records without a story.

```python
%run "9fin 0.1 Authentication - getting a token.ipynb"

import re
import pandas as pd

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

## [Finding articles that name a security](#finding-articles-that-name-a-security)

`9fin-Bond Legal QuickTake` is the sharpest filter in the catalogue for this. Across all content roughly three articles in ten carry a machine-readable instrument link; among these, most do. Not all, though, so the next step picks the first article that actually links one rather than assuming the newest does.

```python
heads = api_get("/v2/news/headlines", content_tags__in="9fin-Bond Legal QuickTake",
                source_type="9fin", limit=10)["items"]

pd.DataFrame([{"published": h["published_at"][:10], "issuer": (h["entities"].get("main") or {}).get("name"),
               "title": h["title"][:62]} for h in heads])
```

_Sample output, captured October 2026. Static snapshot, not live data._

| published  | issuer             | title                                                          |
| :--------- | :----------------- | :------------------------------------------------------------- |
| 2026-10-28 | Solaris Energy     | Solaris Energy — Bond Legal QuickTake (Indenture dated 1 Octob |
| 2026-10-28 | Intrum Justitia    | Intrum — Bond Legal QuickTake (Prelim dated July 6 2026) (9fin |
| 2026-09-24 | Intertek           | Intertek — Bond Legal QuickTake (Final OM dated 25 September 2 |
| 2026-10-27 | Bending Spoons     | Bending Spoons — Bond Legal QuickTake (Prelim dated 27 October |
| 2026-10-27 | Bison Oil & Gas    | Bison Oil & Gas — Bond Legal QuickTake (Prelim OM dated 26 Oct |
| 2026-10-26 | Recordati          | Recordati — Bond Legal QuickTake (Prelim dated 26 October 2026 |
| 2026-01-23 | Asurion            | Asurion — Bond Legal QuickTake (Prelim OM dated 22 Jan 2026)(9 |
| 2026-10-21 | Radiology Partners | Radiology Partners — Bond Legal QuickTake (Prelim OM dated 20  |
| 2026-10-20 | AmWINS Group       | AmWINS Group — Bond Legal QuickTake (Prelim OM dated 20 Oct 20 |
| 2026-09-25 | InPost             | InPost — Bond Legal QuickTake (Final OM dated 1 Oct 2026) (9fi |

The link is an inline reference to an instrument record, which looks like `9fin.com/company/<Company>/instruments/<deal_id>-<tranche_seq>` in the markdown body. One regular expression finds it, and the same expression chooses an article worth following.

```python
LINK = re.compile(r"9fin\.com/company/[^/]+/instruments/([\w]+)-(\d+)")
```

```python

bodies = (api_get(f"/v2/news/{h['uuid']}") for h in heads)
article = next(a for a in bodies if LINK.search(a["content"]["body"]))

article["title"]
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
'Intrum — Bond Legal QuickTake (Prelim dated July 6 2026) (9fin)'
```

## [Pulling the instrument link out of the text](#pulling-the-instrument-link-out-of-the-text)

Running the expression over the body returns the `deal_id` and `tranche_seq` of everything the article links. Those two values together are the instrument's permalink.

```python
linked = {(deal, int(seq)) for deal, seq in LINK.findall(article["content"]["body"])}

linked
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
{('urd8Jkpc', 1)}
```

## [Who the article is about](#who-the-article-is-about)

The `entities` block gives the issuer without any name matching.

```python
issuer = article["entities"]["main"]

issuer
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
{'nf_id': 'nf_ent_fb3f227790cc45e5aeebf24733626ad3',
 'name': 'Intrum Justitia',
 'country_code': 'SE'}
```

## [Matching the link to a record](#matching-the-link-to-a-record)

Now the two halves meet. Pull the issuer's instruments and keep the ones whose `deal_id` and `tranche_seq` match what the article linked.

```python
held = api_get(BONDS, entity_nf_id__eq=issuer["nf_id"], limit=200)["items"]

len(held)
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
28
```

```python
matched = [i for i in held if (i["deal_id"], i["tranche_seq"]) in linked]

pd.DataFrame(matched)[["nf_id", "instrument_type", "currency_ref_code", "amount",
                       "coupon", "maturity", "debt_security_ref_name"]]
```

_Sample output, captured October 2026. Static snapshot, not live data._

| nf_id                                   | instrument_type | currency_ref_code | amount              | coupon      | maturity   | debt_security_ref_name |
| :-------------------------------------- | :-------------- | :---------------- | :------------------ | :---------- | :--------- | :--------------------- |
| nf_ins_951c76e9aae94446a4b1efef979b2e09 | Bond            | EUR               | 525000000.000000000 | 7.000000000 | 2031-07-15 | Senior Secured Notes   |

That is the descent finished: a headline became a specific security, and nothing along the way was matched on a name.

## [The tranche in full](#the-tranche-in-full)

The matched `nf_id` has its own endpoint, exactly as in [notebook 2.1](https://console.9fin.com/guides/instruments-bonds-and-loans).

```python
bond = api_get(f"{BONDS}/{matched[0]['nf_id']}")

{k: bond[k] for k in ["debt_security_ref_name", "currency_ref_code", "amount", "coupon",
                      "benchmark", "issue_date", "maturity", "instrument_status_name", "grade"]}
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
{'debt_security_ref_name': 'Senior Secured Notes',
 'currency_ref_code': 'EUR',
 'amount': '525000000.000000000',
 'coupon': '7.000000000',
 'benchmark': None,
 'issue_date': '2026-07-24',
 'maturity': '2031-07-15',
 'instrument_status_name': 'Priced',
 'grade': ['HY']}
```

```python
{k: bond[k] for k in ["reg_144a_isin", "reg_s_isin", "other_isin", "deal_id", "tranche_seq"]}
```

_Sample output, captured October 2026. Static snapshot, not live data._

```text
{'reg_144a_isin': 'XS3438545017',
 'reg_s_isin': 'XS3438544630',
 'other_isin': None,
 'deal_id': 'urd8Jkpc',
 'tranche_seq': 1}
```

If the ISINs come back empty, look at `instrument_status_name`. A Bond Legal QuickTake often covers a **preliminary** offering memorandum, so the deal is still in market and no ISIN has been assigned yet. The same record fills in once it prices.

## [Doing it across a set of articles](#doing-it-across-a-set-of-articles)

The same four steps, wrapped once, so you can run it over a feed rather than a single story.

```python
def instruments_in(article):
    """The instrument records an article links inline."""
    linked = {(d, int(s)) for d, s in LINK.findall(article["content"]["body"])}
    if not linked or not article["entities"].get("main"):
        return []
    held = api_get(BONDS, entity_nf_id__eq=article["entities"]["main"]["nf_id"], limit=200)["items"]
    return [i for i in held if (i["deal_id"], i["tranche_seq"]) in linked]
```

```python
rows = []
for head in heads[:6]:
    full = api_get(f"/v2/news/{head['uuid']}")
    for instrument in instruments_in(full):
        rows.append({"article": full["title"][:44], "type": instrument["instrument_type"],
                     "currency": instrument["currency_ref_code"], "maturity": instrument["maturity"],
                     "isin": instrument["reg_144a_isin"] or instrument["reg_s_isin"] or instrument["other_isin"]})

pd.DataFrame(rows)
```

_Sample output, captured October 2026. Static snapshot, not live data._

| article                                      | type | currency | maturity   | isin         |
| :------------------------------------------- | :--- | :------- | :--------- | :----------- |
| Intrum — Bond Legal QuickTake (Prelim dated  | Bond | EUR      | 2031-07-15 | XS3438545017 |
| Bending Spoons — Bond Legal QuickTake (Preli | Bond | USD      | 2032-01-31 | US081933AA18 |
| Bending Spoons — Bond Legal QuickTake (Preli | Bond | EUR      | 2032-01-31 | XS3548829228 |

## [The descent, step by step](#the-descent-step-by-step)

| Step                          | Call                                                               |
| :---------------------------- | :----------------------------------------------------------------- |
| find stories about a security | /v2/news/headlines with content_tags__in=9fin-Bond Legal QuickTake |
| read one                      | /v2/news/{uuid}                                                    |
| the issuer                    | the article's entities.main.nf_id                                  |
| the issuer's debt             | /v0/instruments/bonds-and-loans?entity_nf_id__eq=...               |
| the exact tranche             | match deal_id and tranche_seq against the article's links          |

`deal_id` with `tranche_seq` is a foreign key that travels outside the Instruments API, into the text of the journalism.

**[Notebook 2.3](https://console.9fin.com/guides/instruments-news-linked-to-bonds)** measures how far this goes: what share of a year of articles can be tied to an instrument this way, and which tags are worth filtering on.

---

← Previous guide

2.1 Instruments: bonds and loans

<https://console.9fin.com/guides/instruments-bonds-and-loans>

Next guide →

2.3 Instruments: how much of the news links to a bond

<https://console.9fin.com/guides/instruments-news-linked-to-bonds>