# Vibesprings Forex Historical Time-Series

> Vibesprings Forex Historical Time-Series is a paid API for AI agents from vibesprings.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Retrieves daily historical exchange rates for a currency pair over a custom date range and returns summary statistics including min, max, average, open/close, and percent change.

## Facts

- Endpoint: GET https://vibesprings.net/api/exchange/history
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibesprings-net-48972932
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AUPPpu-foqBpx8GSsBOb8

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 vibesprings-net-48972932
```

Example prompt: Can you pull the daily USD to EUR exchange rates from January 1, 2024 to March 31, 2024, including the average, min, max, and total percent change over that period?

## When to prefer this

Use this endpoint when you need historical daily forex rates with pre-computed statistics (min, max, average, open/close, percent change) for a specific currency pair over a custom date range up to 365 days. Prefer it over a live-rate endpoint when historical trend analysis or summary statistics are the goal rather than a current spot price.

## Known failure modes

- Date range exceeds 365 days — API returns an error; split into smaller ranges
- Invalid ISO currency code — API returns an error about unsupported currency
- Start date after end date — API returns a validation error
- Unsupported currency pair not covered by ECB data — returns empty or error
- Missing required start or end query parameter — returns 400-level error

## How this service works

Historical foreign exchange (Forex) time-series database. Retrieve daily historical rates for any currency pair over a custom date range up to 365 days. Automatically computes complete summary statistics including minimum rate, maximum rate, time-weighted average rate, opening/closing rates, and total percentage change.

## Output

Returns an object with the base and target currency, the date range and number of trading days, a summary object with avg/min/max/open/close rates and percent change, and a full time-series array of date-rate pairs for every trading day in the range.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "to": "EUR",
   "end": "2024-03-31",
   "base": "USD",
   "start": "2024-01-01"
  }
 }
}
```

## 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": [
      "start",
      "end"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target currency ISO code (e.g. EUR, GBP)"
      },
      "end": {
       "type": "string",
       "description": "End date for time-series query in YYYY-MM-DD format (maximum range: 365 days)"
      },
      "base": {
       "type": "string",
       "description": "Base currency ISO code (e.g. USD, EUR)"
      },
      "start": {
       "type": "string",
       "description": "Start date for time-series query in YYYY-MM-DD format"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "period": {
   "end": "2024-12-31",
   "start": "2024-01-01",
   "tradingDays": 252
  },
  "target": "EUR",
  "summary": {
   "avg": 0.9215,
   "max": 0.9432,
   "min": 0.8975,
   "changePercent": -1.23
  },
  "timeSeries": [
   {
    "date": "2024-01-02",
    "rate": 0.9185
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibesprings-net-48972932/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibesprings.net](https://www.zero.xyz/host/vibesprings.net/llms.txt)
