{"uid":"cap_QYNR0MMMCwlapMp0vnuT7","slug":"global-weather-fx-api-fx-rate-lookup-edfb5c35","name":"Global Weather & FX API — FX Rate Lookup","description":"Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.","url":"https://built-with-productos-xszv.vercel.app/v1/fx-rate?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"base":{"type":"string","maxLength":3,"minLength":3},"quote":{"type":"string","maxLength":3,"minLength":3}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-09-06","rate":0.86,"quote":"EUR"}},"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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MHbfwsBjm7o-YRbDy18ud","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current foreign-exchange rate between two ISO 4217 currency pairs (e.g. USD/EUR) with the date of the rate.","exampleAgentPrompt":"What's the current exchange rate from USD to EUR? I need today's live rate.","exampleUseCases":[{"title":"Real-time currency conversion for checkout","prompt":"What's the live exchange rate from USD to GBP right now? I need to show the converted price for a UK customer at checkout."},{"title":"Daily FX rate monitoring for treasury","prompt":"Fetch today's exchange rate between EUR and JPY — I want to track how it's moved compared to yesterday."},{"title":"Travel budget estimation","prompt":"What's the current exchange rate from USD to THB? I'm planning my budget for a trip to Thailand."}],"resultDescription":"Returns a JSON object with the base currency code, quote currency code, the exchange rate as a decimal number, and the date the rate was fetched (e.g. {\"base\":\"USD\",\"quote\":\"EUR\",\"rate\":0.86,\"date\":\"2026-09-06\"}).","failureModes":["Invalid or unsupported 3-letter currency code returns an error","Missing base or quote parameter results in a validation error","Payment not provided or insufficient triggers a 402 Payment Required response","Network or upstream FX data source unavailability may cause a 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need a simple, low-cost, pay-per-call FX rate lookup with no API key setup, especially in agentic or automated workflows using x402/MPP micropayments. Ideal for spot-rate queries where sub-second latency and minimal friction matter more than historical data or high-frequency streaming.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:43:05.368Z","isFirstParty":false,"canonicalSlug":"global-weather-fx-api-fx-rate-lookup-edfb5c35"}