Api Endpoint

currency-api-production-4a8d.up.railway.app

Historical fiat exchange rates for a given date (YYYY-MM-DD, back to 1999-01-04) and base currency; optionally restrict to specific targets.

Open interactive test console

Offering

Provider
currency-api-production-4a8d.up.railway.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://currency-api-production-4a8d.up.railway.app/rates/historical
MIME type
Not provided
First seen
2026-10-16T01:53:06.460Z
Last seen
Tags
None supplied

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": "0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1"
  }
]

Observed health

Status
Reachable
Latest latency
108 ms
Average latency
376 ms
HTTP status
405
Last checked
Reachability
100% over 14 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": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "Date in YYYY-MM-DD format, back to 1999-01-04, e.g. '2024-01-15'."
        },
        "base": {
          "type": "string",
          "description": "Base currency ISO 4217 code, e.g. 'USD'. Defaults to USD if omitted."
        },
        "symbols": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional list of target currency codes to restrict the response, e.g. ['EUR', 'GBP']. Omit for all rates."
        }
      },
      "required": [
        "date"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "base": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "rates": {
          "type": "object",
          "description": "Map of target currency code to historical exchange rate relative to base."
        },
        "cached": {
          "type": "boolean"
        },
        "source": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}