AgentAPIGate
Back to Catalog
GET /v1/macro/fx/date_snapshotPack: finance·MCP Tool: macro_fx_date_snapshot

Frankfurter ECB Historical Date FX Snapshot

Fetch official European Central Bank (ECB) foreign exchange rates for any historical calendar date (`YYYY-MM-DD`) with base currency, amount conversion, and target ISO currency filter.

API Key Price:$0.0015 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Historical date in YYYY-MM-DD format (e.g. "2026-11-01" or "2024-06-15")
3-letter ISO-4217 base currency code (default "USD")
Optional comma-separated target ISO-4217 codes (e.g. "EUR,GBP,JPY,CHF,CAD"); omit for all ECB currencies
Base currency amount to convert (default 1)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/macro/fx/date_snapshot" \
  --data-urlencode "date=2026-11-01" \
  --data-urlencode "from=USD" \
  --data-urlencode "to=EUR,GBP,JPY,CHF,CAD" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-73% tokens
# Frankfurter ECB Historical Date FX Snapshot (`macro.fx.date_snapshot`)
**amount**: 1 · **base**: USD · **date**: 2026-10-30 · **requested_date**: 2026-11-01

## rates
- **CAD**: 1.3969
- **CHF**: 0.82295
- **EUR**: 0.89509
- **GBP**: 0.74633
- **JPY**: 157.25

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: macro.fx.date_snapshot · Method: GET
ParameterTypeReqSample / DefaultDescription
datestringoptional2026-11-01Historical date in YYYY-MM-DD format (e.g. "2026-11-01" or "2024-06-15")
fromstringoptionalUSD3-letter ISO-4217 base currency code (default "USD")
tostringoptionalEUR,GBP,JPY,CHF,CADOptional comma-separated target ISO-4217 codes (e.g. "EUR,GBP,JPY,CHF,CAD"); omit for all ECB currencies
amountnumberoptional1Base currency amount to convert (default 1)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0015 / call$0/mo · Balance never expires
Remote MCP Toolmacro_fx_date_snapshotOAuth 2.1 Hub & /mcp/finance
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency716 ms$0 billed on empty or 4xx/5xx
Token Economy188t → 67t (-73%)Partner credit: eligible
Data AttributionSource: Frankfurter Foreign Exchange API — European Central Bank (ECB) Reference Rates (api.frankfurter.app — Public Domain)

More macro.fx Sibling Endpoints

Frequently Asked Questions

How do I call Frankfurter ECB Historical Date FX Snapshot (macro.fx.date_snapshot) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/macro/fx/date_snapshot with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool macro_fx_date_snapshot on https://mcp.agentapigate.ai/mcp.

What does macro.fx.date_snapshot cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on macro.fx.date_snapshot?

Passing ?format=md transforms the response into normalized Markdown (~67 tokens vs ~188 raw tokens, saving 73% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only finance endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["macro.fx.date_snapshot"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.