Markets Macro
by Tanod utilpeek in Markets & finance
Use when an agent needs the rates backdrop before a market decision: Treasury yields, SOFR/EFFR, FX, oil and gas in one call. utilpeek (Tanod) macro snapshot in one call: US Treasury yield curve, ECB FX reference rates, a computed dollar-index proxy, EFFR/SOFR and oil/gas spot, each with source and as-of date.
POST https://tanod.dev/v1/markets/macro
Last 30 days
Status and outage history · Atom feed
- Uptime
- 100%
- Response time
- 1.0 s typical, 1.7 s slowest 5%
- Last check
- 19 min ago
- Next check
- in 13 min
How to call it
POST https://tanod.dev/v1/markets/macro
Each call costs $0.004 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://tanod.dev/v1/markets/macro
content-type: application/json
{}Example response
The provider's example. We can't check it without paying.
Example response, 152 lines
{
"as_of": "2026-10-09",
"commodities_spot": null,
"disclaimer": "Informational only. Not investment advice.",
"dollar_index_proxy": {
"as_of": "2026-10-09",
"is_ice_index": false,
"method": "proxy = 50.14348112 x EURUSD^-0.576 x USDJPY^0.136 x GBPUSD^-0.119 x USDCAD^0.091 x USDSEK^0.042 x USDCHF^0.036, pairs derived from the ECB euro reference rates. ICE US Dollar Index basket weights; once-a-day ECB fixings, so a proxy, not that index.",
"pairs": {
"EURUSD": 1.1206,
"GBPUSD": 1.322039,
"USDCAD": 1.422631,
"USDCHF": 0.831073,
"USDJPY": 158.254507,
"USDSEK": 9.965643
},
"source": {
"license": "ECB data: free use with the ECB cited as source; this value is a modification of it",
"name": "Computed by Tanod from the ECB euro reference rates (ICE US Dollar Index basket weights)",
"notice": "Dollar-index proxy computed by this service from ECB reference rates; it is not the ICE US Dollar Index and not a tradable quote. Modification of the ECB data, stated as the ECB requires.",
"terms": "https://www.ecb.europa.eu/services/disclaimer/html/index.en.html",
"url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"
},
"stale": false,
"value": 102.186
},
"ecb_fx_rates": {
"as_of": "2026-10-09",
"base": "EUR",
"rates": {
"CAD": "1.5942",
"CHF": "0.9313",
"GBP": "0.84763",
"JPY": "177.34",
"USD": "1.1206"
},
"source": {
"license": "Free use, including commercial, with the ECB cited as the source",
"name": "European Central Bank (ECB), euro foreign exchange reference rates",
"notice": "The ECB publishes the reference rates for information purposes only; using them for transaction purposes is strongly discouraged.",
"terms": "https://www.ecb.europa.eu/services/disclaimer/html/index.en.html",
"url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"
},
"stale": false
},
"fear_greed": {
"as_of": "2026-10-11",
"attribution": "Crypto Fear & Greed Index by alternative.me (https://alternative.me/crypto/fear-and-greed-index/). Tanod is not affiliated with alternative.me.",
"history_7d": [
{
"date": "2026-10-11",
"label": "Greed",
"value": 61
},
{
"date": "2026-10-10",
"label": "Greed",
"value": 64
}
],
"label": "Greed",
"scale": "0 = extreme fear, 100 = extreme greed",
"source": {
"name": "alternative.me, Crypto Fear & Greed Index",
"terms": "https://alternative.me/crypto/fear-and-greed-index/",
"url": "https://alternative.me/crypto/fear-and-greed-index/"
},
"stale": false,
"value": 61
},
"not_included": [
{
"field": "vix",
"reason": "Cboe's terms require a licence agreement for any redistribution of its data (https://www.cboe.com/use-of-content), so it is not served."
},
{
"field": "equity_indices",
"reason": "Index levels (S&P 500, Nasdaq, Dow, ...) are licensed; no free feed allows reuse."
},
{
"field": "gold",
"reason": "No public-domain daily gold price exists: LBMA prices are licensed."
},
{
"code": "not_configured",
"field": "commodities",
"reason": "WTI, Brent and Henry Hub spot (US EIA) are off here: the EIA API key is not configured."
}
],
"retrieved_at": "2026-10-10T12:25:13Z",
"sources_failed": [],
"treasury_yield_curve": {
"as_of": "2026-10-09",
"source": {
"license": "US Government work, public domain",
"name": "U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates",
"notice": "Data: U.S. Department of the Treasury. No endorsement by the Treasury is implied.",
"terms": "https://home.treasury.gov/subfooter/site-policies-and-notices",
"url": "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/TextView?type=daily_treasury_yield_curve"
},
"spreads_pct": {
"10y_minus_2y": 0.44,
"10y_minus_3m": 0.99
},
"stale": false,
"unit": "percent per year (bond-equivalent par yields, Treasury CMT curve)",
"yields_pct": {
"1 Mo": 4.13,
"1 Yr": 4.47,
"1.5 Mo": 4.13,
"10 Yr": 5.24,
"2 Mo": 4.13,
"2 Yr": 4.8,
"20 Yr": 5.65,
"3 Mo": 4.25,
"3 Yr": 4.89,
"30 Yr": 5.6,
"4 Mo": 4.29,
"5 Yr": 5.02,
"6 Mo": 4.32,
"7 Yr": 5.13
}
},
"us_short_rates": {
"as_of": "2026-10-08",
"effr": {
"effective_date": "2026-10-08",
"fed_funds_target_range_pct": [
3.75,
4
],
"rate_pct": 3.88
},
"sofr": {
"effective_date": "2026-10-08",
"percentile_1_99_pct": [
3.83,
3.95
],
"rate_pct": 3.87
},
"source": {
"license": "Free use, including business use, with the New York Fed's notice and disclaimer carried",
"name": "Federal Reserve Bank of New York, reference rates (EFFR, SOFR)",
"notice": "Subject to the Terms of Use posted at newyorkfed.org. Tanod is not affiliated with the New York Fed, which is not responsible for this publication. Values are unmodified.",
"terms": "https://www.newyorkfed.org/privacy/termsofuse",
"url": "https://www.newyorkfed.org/markets/reference-rates"
},
"stale": false,
"unit": "percent per year"
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.004.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tanod.dev/v1/markets/macro' \
-H 'content-type: application/json' \
--data-raw '{}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://tanod.dev/v1/markets/macro' \
-H 'content-type: application/json' \
--data-raw '{}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fmarkets%2Fmacro&method=POST
const res = await pay("https://tanod.dev/v1/markets/macro", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://tanod.dev/v1/markets/macro",
json={},
)
print(res.status_code, res.text)Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 19 min ago | Passed | 402 | 468 ms | $0.004 |
| 4 h ago | Passed | 402 | 451 ms | $0.004 |
| 8 h ago | Passed | 402 | 3.2 s | $0.004 |
| 12 h ago | Passed | 402 | 1.0 s | $0.004 |
| 16 h ago | Passed | 402 | 1.1 s | $0.004 |
| 20 h ago | Passed | 402 | 686 ms | $0.004 |
| 24 h ago | Passed | 402 | 1.3 s | $0.004 |
| 28 h ago | Passed | 402 | 1.7 s | $0.004 |
| 31 h ago | Passed | 402 | 391 ms | $0.004 |
| 34 h ago | Passed | 402 | 1.2 s | $0.004 |
| 38 h ago | Passed | 402 | 579 ms | $0.004 |
| 41 h ago | Passed | 402 | 1.0 s | $0.004 |
| 45 h ago | Passed | 402 | 561 ms | $0.004 |
| 2 days ago | Passed | 402 | 1.0 s | $0.004 |
| 2 days ago | Passed | 402 | 1.1 s | $0.004 |