{"uid":"cap_HDPeARTJ3ffWwzHngRsz6","slug":"fx-currency-conversion-rate-lookup-a7ab0ca7","name":"FX Currency Conversion Rate Lookup","description":"Crypto market data and web tools for autonomous agents: read web pages, PDFs and YouTube transcripts, check domains and tokens. Every `/api/v1/*` call is paid per call: **$0.003** for simple reads, **$0.005-$0.01** for aggregates, **$0.02-$0.03** for token risk checks and reports (USDC or USDT). Each route's price is in `x-payment-info`.\n\n**x402 agents:** pay automatically. The 402 response carries a standard `PAYMENT-REQUIRED` header (x402 v2, USDC on Base or Solana, USDT on Solana); retry with `PAYMENT-SIGNATURE`.\n\n**Manual (legacy) flow:** call the endpoint, read the HTTP 402 JSON (`pay_to`, `asset`, `price`), send the USDT transfer, then repeat the call with header `X-Payment-Tx: <signature>`. One signature pays for one call; signatures older than the `max_tx_age_seconds` value are rejected.\n\nMachine-readable spec: `/openapi.json`. LLM summary: `/llms.txt`. MCP server: `POST /mcp`.","url":"https://194-28-85-99.sslip.io/api/v1/fx?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"],"type":"string"},"queryParams":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"amount":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":{"EUR":{"rate":0.92,"amount":92},"UAH":{"rate":41.5,"amount":4150}},"from":"USD","amount":100}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X3AX6umZU71dy3XTGgSwU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time foreign exchange rates and converted amounts for a given source currency, target currencies, and amount","exampleAgentPrompt":"What's the current exchange rate from USD to EUR and UAH, and how much would 250 USD be in each?","exampleUseCases":[{"title":"Real-time travel currency check","prompt":"I'm heading to Europe next week — how much would 800 US dollars be in euros right now?"},{"title":"Multi-currency invoice calculation","prompt":"I need to invoice a client in both EUR and UAH. Convert 1500 USD to both currencies using today's exchange rates."},{"title":"Crypto portfolio fiat valuation","prompt":"What's the current USD to EUR rate? I want to know the euro value of my holdings."}],"resultDescription":"A JSON object containing the source currency, the requested amount, and a map of target currencies each with their current exchange rate and the converted amount. Example: {\"from\":\"USD\",\"amount\":100,\"to\":{\"EUR\":{\"rate\":0.92,\"amount\":92},\"UAH\":{\"rate\":41.5,\"amount\":4150}}}","failureModes":["Unsupported or invalid currency code returns an error","Missing required 'from' or 'to' query parameters causes a 400 Bad Request","Payment not provided or invalid payment signature causes a 402 Payment Required response","Stale payment signature older than max_tx_age_seconds is rejected","Rate data temporarily unavailable returns a 503 error"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time foreign exchange rates and currency conversion as part of a pay-per-call, micropayment-native workflow. It is especially suited for autonomous agents using x402 automatic payment flows (USDC on Base or Solana, USDT on Solana) at a low $0.003 per call. Prefer it when you need programmatic FX lookups without API key subscriptions, or when integrating into a broader crypto/web data pipeline on the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T02:27:42.164Z","isFirstParty":false,"canonicalSlug":"fx-currency-conversion-rate-lookup-a7ab0ca7"}