yields_rate
Government yield at any tenor (e.g. 18M, 7Y, 12Y) for US, EA or MA, linearly interpolated between published points, with 1-month and 1-year-ago values. Price: $0.005 USDC per call, paid with x402 on Base.
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": {
"country": "<country>",
"tenor": "<tenor>"
},
"name": "yields_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenor | Yes | Tenor like 3M, 18M, 7Y or a number of years | |
| country | Yes | US, EA or MA |