{"uid":"cap_ltnKv9uoDxoMkqzGIL4rU","slug":"payagents-exchange-rates-api-6ec6c8e1","name":"PayAgents Exchange Rates API","description":"Real-time fiat and crypto exchange rates API protected by PayAgents micropayments.","url":"https://demo.payagents.io/exchange-rates/latest","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"Base currency symbol"},"symbols":{"type":"array","description":"List of target currency symbols"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"base":{"type":"string"},"rates":{"type":"object"}}},"paid":{"type":"boolean"},"price":{"type":"string"},"source":{"type":"string"},"success":{"type":"boolean"},"timestamp":{"type":"string"}}},"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_KS1QmzWE_dtnWvAo7SGbh","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 real-time fiat and crypto exchange rates for a specified base currency against a list of target currencies, gated by x402 micropayments.","exampleAgentPrompt":"What are the current exchange rates for EUR, GBP, JPY, and BTC against USD right now?","exampleUseCases":[{"title":"Live crypto portfolio valuation","prompt":"What are the current rates for BTC, ETH, and USDC against USD so I can calculate the current value of my portfolio?"},{"title":"Multi-currency invoice pricing","prompt":"I need to send an invoice in GBP, EUR, and CAD — what are the latest exchange rates for those against USD?"},{"title":"Forex rate monitoring for trading","prompt":"What are today's live exchange rates for EUR, JPY, AUD, and CHF compared to USD?"}],"resultDescription":"Returns a JSON object containing a rates map of target currency symbols to their current exchange rates relative to the base currency, along with the base currency, a timestamp, the data source, a success flag, a paid flag, and the price paid per call.","failureModes":["Missing or invalid base currency symbol returns error or empty response","Invalid target currency symbols may be omitted from the rates map","Payment failure (insufficient USDC) results in 402 Payment Required before data is returned","Rate data may be stale if upstream provider is slow or unavailable","Empty symbols array may return all available rates or an error depending on implementation"],"whenToPreferThis":"Choose this endpoint when you need real-time fiat and crypto exchange rates in a single API call, especially in agentic or automated pipelines that can handle x402 micropayment flows natively. It is well-suited for agents that need to convert or compare across multiple currencies simultaneously and can tolerate the small per-call USDC cost. Prefer it over free or cached alternatives when freshness and crypto pair coverage matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:32:58.556Z","isFirstParty":false}