{"uid":"cap_G7a_Z2Gnvgr-QWAgdgQRd","slug":"netintel-currency-exchange-history-api-5812c14d","name":"NetIntel Currency Exchange History API","description":"Network intelligence API — 142 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/currency-exchange/history?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":["from","to"],"properties":{"to":{"type":"string","description":"One target code, e.g. EUR or BTC. Aliases: target, quote"},"end":{"type":"string","description":"Range end, YYYY-MM-DD; default today. Alias: to_date"},"days":{"type":"number","description":"Alternative to start/end: lookback window ending today; default 30. Alias: period"},"from":{"type":"string","description":"Base currency: ISO 4217 fiat code or crypto ticker, e.g. USD or BTC. Aliases: base, source"},"start":{"type":"string","description":"Range start, YYYY-MM-DD. Alias: from_date. Caps: ECB fiat 366d, other fiat 90d, crypto 300d"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"to":{"type":"string"},"end":{"type":"string"},"from":{"type":"string"},"stale":{"type":"boolean"},"start":{"type":"string"},"stats":{"type":"object","properties":{"max":{"type":"number"},"min":{"type":"number"},"average":{"type":"number"},"change_pct":{"type":"number","description":"first→last point, %"},"volatility_pct":{"type":"number","description":"stdev of daily % changes"}}},"series":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"rate":{"type":"number","description":"units of `to` per 1 `from` on that date"}}}},"source":{"type":"string","description":"frankfurter | ecb-xml | currency-api | coinbase"},"findings":{"type":"array"},"point_count":{"type":"number"},"cache_age_seconds":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"to":"EUR","end":"2026-08-01","from":"USD","stale":false,"start":"2026-07-26","stats":{"max":0.87974,"min":0.8707,"average":0.87626,"change_pct":-0.94,"volatility_pct":0.34},"series":[{"date":"2026-07-24","rate":0.87897},{"date":"2026-07-27","rate":0.87804},{"date":"2026-07-28","rate":0.87974},{"date":"2026-07-29","rate":0.87873},{"date":"2026-07-30","rate":0.87138},{"date":"2026-07-31","rate":0.8707}],"source":"frankfurter","findings":[{"rule":"non_trading_days_omitted","detail":"ECB publishes business days only — weekends and holidays have no reference rate and are omitted, never interpolated"}],"point_count":6,"cache_age_seconds":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fQOdv4xX5cm9zjL5e7E2m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves historical exchange rate time-series data between any fiat currency pair or crypto ticker, with daily rates, statistical summaries, and trend analytics.","exampleAgentPrompt":"What were the daily USD to EUR exchange rates for the last 30 days, and how much did the rate change over that period?","exampleUseCases":[{"title":"Forex trend report for finance team","prompt":"Pull the daily GBP to USD exchange rates from July 1 to July 31, 2026, and tell me the average rate, the total percent change, and how volatile it was."},{"title":"Crypto portfolio valuation history","prompt":"Get the historical BTC to USD exchange rates for the last 90 days — I need the daily series along with the min, max, and average so I can chart my portfolio value over time."},{"title":"Travel budget currency comparison","prompt":"What were the USD to JPY exchange rates over the past two weeks? I want to see how much the rate moved so I can figure out the best time to convert my money."}],"resultDescription":"Returns a JSON object containing: the base and target currency codes, the requested date range, a daily series array of {date, rate} objects (business days only for ECB-sourced fiat pairs), statistical summaries (min, max, average, percent change first-to-last, and daily volatility as stdev of % changes), the upstream data source name, total point count, cache age in seconds, a stale flag, and any informational findings (e.g. notes about non-trading days being omitted).","failureModes":["Invalid or unsupported currency code returns a validation error — not billed","Date range exceeding source limits (ECB fiat: 366 days, other fiat: 90 days, crypto: 300 days) may be truncated or rejected","Upstream data provider unavailable results in a server error — not billed","Missing required 'from' or 'to' parameters returns an input-validation rejection — not billed","Requesting a weekend or holiday rate for ECB fiat pairs returns no data points for those days (business days only)"],"whenToPreferThis":"Choose this endpoint when you need a time-series of historical exchange rates rather than a single current rate. It is particularly suited for trend analysis, volatility calculations, portfolio valuation over time, or generating charts. It supports both fiat (ISO 4217) and major crypto tickers, and automatically selects the best data source. Prefer this over a spot-rate endpoint when statistical summaries (min, max, average, change %, volatility) are needed without post-processing. Pay-per-call with no API key required makes it ideal for agent-driven or infrequent queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:54:02.049Z","isFirstParty":false,"canonicalSlug":"netintel-currency-exchange-history-api-5812c14d"}