---
title: "Yield Curve & Credit Spreads"
method: GET
path: "/v1/macro/spreads"
tags: ["Macro Economics"]
---

# Yield Curve & Credit Spreads

`GET /v1/macro/spreads`

## Request

- Base URL: `https://api.blocklens.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.blocklens.co/v1/macro/spreads`
- Auth: none declared

10Y-2Y spread, 10Y-3M spread (recession indicators) and BofA US High Yield Index OAS. All in percent.

## Query parameters

- `from_date` string, date, nullable: Start date (YYYY-MM-DD)
- `to_date` string, date, nullable: End date (YYYY-MM-DD)
- `limit` integer: Number of records to return

## Response `200`

Successful Response

- ApiResponse: Standard API response model
  - `success` boolean, required
  - `data` unknown, required
  - `message` string, nullable
  - `count` integer, nullable
  - `timestamp` string, date-time

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/blocklens/apis/blocklens-on-chain-api.md) · [All operations](https://skmtc.dev/blocklens/apis/blocklens-on-chain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blocklens/apis/blocklens-on-chain-api/revisions/dacc02ae0f9a?raw)
