Macro snapshot API: Treasury yields, ECB FX and a dollar-index proxy in one call

Updated 2026-11-10

Use when an agent needs the rates backdrop before a market decision: Treasury yields, SOFR/EFFR, FX, oil and gas in one call.

From an MCP client, add https://tanod.dev/mcp and call get_macro_snapshot; its free daily calls are applied automatically, no key or signup.

POST {} to /v1/markets/macro and get what an agent needs for the macro paragraph of a market summary: the latest US Treasury par yield curve (with the 10y-2y and 10y-3m spreads), the ECB euro reference rates for about 30 currencies, a dollar-index proxy computed from those rates, the latest EFFR and SOFR from the New York Fed, and, when available, WTI, Brent and Henry Hub spot prices from the US EIA. Every section carries its source, as-of date and licence note, so you can quote it as is.

Request

curl, using the free tier
curl -s -X POST https://tanod.dev/v1/markets/macro \
  -H 'content-type: application/json' -H 'X-Tanod-Free: 1' -d '{}'

Response

Response (live, trimmed)
{"as_of": "2026-10-09",
 "treasury_yield_curve": {"as_of": "2026-10-09", "yields_pct": {"3 Mo": 4.25, "2 Yr": 4.8, "10 Yr": 5.24, "30 Yr": 5.6, ...},
   "spreads_pct": {"10y_minus_2y": 0.44, "10y_minus_3m": 0.99}, "source": {"name": "U.S. Department of the Treasury, ...", "license": "US Government work, public domain", ...}},
 "ecb_fx_rates": {"as_of": "2026-10-09", "base": "EUR", "rates": {"USD": "1.1206", "JPY": "177.34", "GBP": "0.84763", ...}, "source": {...}},
 "dollar_index_proxy": {"as_of": "2026-10-09", "value": 102.186, "is_ice_index": false, "method": "proxy = 50.14348112 x EURUSD^-0.576 x ...", "source": {...}},
 "us_short_rates": {"as_of": "2026-10-08", "effr": {"rate_pct": 3.88, "fed_funds_target_range_pct": [3.75, 4.0], ...}, "sofr": {"rate_pct": 3.87, ...}, "source": {"name": "Federal Reserve Bank of New York, ...", ...}},
 "commodities_spot": {"as_of": "...", "series": {"wti_crude": {"value": ..., "unit": "$/BBL"}, "brent_crude": {...}, "henry_hub_gas": {"unit": "$/MMBTU", ...}}, "source": {...}},  // null when unavailable
 "fear_greed": {"as_of": "...", "value": 61, "label": "Greed", "history_7d": [...], "source": {...}, "attribution": "Crypto Fear & Greed Index by alternative.me ..."},
 "sources_failed": [], "not_included": [{"field": "vix", ...}, {"field": "equity_indices", ...}, {"field": "gold", ...}, {"field": "commodities", "code": "not_configured", ...}]}

The dollar-index proxy

The proxy applies the published weights of the ICE US Dollar Index basket to six ECB cross rates: 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, with EURUSD = USD per EUR, USDJPY = JPY / USD, GBPUSD = USD / GBP, USDCAD = CAD / USD, USDSEK = SEK / USD and USDCHF = CHF / USD (all from the ECB EUR-base rates). It is not that index and not a tradable quote: the ECB rates are a once-a-day fixing, so the proxy follows the real index only roughly. The six pairs used are returned so you can recompute it.

Sources and licences, one by one

Included. The crypto Fear & Greed Index (alternative.me, hourly cache; its terms allow commercial use with the attribution right next to the data, so attribution sits inside the fear_greed block; see the Fear and Greed guide). US Treasury daily par yield curve: a work of the US Government, public domain (17 U.S.C. 105); site policies at home.treasury.gov/subfooter/site-policies-and-notices. ECB euro foreign exchange reference rates: "users of this website may make free use of the information obtained directly from it", provided it appears accurately and the ECB is cited as the source (ecb.europa.eu/services/disclaimer); the rates are available free of charge from the ECB, are published for information purposes only, and the proxy is our modification of them, stated as such. New York Fed EFFR and SOFR: its Terms of Use license use, copying and distribution of its content for business purposes, including through automated access, on conditions; we carry the notice it asks for with reference rates (the data is subject to those terms, the New York Fed is not responsible for our publication and does not endorse it, and we are not affiliated with it) in the section's source.notice, and show the values unmodified. US EIA spot prices (WTI Cushing, Brent Europe, Henry Hub): US government data, public domain, with the acknowledgment EIA asks for (eia.gov/about/copyrights_reuse); the EIA series are daily but published with a lag of days. The EIA section needs a free EIA API key on the server; until one is configured it is null and not_included carries a not_configured entry.

Not included, and listed in the reply. The VIX: Cboe's Use of Content page says any use of data on its sites needs prior approval and a signed licence agreement, and its terms bar copying and redistribution, so we do not serve it. Equity index levels (S&P 500, Nasdaq, Dow) are licensed by their owners and no free feed allows keyless server-side reuse. Gold: no public-domain daily price exists (LBMA prices are licensed, and FRED's gold series are copies of them), so it is left out, as are other metals and futures prices. We do not scrape quote pages. If a field cannot be sourced cleanly it is left out and named in not_included.

Partial results and freshness

The sources are read in parallel with a hard deadline. If one fails or is late, its section is null and it is named in sources_failed; you still get the others (a normal 200). If every source fails the call is a 503 and is not charged. Treasury curves are eligible for refresh after six hours; while a refresh is pending or the source is unavailable, a copy fetched within the last 24 hours may be returned with stale: true, and its as_of remains the published date. ECB rates are cached until the next 16:05 Berlin publication, New York Fed rates one hour (they publish once per business day) and EIA series six hours; if a source is down a recent cached copy may be served with stale: true. The Treasury's site can take 10 to 20 seconds per calendar year of data fetched, so a request without an eligible copy can take longer near a year boundary, or return a partial result under the deadline. Informational only, not investment advice.

Price and free allowance

USD 0.004 per call, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum with x402. 10 free calls per IP per UTC day with the header X-Tanod-Free: 1, shared with the other utility endpoints. MCP tool: get_macro_snapshot at https://tanod.dev/mcp, where the free tier is automatic.

All endpoints →

Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/finance?via=macro-snapshot-api as a custom connector (steps), then ask in plain words, for example "Give me today's rates backdrop: Treasury yields, SOFR, the dollar and oil." The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.

Related guides: Treasury yield curve API, Exchange rates API, Hosted SEC and Treasury MCP server. Back to tanod.dev or the guide index.