> ## Documentation Index
> Fetch the complete documentation index at: https://docs.terrapinfinance.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to Terrapin

> The modern fixed-income data API.

[Terrapin](https://terrapinfinance.com) is a modern fixed-income data company, providing access to reference and pricing data, as well as official statements and disclosure documents.

## Coverage

| Universe | Approx. coverage | Endpoint prefix |
| - | - | - |
| Fixed income securities | government, corporate and US agency bonds | `/api/v1/securities_*` |
| US municipal securities | \~1.2 million bonds | `/api/v1/muni_*` |

## How endpoints are named

Endpoints follow a `{universe}_{data_type}` convention (`securities`, `muni`, and the deprecated `bond` and `agency` prefixes). Each universe exposes the same core data types plus a few that are specific to that market.

### Common data types

* `search`: find bonds matching filters (maturity, coupon, country, rating, etc.). Returns a compact set of fields.
* `reference`: full reference data for a list of ISINs.
* `pricing_latest`: most recent price for each ISIN.
* `pricing_history`: historical price series.
* `cashflows`: projected interest and principal schedules.

### Universe-specific endpoints

Government yield curves:

* `government_yield_curve` for government par, zero, and benchmark yield curves by region and date.

Inflation factors:

* `inflation_factors` for inflation-linked sovereigns. See [Inflation factors](https://docs.terrapinfinance.com/inflation_factors.md).

US municipal additionally exposes:

* `entity_search`: search by issuer or obligor.
* `documents`: retrieve official statement and disclosure document keys (which can be downloaded with `/api/v1/download_document`)
* `pricing_daily_history`: a full day of trades across every ISIN at once.
* `price_to_yield`: convert between price and yield.
* `bonds_in_series`: find sibling ISINs belonging to the same series.
* `events`: corporate action history (calls, defeasances, splits, consolidations, etc).

The use of funds taxonomy used in muni reference data is documented in [Use of Funds Taxonomy](https://docs.terrapinfinance.com/use_of_funds_taxonomy.md).

### Utilities

* `convert_to_isin`: resolve a list of 9-character US CUSIPs to ISINs. Inputs that aren't valid CUSIPs come back with `isin: null`. CUSIP is the only supported input type today.
* `download_document`: fetch the content of a document returned by `muni_documents`. Files can be retrieved as PDFs (as binary stream) or text files. Today only muni disclosure documents are supported.

## Authentication, limits, errors

All endpoints require a bearer token. See [Authentication](https://docs.terrapinfinance.com/authentication.md) and [Rate limits & quotas](https://docs.terrapinfinance.com/rate-limits-and-quotas.md). Error responses use the envelope described in [Errors](https://docs.terrapinfinance.com/errors.md).

## MCP access

The same API is also available as an MCP server for Claude and ChatGPT. See [MCP access](https://docs.terrapinfinance.com/mcp/introduction.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.