{"uid":"cap_RN8v1vhNu5_iJ2tuBfuVD","slug":"agentshield-fx-daily-reference-rate-cdde183f","name":"AgentShield FX Daily Reference Rate","description":"Call when an agent needs a daily reference exchange rate for a currency pair on a date. Not a live trading price.","url":"https://agentshield.live/fx?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":["to"],"properties":{"to":{"type":"string","description":"Three-letter currency code. Defaults to USD."},"date":{"type":"string","description":"YYYY-MM-DD. Optional. Latest ECB day if omitted."},"from":{"type":"string","description":"Three-letter currency code. Defaults to EUR."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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.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_zrDll_yhYuAbfXOp_xFQ2","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 the ECB daily reference exchange rate for a given currency pair on a specific date","exampleAgentPrompt":"What was the ECB daily reference exchange rate from EUR to USD on 2024-03-15?","exampleUseCases":[{"title":"Historical invoice currency conversion","prompt":"I have an invoice dated 2023-11-08 in EUR and I need to know the official ECB reference rate to USD on that date for my accounting records."},{"title":"Travel expense reimbursement rate lookup","prompt":"What was the official ECB reference exchange rate from GBP to EUR on 2024-01-22? I need it for a travel expense report."},{"title":"Cross-currency bookkeeping reconciliation","prompt":"Can you get me the ECB daily reference rate for EUR to JPY on 2024-06-30 so I can reconcile our quarterly financial statements?"}],"resultDescription":"Returns the ECB daily reference exchange rate for the specified currency pair and date. The response includes the rate value, the source and target currency codes, and the applicable reference date. If no date is provided, the latest available ECB business day rate is returned.","failureModes":["Invalid currency code returns an error — only ISO 4217 three-letter codes supported","Date falls on a weekend or ECB non-business day — ECB does not publish rates for non-business days","Future date requested — ECB rates are only available for past or current business days","Unsupported currency pair — ECB only publishes rates for a subset of currencies against EUR","Malformed date format — must be YYYY-MM-DD"],"whenToPreferThis":"Use this endpoint when you need an official, authoritative daily reference exchange rate published by the European Central Bank for compliance, accounting, or historical reporting purposes. Prefer this over live trading price APIs when precision and official sourcing matter more than real-time market prices. Best suited for bookkeeping, invoicing, expense reimbursement, and regulatory reporting scenarios where a specific historical date is involved.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:39.352Z","isFirstParty":false,"canonicalSlug":"agentshield-fx-daily-reference-rate-cdde183f"}