Rates reference
rates_referenceUse when an agent needs an official interest-rate benchmark with its date and source: SOFR (NY Fed), euro short-term rate (ECB, series=estr) or US Treasury par yield curve (series=ust, default 10y). Returns the paid x402 request for your input (GET /rates/reference, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Interest and yield rates only; for euro exchange rates use eu_fx. First call each day returns the data itself, free; later calls return the paid request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"series": "<series>"
},
"name": "rates_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional YYYY-MM-DD: the latest observation on or before this date (default: latest) | |
| tenor | No | series=ust only: maturity (1m ... 30y) | 10y |
| series | Yes | sofr (NY Fed overnight rate), estr (ECB euro short-term rate), ust (US Treasury par yield curve; pick maturity with tenor) |