Skip to main content
List Treasury par yield curves

Overview

One object per business day with a field per tenor, in percent. A tenor that did not exist that day is absent: the 1-month bill starts in 2001, the 20-year bond returns in 1993, the 1.5-month bill starts in 2025.

Example

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

start_date
string<date>

The first date to return.

Maximum string length: 10
end_date
string<date>

The last date to return.

Maximum string length: 10
cursor
string

The cursor from a previous next_page_url. It replaces every other parameter.

Maximum string length: 4096
Pattern: ^[A-Za-z0-9_-]+$

Response

List Treasury par yield curves: one page.

The answer of GET /macro/yield-curve.

yield_curve
object[]
required

This page of Treasury par yield curves, in date order.

Maximum array length: 1000
next_page_url
string<uri>

The next page of Treasury par yield curves; absent on the last one.

Maximum string length: 6000
Example:

"https://api.darvas.app/v1/macro/yield-curve?cursor=eyJzZXJpZXMiOiIifQ"