ToolAssay

Forex API

Forex API: exchange rates for 30+ currencies (USD, EUR, GBP, JPY, CHF, CNY, INR, BRL...). Three modes in one route: latest rates, rates on a past date, or a daily time series up to 366 days with first / last / min / max and percent change per currency. Central-bank reference rates (ECB), business days, back to 1999. Try GET /forex-history/sample. No result, no charge.

Answeringour last check, 2026-11-27
4 of 4checks answered this week
1054 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402.agentindex.world/forex-history

CategoryMarket data
Provider hostx402.agentindex.world
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.01 999 ms
2026-11-26 valid payment request 402$0.01 1059 ms
2026-11-25 valid payment request 402$0.01 1049 ms
2026-11-24 valid payment request 402$0.01 1145 ms

Example input (from the provider)

{
  "body": {
    "base": "USD",
    "end_date": "2026-01-06",
    "start_date": "2026-01-02",
    "symbols": [
      "EUR",
      "GBP"
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "base": {
              "default": "USD",
              "description": "Base currency (ISO 4217).",
              "type": "string"
            },
            "date": {
              "description": "YYYY-MM-DD for rates on one day (omit for latest).",
              "type": "string"
            },
            "end_date": {
              "description": "YYYY-MM-DD: end of the series (default today).",
              "type": "string"
            },
            "start_date": {
              "description": "YYYY-MM-DD: start of a daily time series (max 366 days).",
              "type": "string"
            },
            "symbols": {
              "description": "Target currencies; empty = all.",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "base": {
              "type": "string"
            },
            "date": {
              "type": "string"
            },
            "rates": {
              "type": "object"
            },
            "series": {
              "type": "array"
            },
            "stats": {
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON