---
title: "Treasury yield curve + HY/IG credit spreads"
method: GET
path: "/api/fred"
tags: ["Macro"]
---

# Treasury yield curve + HY/IG credit spreads

`GET /api/fred`

## Request

- Base URL: `https://www.oxfordledge.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.oxfordledge.com/api/fred`
- Auth: none declared

Macro data: Treasury yields + FRED credit spreads.

## Response `200`

Successful Response

- FredSeriesPoint[]
  - `series` string, nullable
  - `name` string, nullable
  - `value` number, nullable
  - `date` string, nullable
  - `ytdChange` number, nullable
  - `_source` string, nullable
  - `_fetched_at` string, nullable

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
