{"uid":"cap_0PdXfaYvlxkbbrTh5qZub","slug":"synapse-exchange-rate-api-e0851913","name":"Synapse Exchange Rate API","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/exchange-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","HEAD","DELETE"],"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":{"type":"json","example":{"to":"EUR","from":"USD","rate":0.92}},"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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KUiFpU-73JVPcOz2v3yzf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 currencies (e.g. USD to EUR) via a pay-per-call x402 endpoint.","exampleAgentPrompt":"What's the current exchange rate from USD to EUR?","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I'm planning a trip to Japan — what's the current exchange rate from USD to JPY so I can figure out my budget?"},{"title":"E-commerce multi-currency pricing","prompt":"My store lists prices in GBP but I need to show EUR prices too — can you look up the current GBP to EUR exchange rate?"},{"title":"Invoice reconciliation in foreign currency","prompt":"I received an invoice in CHF and need to pay in USD — what's the current CHF to USD exchange rate?"}],"resultDescription":"A JSON object containing the source currency code ('from'), target currency code ('to'), and the current exchange rate as a decimal number (e.g. {\"from\":\"USD\",\"to\":\"EUR\",\"rate\":0.92}).","failureModes":["Unsupported or invalid currency code returns an error","Missing 'from' or 'to' query parameters results in a 400-level error","Payment not completed or insufficient USDC balance returns 402 Payment Required","Network or upstream data provider unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a quick, keyless, pay-per-call currency exchange rate lookup without setting up an account or API key — ideal for AI agents making occasional FX lookups using x402 micropayments on Base. Best for single currency-pair spot rate queries rather than bulk historical data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:52.545Z","isFirstParty":false,"canonicalSlug":"synapse-exchange-rate-api-e0851913"}