{"uid":"cap_-w2wOPxAMYAHSXMNrdDfE","slug":"x402-utilities-hub-fx-rate-lookup-623841b9","name":"x402 Utilities Hub FX Rate Lookup","description":"Pay-per-call utilities for AI agents and developers. Paid in USDC on Base via x402 v2.","url":"https://x402-utils-hub.dimkaplay666.workers.dev/v1/fx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["queryParams"],"properties":{"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object"}}}}},"responseSchema":{"type":"object","properties":{"example":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F_mC5WX0CAzsH8EHbqnH6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns foreign exchange (FX) rate data for currency pairs, paid per call via USDC on Base using x402 v2","exampleAgentPrompt":"What's the current exchange rate from USD to EUR? Use the x402 FX endpoint to fetch it — I need the live rate for a payment conversion.","exampleUseCases":[{"title":"Invoice currency conversion check","prompt":"I'm billing a client in Japan — what's the current USD to JPY exchange rate so I can calculate how much to charge them in yen?"},{"title":"Crypto-to-fiat rate lookup","prompt":"What's the live exchange rate between USDC and GBP right now? I need it to figure out how much my USDC payment is worth in British pounds."},{"title":"Multi-currency dashboard data","prompt":"Fetch the current exchange rates for EUR/USD and GBP/USD so I can update the currency display on my dashboard."}],"resultDescription":"Returns an object containing FX rate data for the requested currency pair, such as the current exchange rate value and related metadata. The exact structure depends on the query parameters provided.","failureModes":["Missing or invalid currency pair in queryParams returns an error","Payment failure via x402 if USDC balance is insufficient","Unknown or unsupported currency pair returns an error or empty result","Malformed queryParams object causes a 400-level error","Rate data temporarily unavailable due to upstream data source issues"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call FX rate lookups without a subscription, especially in agent workflows that require occasional currency conversion and want to pay micro-amounts in USDC on Base via the x402 protocol rather than maintaining a traditional API key subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:30:15.515Z","isFirstParty":false,"canonicalSlug":"x402-utilities-hub-fx-rate-lookup-623841b9"}