{"uid":"cap_pgEerSGtm8hL4dJlB8gDV","slug":"orchard-data-fx-rates-9cf1f5fd","name":"Orchard Data FX Rates","description":"Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.","url":"https://orchard-data.letom1176.workers.dev/api/fx-rates?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","properties":{"base":{"type":"string","description":"Base currency, e.g. USD or EUR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-15","majors":{"EUR":0.8922,"GBP":0.7549,"JPY":157.98}}},"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_EktAxrl6I4H-aGtvOlrtz","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 current foreign exchange rates for major currency pairs relative to a specified base currency","exampleAgentPrompt":"What are today's FX rates for major currencies like EUR, GBP, and JPY with USD as the base?","exampleUseCases":[{"title":"Real-time currency conversion for invoices","prompt":"I need to send an invoice to a client in Europe — what's the current EUR rate against USD so I can convert my $4,500 fee to euros?"},{"title":"Daily FX snapshot for a finance dashboard","prompt":"Pull today's major currency exchange rates using USD as the base and add them to my morning finance report."},{"title":"Travel budget calculation in JPY","prompt":"I'm planning a trip to Japan — what's the current USD to JPY exchange rate so I can figure out how much yen I'll need for my $2,000 budget?"}],"resultDescription":"A JSON object containing the base currency, the date of the rates, and exchange rates for major currency pairs (EUR, GBP, JPY and potentially others) expressed as decimal values relative to the base currency.","failureModes":["Invalid or unsupported base currency code returns an error","Payment failure via x402 (insufficient USDC balance) results in 402 response blocking data","Stale or unavailable upstream rate data may return outdated values","Missing required 'base' query parameter may default to USD or return an error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, per-call FX rate lookup for major currency pairs and are already operating within an x402/USDC micropayment infrastructure. Ideal for AI agents that need occasional forex data without committing to a subscription-based currency API. Best for scenarios involving USD, EUR, GBP, or JPY conversions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:38:20.778Z","isFirstParty":false,"canonicalSlug":"orchard-data-fx-rates-9cf1f5fd"}