{"uid":"cap_fWlD0xoNDxsCPUxYB2G__","slug":"myworker-agent-api-fx-exchange-rate-lookup-fx-kadar-d298cf23","name":"Myworker Agent API – FX Exchange Rate Lookup (fx-kadar)","description":"Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.","url":"https://crypto-micro-agent.mykira.workers.dev/api/agent/fx-kadar?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","example":{"ke":"myr,sgd,eur","dari":"usd"},"required":["dari"],"properties":{"ke":{"type":"string","description":"Sasaran kod 3 huruf, dipisah koma (maks 6). Kosong = eur,gbp,sgd,idr."},"dari":{"type":"string","description":"Matawang asas, kod 3 huruf (cth usd). Boleh sertakan sasaran dalam ayat: \"usd myr sgd\"."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"hasil":{"asas":"USD","nota":"Nilai kadar untuk 1 USD…","kadar":{"EUR":0.86,"MYR":4.2,"SGD":1.28},"diemas":"Sat, 18 Oct 2026 00:02:01 +0000","sumber":"open.er-api.com"},"servis":"fx-kadar"}},"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_4uldXq6aoupBwUKcobUqR","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 current foreign exchange rates from a specified base currency to one or more target currencies, sourced from open.er-api.com.","exampleAgentPrompt":"What are the current exchange rates from USD to MYR, SGD, and EUR? I need the latest live rates.","exampleUseCases":[{"title":"Travel budget currency check","prompt":"I'm planning a trip and need to know today's exchange rate from USD to MYR, SGD, and IDR so I can estimate my travel budget."},{"title":"Multi-currency invoice pricing","prompt":"What's the current exchange rate from USD to EUR, GBP, and SGD? I need to price an invoice for clients in those three regions."},{"title":"Forex monitoring for remittance","prompt":"Check the latest USD to MYR exchange rate for me — I want to see if now is a good time to send money home."}],"resultDescription":"A JSON object containing the base currency, a dictionary of target currency codes mapped to their current exchange rates (e.g. EUR: 0.86, MYR: 4.2, SGD: 1.28), the timestamp of the rates, and the data source (open.er-api.com).","failureModes":["Missing required 'dari' (base currency) query parameter returns an error","Invalid or unsupported 3-letter currency code returns an error or empty rates","More than 6 target currencies specified may be rejected","Payment failure (x402) if USDC/SOL payment is not completed correctly","Upstream open.er-api.com outage may cause stale or missing data"],"whenToPreferThis":"Choose this endpoint when you need live foreign exchange rates for one or more currency pairs in a pay-per-call model using crypto (USDC on Solana, USDC on Base, or SOL), without requiring an API key subscription. Ideal for agents that infrequently query FX rates and want minimal setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:39:44.643Z","isFirstParty":false,"canonicalSlug":"myworker-agent-api-fx-exchange-rate-lookup-fx-kadar-d298cf23"}