Api Endpoint

Currency Converter (ECB)

Currency converter (ECB reference rates): convert an amount from one currency to one or more others, e.g. 250 USD to EUR, GBP and JPY, at the latest European Central Bank rate or any day in the last 90 days. Returns the rate, converted amount and rate date for each target. 30 currencies. Reference rates, not transaction rates. Source: ECB. Signed receipt.

Open interactive test console

Offering

Provider
api.stablecoingateways.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://api.stablecoingateways.com/v1/fx/convert
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
currency-converter, FX, convert-currency, exchange-rates, ECB

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
Payment option 2
1143 atomic units
Atomic price: 1143 · Network: xrpl:0 · Asset: XRP · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Payment option 4
1143 atomic units
Atomic price: 1143 · Network: xrpl:1 · Asset: XRP · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x39BF4378b74f9E19c5113b00b01f57d94537bad1"
  },
  {
    "scheme": "exact",
    "network": "xrpl:0",
    "asset": "XRP",
    "amount": "1143",
    "payTo": "r3BsahzSMtF4HiJuL8HMf1se6T1JtMB6hg"
  },
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "1000",
    "payTo": "0x3177FA489523ddF60f293898f7Ee5912576f3d9b"
  },
  {
    "scheme": "exact",
    "network": "xrpl:1",
    "asset": "XRP",
    "amount": "1143",
    "payTo": "rDbkEYdqLHcnWAHAVFwhH6KM6puCPbXNgs"
  }
]

Observed health

Status
Healthy
Latest latency
293 ms
Average latency
640 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "description": "Amount to convert",
          "pattern": "^[0-9]{1,15}(\\.[0-9]{1,8})?$",
          "type": "string"
        },
        "date": {
          "description": "Rate date YYYY-MM-DD within the last 90 days; d…",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "type": "string"
        },
        "from": {
          "description": "Source currency (ISO 4217)",
          "pattern": "^[A-Za-z]{3}$",
          "type": "string"
        },
        "to": {
          "description": "Comma-separated target currencies (ISO 4217), 1…",
          "pattern": "^[A-Za-z]{3}(,[A-Za-z]{3}){0,9}$",
          "type": "string"
        }
      },
      "required": [
        "from",
        "to",
        "amount"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

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