{"uid":"cap_zSdVsF9_0RTCsgzLbbRG9","slug":"fastx402-currency-pair-rate-7bfd50b2","name":"FastX402 Currency Pair Rate","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/currency-pair-rate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Three-letter base currency code, such as USD"},"quote":{"type":"string","description":"Three-letter quote currency code, such as EUR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"base":{"type":"string"},"date":{"type":"string"},"rate":{"type":"number"},"quote":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-01-15","rate":0.8621,"quote":"EUR"}},"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_d05YH13v6BWfYF-GKGhHC","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 the current exchange rate between two currency codes (e.g. USD to EUR) as a pay-per-call lookup.","exampleAgentPrompt":"What's the current exchange rate from USD to EUR?","exampleUseCases":[{"title":"Invoice currency conversion check","prompt":"My invoice is in GBP but I need to pay in USD — what's the current GBP to USD exchange rate?"},{"title":"Travel budget planning","prompt":"I'm heading to Japan next month. What's the current USD to JPY exchange rate so I can figure out my budget?"},{"title":"Automated multi-currency pricing","prompt":"What's the live EUR to CHF rate right now? I need to update pricing on our Swiss storefront."}],"resultDescription":"A JSON object containing the base currency code, quote currency code, the numeric exchange rate (how many units of quote per 1 unit of base), and the date of the rate.","failureModes":["Invalid or unsupported currency code returns an error (e.g. unknown three-letter code)","Missing required query parameters (base or quote) results in a 400-level error","Payment failure or insufficient USDC balance causes a 402 Payment Required response","Network or upstream data provider unavailability may return a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a simple, real-time spot exchange rate between two standard currency codes without an API key or account setup, especially when operating in a pay-per-call agent context using x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:22:58.450Z","isFirstParty":false,"canonicalSlug":"fastx402-currency-pair-rate-7bfd50b2"}