Api Endpoint

FXRate by YourAITools

Historical exchange rate API for AI agents. Daily ECB reference rates for one currency pair between two dates (up to 366 days, back to 1999), with first, last, min, max and percent change. Search intents: historical exchange rates api, fx time series, currency history, eur usd chart data, forex history.

Open interactive test console

Offering

Provider
api.youraitools.co
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://api.youraitools.co/fx/v1/history
MIME type
application/json
First seen
2026-10-25T21:33:42.825Z
Last seen
Tags
currency-converter, exchange-rates, FX, forex, finance-data

Payment pricing

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

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  }
]

Observed health

Status
Healthy
Latest latency
193 ms
Average latency
285 ms
HTTP status
402
Last checked
Reachability
100% over 12 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"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "base": {
          "type": "string",
          "description": "Base currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
        },
        "quote": {
          "type": "string",
          "description": "Quote currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)"
        },
        "start": {
          "type": "string",
          "description": "YYYY-MM-DD start date"
        },
        "end": {
          "type": "string",
          "description": "YYYY-MM-DD end date (default: today); max 366 days after start"
        }
      },
      "required": [
        "base",
        "quote",
        "start"
      ],
      "description": "Search intents: historical exchange rates api, fx time series, currency history, eur usd history, forex history"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "description": "Search intents: historical exchange rates api, fx time series, currency history, eur usd history, forex history",
          "properties": {
            "base": {
              "description": "Base currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)",
              "type": "string"
            },
            "end": {
              "description": "YYYY-MM-DD end date (default: today); max 366 days after start",
              "type": "string"
            },
            "quote": {
              "description": "Quote currency: ISO 4217 code, e.g. USD, EUR, GBP, JPY (31 supported)",
              "type": "string"
            },
            "start": {
              "description": "YYYY-MM-DD start date",
              "type": "string"
            }
          },
          "required": [
            "base",
            "quote",
            "start"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "base": {
              "type": "string"
            },
            "end": {
              "type": "string"
            },
            "points": {
              "items": {
                "properties": {
                  "date": {
                    "type": "string"
                  },
                  "rate": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "quote": {
              "type": "string"
            },
            "source": {
              "type": "string"
            },
            "start": {
              "type": "string"
            },
            "stats": {
              "properties": {
                "change_pct": {
                  "type": "number"
                },
                "first": {
                  "type": "number"
                },
                "last": {
                  "type": "number"
                },
                "max": {
                  "type": "number"
                },
                "min": {
                  "type": "number"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "base",
            "quote",
            "points"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}