{"uid":"cap_6iyg-CBR_qwV387xHkJxm","slug":"quickbuild-fx-rate-37e4d597","name":"QuickBuild FX Rate","description":"Landing pages ($15), Google Sheets/Apps Script automation ($10), scrapers, scripts & Telegram bots (from $15), broken-link + sitemap audit reports ($10). See a working demo first, pay after.","url":"https://quickbuild.quynguyenbac.workers.dev/api/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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"to":{"type":"string","description":"Comma-separated target codes (max 50) or \"all\". Default: EUR,GBP,JPY,CNY,CHF,CAD,AUD,INR,KRW,SGD,HKD,MXN,BRL,VND."},"date":{"type":"string","description":"Optional YYYY-MM-DD for historical ECB reference rates (since 1999-01-04). Omit for live rates."},"from":{"type":"string","description":"Base currency, ISO 4217 code (default USD)."},"amount":{"type":"number","minimum":0,"description":"Amount in `from` to convert (default 1)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":"string"},"date":{"type":"string"},"from":{"type":"string"},"count":{"type":"integer"},"rates":{"type":"object","description":"code -> units of that currency per 1 `from`"},"amount":{"type":"number"},"source":{"type":"string"},"missing":{"type":"array","items":{"type":"string"}},"converted":{"type":"object","description":"code -> amount converted"},"fetchedAt":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"asOf":"2026-10-21T01:20:03.000Z","date":"latest","from":"USD","count":3,"rates":{"EUR":0.8906,"JPY":158.278,"VND":25876.28},"amount":100,"source":"coinbase","missing":[],"converted":{"EUR":89.06,"JPY":15827.8,"VND":2587628.46},"fetchedAt":"2026-10-21T01:20:03.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_0DsEQSU2ypScFO3LGBgmy","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":"Returns live or historical foreign-exchange rates from a base currency to one or more target currencies, with optional amount conversion.","exampleAgentPrompt":"What's the live exchange rate from USD to EUR, GBP, JPY, and INR right now, and how much would 500 USD convert to in each of those currencies?","exampleUseCases":[{"title":"Live multi-currency price display","prompt":"Show me the current exchange rates from USD to EUR, GBP, JPY, CNY, and AUD — and tell me what 1000 USD is worth in each of those currencies right now."},{"title":"Historical ECB rate lookup","prompt":"What were the official ECB reference exchange rates for USD to EUR, GBP, and CHF on 2023-03-15?"},{"title":"Travel budget conversion","prompt":"I'm traveling to Japan and Vietnam next month — can you convert 2000 USD into Japanese Yen and Vietnamese Dong using the latest exchange rates?"}],"resultDescription":"A JSON object containing: the base currency, a timestamp (asOf/fetchedAt), the source used (coinbase, exchangerate-api, or frankfurter), date label, count of returned currencies, a rates map (currency code → units per 1 base unit), and if an amount was provided, a converted map (currency code → converted amount). Also includes a missing array for any invalid or unavailable codes.","failureModes":["Invalid currency code returns HTTP 400 (not charged)","Historical date before 1999-01-04 may return no ECB data","Currencies not covered by ECB Frankfurter (~30 majors) may be missing from historical requests","Coinbase live feed unavailable falls back to exchangerate-api daily rates","Requesting more than 50 target currencies at once may be rejected"],"whenToPreferThis":"Choose this endpoint when you need live forex rates updated approximately every minute (via Coinbase) for 160+ ISO 4217 currencies including precious metals (XAU/XAG), or ECB reference rates for any trading day back to 1999. It handles both spot conversion and historical lookups in a single API, requires no authentication, and returns structured JSON with converted amounts. Prefer it over static rate tables or cryptocurrency-only price feeds when you need broad fiat currency coverage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:05.571Z","isFirstParty":false,"canonicalSlug":"quickbuild-fx-rate-37e4d597"}