Api Endpoint

AIPayGen

Daily exchange rate history between currencies over a date range (European Central Bank reference rates, back to 1999), with the change over the period, high and low. For charts, backtests, invoices and trend questions.

Open interactive test console

Offering

Provider
aipaygen.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://aipaygen.com/v1/fx_history
MIME type
application/json
First seen
2026-11-16T17:39:40.763Z
Last seen
Tags
Finance, market-data, Data

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0"
  }
]

Observed health

Status
Healthy
Latest latency
47 ms
Average latency
347 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "base": {
          "type": "string",
          "pattern": "^[A-Za-z]{3}$",
          "description": "Currency code to convert from, e.g. \"USD\"."
        },
        "symbols": {
          "minItems": 1,
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[A-Za-z]{3}$"
          },
          "description": "Currencies to show, e.g. [\"EUR\", \"JPY\"]."
        },
        "start": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "First day, YYYY-MM-DD."
        },
        "end": {
          "description": "Last day, YYYY-MM-DD. Default today.",
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      "required": [
        "base",
        "symbols",
        "start"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}