Api Endpoint

fittings

Converts an amount between currencies at the European Central Bank daily reference rate, for the latest publication or any past date back to 1999.

Open interactive test console

Offering

Provider
fittings.sh
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://fittings.sh/v1/fx/convert
MIME type
application/json
First seen
2026-10-16T01:54:06.400Z
Last seen
Tags
FX

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
1919 ms
Average latency
1957 ms
HTTP status
402
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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "description": "Three-letter source currency, e.g. USD"
        },
        "to": {
          "type": "string",
          "description": "Three-letter target currency, e.g. EUR"
        },
        "amount": {
          "type": "number",
          "description": "Amount in the source currency, default 1"
        },
        "date": {
          "type": "string",
          "description": "Optional ISO date, 1999-01-04 onward. Omit for the latest publication."
        }
      },
      "required": [
        "from",
        "to"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "description": "Three-letter source currency, e.g. USD"
            },
            "to": {
              "type": "string",
              "description": "Three-letter target currency, e.g. EUR"
            },
            "amount": {
              "type": "number",
              "description": "Amount in the source currency, default 1"
            },
            "date": {
              "type": "string",
              "description": "Optional ISO date, 1999-01-04 onward. Omit for the latest publication."
            }
          },
          "required": [
            "from",
            "to"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}