{"uid":"cap_yRZMXg6KYtxWWQRxX7MI6","slug":"tanod-fx-live-on-chain-spot-fx-rates-debf7e22","name":"Tanod FX Live – On-Chain Spot FX Rates","description":"Use when an agent must price an amount in EUR, GBP, MXN, BRL, CAD, SGD, ZAR or IDR against USD now, not at the ECB fix. Live FX exchange rates: indicative bid, ask, mid and ECB deviation for EUR, GBP, MXN, BRL, CAD, SGD, ZAR and IDR per USD, read from public stablecoin pools on Base (utilpeek by Tanod).","url":"https://tanod.dev/v1/fx/live?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pairs":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":12,"minLength":1},"maxItems":16},{"type":"null"}],"default":null,"description":"Pairs in market convention, for example EURUSD (USD per EUR) or USDMXN (MXN per USD). Omit for every supported pair. Exchange quotes cover EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, EURGBP and EURJPY. USDJPY, AUDUSD, USDCHF, EURGBP and EURJPY are exchange-only; EURUSD, GBPUSD and USDCAD also have configured on-chain pools. An unknown pair is a 422 that lists the supported ones."},"amount_usd":{"anyOf":[{"type":"number","maximum":100000,"minimum":100},{"type":"null"}],"default":null,"description":"Reference trade size in USD for the price-impact measurement, 100 to 100000 (default 1000). A pair whose impact at this size is 1% or more is listed under `thin`."}}},"responseSchema":{"type":"json","example":{"thin":[{"pair":"USDAUD","pool":"0xCde41D0B1AD079C3CeB7271559F738f503102852","token":"0x449B3317a6d1efb1Bc3ba0700C9EaA4FFFf4Ae65","venue":"aerodrome_slipstream","reason":"about USD 261 of USDC in the pool; a USD 1,000 buy returned about USD 194 on the way back","researched":"2026-10-11","stablecoin":"AUDD","usdc_in_pool":261}],"block":52445369,"chain":"base","pairs":[{"ask":"1.1198134","bid":"1.1196564","ecb":{"date":"2026-10-09","rate":"1.1206","stale":false},"mid":"1.1197349","base":"EUR","pair":"EURUSD","pool":"0xf39B7c34BE147F5DC1bC374f27AF2E9f03AD3113","block":52445369,"quote":"USD","venue":"aerodrome_slipstream","quoter":"0x514c8B5f54112481E28028F1166Bd78501089259","fee_pct":0.007,"fee_tier":70,"small_usd":100,"timestamp":"2026-10-11T00:54:45Z","spread_pct":0.014,"stablecoin":{"symbol":"EURC","address":"0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42","decimals":6},"pools_quoted":3,"buy_leg_block":52445368,"deviation_pct":-0.0772,"reference_usd":1000,"price_impact_pct":0.0001,"buy_leg_timestamp":"2026-10-11T00:54:43Z","price_impact_buy_pct":0.0001,"price_impact_sell_pct":0.0001}],"cached":false,"errors":[],"method":"bid/ask: USDC per unit of the stablecoin from the pool's QuoterV2 (fee included) at USD 100. mid: geometric mean sqrt(bid * ask), which removes the pool fee. deviation_pct = (mid / ecb - 1) * 100.","licence":"Chain data: no licence restrictions. The ECB reference rate beside each mid is available free of charge from the ECB website; it is published for information purposes only.","small_usd":100,"timestamp":"2026-10-11T00:54:45Z","amount_usd":1000,"disclaimer":"Indicative on-chain prices read from one public stablecoin pool per pair on Base (the best of up to three configured pools) at the stated block. They are not dealable quotes, not a fixing and not investment advice: a pool price can differ from the interbank rate, move every block and be moved by a single trade. Do not use them to settle trades or as an oracle.","indicative":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C9DgqsXL8gVfCGYwh3SMr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live bid/ask/mid spot FX rates for currency pairs sourced from on-chain stablecoin pools on Base, including price impact, spread, and ECB deviation metrics.","exampleAgentPrompt":"What's the live on-chain bid/ask for EURUSD right now, and how does the mid price compare to today's ECB reference rate? Use a reference trade size of $5,000.","exampleUseCases":[{"title":"Live FX rate check for trading bot","prompt":"Fetch the current on-chain bid, ask, and mid rates for EURUSD and GBPUSD with a $10,000 reference size — I want to see the spread percentages and any deviation from the ECB rate."},{"title":"Liquidity screening before large trade","prompt":"I'm about to move $50,000 equivalent — can you check the price impact for USDMXN and flag it if liquidity is thin at that size?"},{"title":"Multi-pair FX dashboard snapshot","prompt":"Pull live on-chain spot rates for EURUSD, GBPUSD, and USDAUD using a $1,000 reference size and tell me which pairs have the tightest spreads right now."}],"resultDescription":"A JSON object containing per-pair data (bid, ask, mid, spread_pct, fee_pct, price_impact_pct, ECB reference rate with staleness flag, deviation_pct, pool address, venue, block, timestamp) plus a 'thin' array listing pairs with poor liquidity at the requested trade size, chain info, block number, and licence/disclaimer notes.","failureModes":["422 if an unknown pair is requested (response lists supported pairs)","Stale ECB rate flag if the ECB hasn't published a rate for that day","Pool price may deviate significantly from interbank rate for low-liquidity pairs","Thin liquidity warning if price impact ≥1% at the requested trade size","Network or chain RPC outage causing inability to read pool data"],"whenToPreferThis":"Choose this endpoint when you need real-time, on-chain FX indicative rates derived from Base chain stablecoin DEX pools, particularly when you want bid/ask spread data, price impact estimates for a given trade size, and comparison against the ECB reference rate. Prefer it over traditional FX APIs when your workflow is DeFi-adjacent, needs blockchain provenance (block number, pool address), or requires liquidity depth signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:06:09.639Z","isFirstParty":false,"canonicalSlug":"tanod-fx-live-on-chain-spot-fx-rates-debf7e22"}