{"uid":"cap_R4CnXKqv3LiTFDxQHBWMU","slug":"mekler-ai-currency-reference-converter-b672a752","name":"Mekler AI Currency Reference Converter","description":"Convert an amount between two currency codes using dated public reference rates and decimal arithmetic. Return the rate date, age, source and explicit rounding. Optional historical date from 1999-01-04; holidays may use earlier observations. No executable payment quote, intraday market feed or trading execution.","url":"https://api.mekler.ai/v1/finance/currencies/convert-reference-amount?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","pattern":"^[A-Z]{3}$"},"date":{"type":"string","format":"date"},"quote":{"type":"string","pattern":"^[A-Z]{3}$"},"amount":{"type":"string","pattern":"^[0-9]{1,13}(?:\\.[0-9]{1,8})?$"},"request_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$"}}},"responseSchema":{"type":"json","example":{"base":"USD","rate":"0.9","quote":"EUR","amount":"100.00","source":"Frankfurter daily blended reference rates","status":"ok","age_days":1,"rounding":"8 decimal places, ROUND_HALF_EVEN; not currency minor-unit rounding","rate_date":"2026-10-19","rate_type":"reference","source_url":"https://api.frankfurter.dev/v2/rate/usd/eur","limitations":["Reference conversion only; not an executable quote, payment or intraday trading price.","Historical requests may use an earlier observation for holidays or missing dates; inspect rate_date and age_days.","Source coverage and rates may change; conversion uses the dated retrieved observation."],"observed_at":"2026-10-20T00:00:00Z","requested_date":null,"converted_amount":"90.00000000"}},"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_gwk7NTf-WLZK1T7izeNBk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a currency amount between two ISO 4217 currency codes using dated public reference rates with explicit rounding, rate age, and source attribution.","exampleAgentPrompt":"Convert 500 USD to EUR using today's public reference rate and show me the rate date, source, and how the result was rounded.","exampleUseCases":[{"title":"Historical FX rate for invoice reconciliation","prompt":"What was the reference exchange rate from GBP to USD on 2024-06-12, and how much would 3250 GBP have been worth in USD on that date?"},{"title":"Budget estimate in local currency","prompt":"I'm planning a trip and want to know how much 2000 USD converts to in Japanese yen at today's reference rate — include the source and the rate date."},{"title":"Cross-currency reporting for accounting","prompt":"Convert 47500 EUR to CHF using the public reference rate from 2025-01-31 and tell me the exact rate, rounding method, and where the rate came from."}],"resultDescription":"A JSON object containing: the converted amount (8 decimal places, ROUND_HALF_EVEN), the exchange rate used, the rate date and age in days, the source name and URL, the rate type ('reference'), rounding description, requested date, observed timestamp, and a limitations array clarifying this is not an executable payment quote or intraday price.","failureModes":["Unsupported or unknown currency code returns an error","Historical date before 1999-01-04 is out of range","Holiday or missing date falls back to the nearest prior observation; inspect rate_date and age_days","Network or upstream Frankfurter API unavailability","Malformed amount string not matching the required pattern","Invalid date format not conforming to ISO 8601"],"whenToPreferThis":"Choose this endpoint when you need a traceable, dated reference-rate currency conversion with explicit source attribution and rounding disclosure — especially for accounting, reporting, or compliance contexts where an audit trail matters. It supports historical rates back to 1999-01-04, making it suitable for retrospective financial calculations. Do not use it for live trading prices, payment execution, or intraday FX quotes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:07:43.615Z","isFirstParty":false,"canonicalSlug":"mekler-ai-currency-reference-converter-b672a752"}