{"uid":"cap_YozPflT0uPMGVkT9rJ5s6","slug":"x402-hub-exchange-rates-4f26d781","name":"X402 Hub Exchange Rates","description":"63 paid API endpoints protected by x402 micropayments on Base","url":"https://x402-hub.vercel.app/api/exchange-rates?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Query parameter for the API"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response data from upstream API"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zbNNWEedzUsNgWHppBcEF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves current foreign exchange rates via a micropayment-protected API endpoint on Base","exampleAgentPrompt":"What's the current exchange rate from USD to EUR right now?","exampleUseCases":[{"title":"Live forex rate for travel planning","prompt":"What's the current exchange rate from US dollars to Japanese yen? I want to know how much my budget is worth before my trip."},{"title":"E-commerce currency conversion","prompt":"Can you look up the current exchange rate between EUR and GBP so I can price my products correctly for UK customers?"},{"title":"Investment portfolio currency check","prompt":"What's the live exchange rate for USD to CHF right now? I need to track how my Swiss franc holdings compare to my dollar positions."}],"resultDescription":"Returns exchange rate data for the requested currency pair or currency query, including rate values and related metadata from the upstream exchange rate provider.","failureModes":["Missing or empty query parameter returns 400 error","Invalid or unrecognized currency code returns error or empty data","Payment not fulfilled (x402 micropayment of $0.05 USDC not sent) results in 402 Payment Required","Upstream exchange rate provider unavailable causes 503 or proxy error","Malformed request body returns validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use exchange rate lookup without committing to a subscription API key. Ideal for agents that need occasional forex data and can pay $0.05 USDC per call via x402 micropayments on Base. Prefer over free-tier alternatives when you need reliable, current data and can handle crypto micropayment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:39:02.707Z","isFirstParty":false,"canonicalSlug":"x402-hub-exchange-rates-4f26d781"}