Macro rates
Money-market rate indicators with latest value
GET
/openapi/v1/macro/ratesRefresh: Daily
Request Parameters
No parameters.
Request Example
curl "https://openapi.sosovalue.com/openapi/v1/macro/rates" \ -H "x-soso-api-key: $SOSO_API_KEY"
Response Example
[
{
"code": "sofr",
"name": "Secured Overnight Financing Rate (SOFR)",
"unit": "percent",
"latest_date": "2026-08-02",
"latest_value": "3.65"
},
{
"code": "on-rrp",
"name": "Overnight Reverse Repurchase Agreements (ON RRP)",
"unit": "usd",
"latest_date": "2026-08-02",
"latest_value": "2127000000"
}
]Response Fields
| Field | Type | Description |
|---|---|---|
| code | String | Short code to pass to the history endpoint |
| name | String | Full indicator name |
| unit | String | percent — the value is already a percentage ("3.65" = 3.65%) usd — a raw USD amount, which can reach tens of billions |
| latest_date | String | Most recent release date, yyyy-MM-dd (UTC) |
| latest_value | String | Most recent actual value |
Available codes
| code | Indicator | Unit |
|---|---|---|
sofr | Secured Overnight Financing Rate | percent |
tgcr | Tri-Party General Collateral Rate | percent |
bgcr | Broad General Collateral Rate | percent |
on-rrp | Overnight Reverse Repurchase Agreements | usd |
All four are updated daily on Federal Reserve Bank of New York publication days.
Notes
- Rows are newest first.
previousis therefore the value of the next element in the array. - Values are strings.
percentvalues are already percentages —"3.65"means 3.65%, do not multiply by 100. dateis the UTC date ofreleased_at. The publication clock time differs per indicator, so a value shown as August 3 on a UTC+8 display can carrydate: "2026-08-02"here. Join series ondatefrom this API, not on dates scraped from a localised page.- There is no forecast field. Unlike Macro Event History, money-market rates carry no market consensus estimate.
- Only releases with a published value are returned — scheduled-but-unpublished dates are excluded.
on-rrpis an amount, not a rate. Recent values range from roughly 3e7 to 2.7e10 USD, so it needs a different axis and formatter from the threepercentindicators. Parse it as an integer-valued decimal, not a float.
Example
# What rates are available curl -sS -H 'x-soso-api-key: YOUR_KEY' \ 'https://openapi.sosovalue.com/openapi/v1/macro/rates' # Last 30 SOFR releases curl -sS -H 'x-soso-api-key: YOUR_KEY' \ 'https://openapi.sosovalue.com/openapi/v1/macro/rates/sofr/history?limit=30' # Overnight reverse repo curl -sS -H 'x-soso-api-key: YOUR_KEY' \ 'https://openapi.sosovalue.com/openapi/v1/macro/rates/on-rrp/history?limit=30'