> ## Documentation Index
> Fetch the complete documentation index at: https://octo-98895abd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# /v2/curves

> What does the rate curve look like? B3 reference curves, their history and vertices.

What does the rate curve look like? B3 reference curves, their history and vertices.

`GET /v2/curves` serves 4 kinds; the default is `snapshot`.
Every parameter, kind and default: `GET /v2/curves?help=all`.

## What it returns

| Kind | Returns | Operation page |
| - | - | - |
| `snapshot` (default) | api.curve: one curve on one session, shortest vertex first, fixed and moving vertices with rate\_basis. | [Latest yield curve](https://octo-98895abd.mintlify.site/api-docs/v2/operations/curves/snapshot.md) |
| `history` | api.curve\_history: one fixed vertex through time, oldest first. Refuses above 1000 rows: narrow from/to. | [Yield curve history](https://octo-98895abd.mintlify.site/api-docs/v2/operations/curves/history.md) |
| `vertices` | api.reference\_rate (a GET view): one curve's vertices on one session (business\_days, calendar\_days, rate\_pct as published). Paged with order + limit + offset; the default session is pinned in the cursor. | [Published curve vertices](https://octo-98895abd.mintlify.site/api-docs/v2/operations/curves/vertices.md) |
| `treasury` | api.treasury\_direct: Tesouro Direto posted morning buy and sell rates (% a year, as published) and PU per title, newest base date first. Quotes, not trades; a NULL price is a side not on sale. Every row carries source (Tesouro Nacional) and licence (ODbL-1.0): credit Tesouro Nacional when you reuse it. About 60 titles a base date. | [Tesouro Direto rates and prices](https://octo-98895abd.mintlify.site/api-docs/v2/operations/curves/treasury.md) |

## Main parameters

| Parameter | Default | Meaning |
| - | - | - |
| `kind` | snapshot | snapshot: one curve on one session, every vertex, with its rate basis. history: one fixed vertex through time. vertices: the raw reference-rate rows (api.reference\_rate) of one curve on one session. treasury: Tesouro Direto posted rates and prices per title, newest base date first (Tesouro Nacional, ODbL). |
| `curve` | PRE | PRE: DI x pre. DOC: the clean onshore dollar coupon. DPL: the clean IPCA coupon (a real rate). |
| `tenor` | 360 | kind history: the nominal tenor of one of B3's fixed vertices, in CALENDAR days (B3's vertex\_code: 1, 30, 60, 90, ... 360, 720, ... 10800). 360 is the one-year vertex. Any other tenor is refused with the list, never interpolated. |

With no `from`, a windowed kind reads the 12 months up to `to`.

## Tier limits

| Limit | Anonymous | Signed in | Pro |
| - | - | - | - |
| Rows per page (`limit` maximum) | 10 | 100 | 1,000 |
| Rows per call, across pages | 50 | 1,000 | no limit |
| Widest `from`..`to` on `history`, `treasury` | 3 months | 24 months | no limit |
| Requests per minute | 10 | 30 | 300 |

A call over a limit is refused or reports `meta.tier_cap_reached`; it is never cut silently. See [authentication](https://octo-98895abd.mintlify.site/api-docs/v2/authentication.md) for the tiers.

## Example call

```bash theme={null}
curl --request GET 'https://zcjbtpxuhdekpwcxmepn.supabase.co/functions/v1/silo-api/v2/curves/snapshot?limit=1' \
  --header "Authorization: Bearer $SILO_TOKEN"
```

The same resource in its generic form: `GET /v2/curves?curve=PRE`.

## Example response

Successful response from a Pro request on 2026-11-13. This excerpt omits fields and pagination links.

```json theme={null}
{
  "data": [
    {
      "trade_date": "2026-11-12",
      "curve": "PRE",
      "calendar_days": 1,
      "business_days": 1,
      "rate": 13.65
    }
  ],
  "meta": {
    "tier": "pro"
  }
}
```


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