# NetIntel Currency Exchange History

> NetIntel Currency Exchange History is a paid API for AI agents from netintel.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns a daily historical exchange-rate series for any fiat or crypto currency pair, with min/max/average/change/volatility stats, over a configurable date range.

## Facts

- Endpoint: GET https://netintel.dev/currency-exchange/history
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-currency-exchange-history-af201453
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__yFNjYp0IFBJTq0fvybEQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability netintel-currency-exchange-history-af201453
```

Example prompt: Pull the daily USD to EUR exchange rate history for the last 60 days and give me the min, max, average, and how much the rate changed over the period.

## When to prefer this

Choose this endpoint when you need historical daily exchange rate data over a date range — for trend analysis, repricing context, volatility assessment, or min/max/average stats — rather than a single spot conversion. It covers both fiat pairs (via ECB reference rates) and crypto pairs (via Coinbase daily closes) with no API key required. Prefer the sibling /currency-exchange/convert endpoint for a single current spot rate.

## Known failure modes

- Missing required 'from' or 'to' query parameters returns a 400 error
- Unsupported or misspelled currency code returns an error or empty series
- Date range exceeding caps (ECB fiat 366d, other fiat 90d, crypto 300d) may return truncated data or an error
- Future end dates return data only up to the latest available close
- Weekend/holiday gaps in fiat ECB data may reduce point count below expected days
- Stale flag set to true if cached data is older than expected refresh cycle

## How this service works

Daily historical exchange-rate series for any currency pair — fiat via ECB reference data, crypto via Coinbase daily closes — with min/max/average/change stats, no API key. Pass start/end dates or a days lookback (default 30). The history sibling of /currency-exchange/convert: trend and repricing context for the pairs agents already quote spot.

## Output

Returns a JSON object containing the currency pair (from/to), date range (start/end), a series array of {date, rate} objects with one entry per calendar day data was available, aggregate stats (min, max, average, change_pct, volatility_pct), the data source used (frankfurter, ecb-xml, currency-api, or coinbase), point count, cache age in seconds, and a stale flag. The rate field represents units of the target currency per 1 unit of the base currency on each date.

## Request schema (JSON Schema)

```json
{
 "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"
         }
        
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-currency-exchange-history-af201453/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
