{"uid":"cap_38ssk7d_ly_nl05zHZmnY","slug":"tollkit-extract-fx-rate-lookup-d4eca0a8","name":"Tollkit Extract – FX Rate Lookup","description":"Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.","url":"https://attest.tollkit.dev/fx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^[A-Za-z]{3}$"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"YYYY-MM-DD within the last 90 days; weekends use the previous business day."},"from":{"type":"string","pattern":"^[A-Za-z]{3}$"},"amount":{"type":"number","default":1,"minimum":0}}},"responseSchema":null,"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_gHGYUjhHnK1wisXmaFfWR","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":"Looks up a foreign exchange rate for a currency pair on a given date, paid per-call with USDC via x402 protocol.","exampleAgentPrompt":"What was the EUR to USD exchange rate on 2024-11-15 for an amount of 500 euros? Use Tollkit's pay-per-call FX lookup — no API key needed.","exampleUseCases":[{"title":"Historical invoice currency conversion","prompt":"I need to know the GBP to USD exchange rate on 2024-09-30 for reconciling a £2,500 invoice — can you look that up without me needing to create an account anywhere?"},{"title":"Recent cross-currency travel expense check","prompt":"What was the JPY to EUR rate on last Tuesday for 80,000 yen? I'm trying to figure out what my Tokyo expenses actually cost me in euros."},{"title":"Automated FX data for bookkeeping","prompt":"Fetch me the CAD to USD exchange rate for 2024-10-01 for an amount of 1 — I need the rate itself for my monthly bookkeeping records."}],"resultDescription":"Returns the exchange rate (and optionally the converted amount) for the specified currency pair on the given date, paid for in-band with a micro USDC payment via x402 on Base or Solana — no account or API key required.","failureModes":["Invalid 3-letter currency code (non-alphabetic or unsupported pair) returns an error","Date outside the 90-day lookback window returns a validation error","Weekend date provided — endpoint uses the previous business day automatically","Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Malformed date format (not YYYY-MM-DD) causes a schema validation failure"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, anonymous, pay-as-you-go FX rate lookup with no account setup or API key management. Ideal for agents that need occasional historical or recent currency conversion data and want to pay micropayments per call via x402 on Base or Solana rather than subscribe to a currency data service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:54.438Z","isFirstParty":false,"canonicalSlug":"tollkit-extract-fx-rate-lookup-d4eca0a8"}