{"uid":"cap_kTQkxus5dODaETt9Ca5cQ","slug":"global-weather-fx-api-foreign-exchange-rate-lookup-6681a24f","name":"Global Weather & FX API – Foreign Exchange 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://agent-chain-kit-solana.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_dsS7uYz95k5ud20ARwYjV","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 spot rate between two ISO 4217 currency pairs (e.g. USD to EUR).","exampleAgentPrompt":"What's the current exchange rate from USD to EUR right now?","exampleUseCases":[{"title":"Live FX rate for invoice pricing","prompt":"I need to invoice a client in Japan — what's the current USD to JPY exchange rate so I can set the price?"},{"title":"Travel budget currency conversion","prompt":"I'm heading to London next week — what's the current AUD to GBP exchange rate?"},{"title":"Cross-currency portfolio rebalancing","prompt":"What's the live EUR to CHF exchange rate right now? I need it to rebalance my holdings."}],"resultDescription":"Returns a JSON object with the base currency code, quote currency code, the spot exchange rate as a decimal number, and the date of the rate.","failureModes":["Invalid or unsupported 3-letter currency code returns an error","Missing base or quote parameter results in a validation error","Payment not included or insufficient triggers a 402 Payment Required response","Rate data temporarily unavailable from upstream provider may return a 503 or stale data"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call FX spot rate lookup without API key registration. It is ideal for AI agents needing real-time currency conversion in automated workflows, and supports micropayment via x402 or MPP, making it suitable for per-query agent billing without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:45:45.484Z","isFirstParty":false,"canonicalSlug":"global-weather-fx-api-foreign-exchange-rate-lookup-6681a24f"}