Field reference / macro rates

macro_treasury_yield_10y_pct

10-year Treasury par yield, in percent (4.25 = 4.25%), on the newest date published by the row's cutoff (weekly rows: the week's last session's) (U.S. Treasury daily par yield curve, never revised). Null when the newest value is more than 10 days old.

LevelMarket-wide, one value per date
Typenumber
Can be nullYes
Categorymacro rates
Returned by/v1/market, /v1/search

Getting it

Its latest value:

curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'fields=macro_treasury_yield_10y_pct' \ -H "Authorization: Bearer YOUR_API_KEY"

Its value on a date:

curl -G "https://api.tickerdb.com/v1/market" \ --data-urlencode 'date=2020-03-23' \ --data-urlencode 'fields=macro_treasury_yield_10y_pct' \ -H "Authorization: Bearer YOUR_API_KEY"

Every field, with its type and values, is also in /v1/schema/fields.