{"uid":"cap_LKcmAnpGMIcY5utFeWDcg","slug":"freetier-agent-api-currency-exchange-rate-lookup-2b96772a","name":"FreeTier Agent API — Currency Exchange Rate Lookup","description":"Pay-per-call data API for AI agents: AI model prices and cost calculator, 4,259 MCP servers, email domain checks, text-to-JSON extraction, country/holiday/currency lookup, page and link checks, page-to-markdown, 2,230 verified APIs. x402, USDC on Base, no signup. Sources cited in every response.","url":"https://freetier-agent-api.pages.dev/api/currency?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","required":["from","to"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"amount":{"type":"string"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"DKK","from":"USD","rate":6.9,"amount":100,"result":690,"rate_date":"2026-10-16"}},"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.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_NdALrzGtfzmELgkyCC33O","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":"Converts a currency amount from one currency to another and returns the exchange rate and converted result.","exampleAgentPrompt":"What's 100 USD in Danish Krone right now — can you convert it and show me the exchange rate?","exampleUseCases":[{"title":"Travel budget currency conversion","prompt":"I'm heading to Denmark next week — how much is 500 US dollars in Danish Krone at today's rate?"},{"title":"International invoice pricing","prompt":"I need to bill a client in Japan — what's the current exchange rate from EUR to JPY, and how much would 2500 euros come out to?"},{"title":"Crypto-to-fiat cost check","prompt":"My API costs $0.002 USDC per call — what would that be in British pounds? Use the current USD to GBP rate."}],"resultDescription":"Returns a JSON object with the source currency (from), target currency (to), the current exchange rate (rate), the input amount, the converted result, and the rate date (e.g. {\"from\":\"USD\",\"to\":\"DKK\",\"rate\":6.9,\"amount\":100,\"result\":690,\"rate_date\":\"2026-10-16\"}).","failureModes":["Invalid or unsupported currency code returns an error response","Missing required 'from' or 'to' query parameters causes a 400-level error","Payment not fulfilled via x402/USDC results in a 402 Payment Required response","Stale or unavailable rate data may return a rate_date that is not today's date"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call currency conversion without signup, especially in agent workflows that already use x402/USDC micropayments on Base. Ideal for one-off FX lookups, international pricing calculations, or travel budget conversions where a full-featured forex subscription is overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:43:42.164Z","isFirstParty":false,"canonicalSlug":"freetier-agent-api-currency-exchange-rate-lookup-2b96772a"}