{"uid":"cap_86mIdOwIU1gg7hZBfpeH9","slug":"fx-rate-lookup-via-coingecko-539df448","name":"FX Rate Lookup via CoinGecko","description":"Get live and historical foreign-exchange rates for 150+ currency pairs including spot, mid, and cross rates in a single x402 call. Convert exact amounts for cross-border settlement, treasury, and dynamic pricing in AI-agent and payment workflows. Mirrors institutional mid-market data with timestamped rates. Pay per quote in USDC on Base, no API key, instant JSON.","url":"https://apiwitchcraft.duckdns.org/fx","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":["from","to"],"properties":{"to":{"type":"string"},"from":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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_jHTEYWmVIl890_nHvdDRG","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 foreign exchange (FX) rate between two currencies using CoinGecko as the underlying data source.","exampleAgentPrompt":"What's the current exchange rate from USD to EUR?","exampleUseCases":[{"title":"Real-time travel budget conversion","prompt":"I'm heading to Japan next week and want to know how many yen I'll get for my dollars right now — what's the current USD to JPY rate?"},{"title":"Live euro to pound rate","prompt":"What's the EUR to GBP exchange rate at this moment? I need to figure out how much a €2,500 invoice is worth in pounds today."},{"title":"Australian to Canadian dollar check","prompt":"Can you look up the live exchange rate from AUD to CAD? I'm comparing prices on a supplier quote and need the current conversion."}],"resultDescription":"Returns the live FX rate between the specified source and target currency pair, sourced from CoinGecko, as a numeric exchange rate value.","failureModes":["Missing 'from' or 'to' query parameters returns an error","Unsupported or invalid currency codes return an error","CoinGecko upstream unavailability may cause failures or stale data","Rate limiting from the underlying CoinGecko API may cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call FX rate lookup between two currencies without a subscription, especially in agentic workflows needing live forex data at low cost. Prefer over free tiers when you need reliable, on-demand access without rate limit concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:49.247Z","isFirstParty":false}