{"uid":"cap_YucSgC0KjKfAXuwdv2k9C","slug":"x402stock-exchange-rates-7d560f51","name":"x402stock Exchange Rates","description":"Official US Treasury reporting rates of exchange — government FX reference rates for ~170 currencies, in units of foreign currency per 1 USD, for the latest quarter. Use for accounting-grade and exotic-currency conversion the market /api/v1/forex feed lacks. Filter with `?currency=Euro`. Updated quarterly. From the US Treasury (FiscalData). From x402stock","url":"https://agents.x402stock.xyz/api/v1/exchange-rates","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jlj4f_q6oa-jnh6KtiLWx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_Q3CNlIShr7o9ngHMdoLmm","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live or recent forex and crypto exchange rates for AI agents, billed per request via USDC/x402","exampleAgentPrompt":"What's the current exchange rate between EUR and USD? I need live forex data right now for a payment conversion calculation.","exampleUseCases":[{"title":"Real-time currency conversion for payments","prompt":"I need to convert 5000 USD to euros for a wire transfer — what's the live EUR/USD rate right now?"},{"title":"Cross-currency portfolio valuation","prompt":"My portfolio has positions in GBP, JPY, and CHF — can you pull the current exchange rates for all three against USD so I can calculate my total value in dollars?"},{"title":"Crypto-to-fiat rate monitoring","prompt":"What's the current BTC to USD exchange rate? I want to know if it's moved more than 2% from yesterday."}],"resultDescription":"Returns current exchange rate data for the requested currency pair(s), including the rate value, the currencies involved, and a timestamp. Sourced from live market data for forex and crypto pairs.","failureModes":["Invalid or unsupported currency pair returns an error or empty result","Payment failure (insufficient USDC balance) returns HTTP 402 and blocks the request","Rate data may be slightly delayed depending on market feed latency","Malformed query parameters may return a 400 bad request error","Unsupported exotic currency pairs may not be available in the catalog"],"whenToPreferThis":"Choose this endpoint when you need live or near-real-time forex or crypto exchange rates without setting up API keys or accounts, and when your agent can autonomously pay per request in USDC. Ideal for agents doing currency conversion, cross-border payment calculations, or portfolio valuation. Prefer over Bloomberg or Reuters integrations when simplicity and pay-per-use billing matter more than institutional-grade SLAs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:54:10.871Z","isFirstParty":false}