Api Endpoint

1gateway

Use when you need an official daily FX rate or currency conversion (USD, EUR, KRW, JPY, CNY, GBP + 24 more). Input: base (default EUR), optional symbols (comma list), date (YYYY-MM-DD, last ~90 days; weekends use the prior fixing), amount. Output: JSON rates for the fixing date, % change vs prior fixing, converted amounts, raw ECB EUR rates. Source: ECB statistics, updated each TARGET day ~16:00 CET; reference only. Example: ?base=USD&symbols=KRW,JPY&amount=100

Open interactive test console

Offering

Provider
1gateway.dev
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://1gateway.dev/v1/fx/rates
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
FX, exchange-rates, currency-conversion, ECB, krw

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: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
551 ms
Average latency
1368 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": {
        "base": {
          "type": "string",
          "description": "Base currency, ISO 4217 (one of the 30 ECB reference currencies; default EUR)",
          "enum": [
            "EUR",
            "USD",
            "JPY",
            "KRW",
            "CNY",
            "GBP",
            "AUD",
            "BRL",
            "CAD",
            "CHF",
            "CZK",
            "DKK",
            "HKD",
            "HUF",
            "IDR",
            "ILS",
            "INR",
            "ISK",
            "MXN",
            "MYR",
            "NOK",
            "NZD",
            "PHP",
            "PLN",
            "RON",
            "SEK",
            "SGD",
            "THB",
            "TRY",
            "ZAR"
          ],
          "default": "EUR",
          "examples": [
            "USD"
          ]
        },
        "symbols": {
          "type": "string",
          "description": "Comma-separated target currencies (default: all). Supported: EUR,USD,JPY,KRW,CNY,GBP,AUD,BRL,CAD,CHF,CZK,DKK,HKD,HUF,IDR,ILS,INR,ISK,MXN,MYR,NOK,NZD,PHP,PLN,RON,SEK,SGD,THB,TRY,ZAR",
          "pattern": "^[A-Za-z]{3}(,[A-Za-z]{3})*$",
          "examples": [
            "KRW,JPY,EUR"
          ]
        },
        "date": {
          "type": "string",
          "description": "Fixing date YYYY-MM-DD within the last ~90 days (default latest)",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "examples": [
            "2026-10-09"
          ]
        },
        "amount": {
          "type": "number",
          "description": "Amount in base currency to convert",
          "minimum": 0,
          "examples": [
            100
          ]
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "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": {
          "additionalProperties": false,
          "properties": {
            "amount": {
              "description": "Amount in base currency to convert",
              "examples": [
                100
              ],
              "minimum": 0,
              "type": "number"
            },
            "base": {
              "default": "EUR",
              "description": "Base currency, ISO 4217 (one of the 30 ECB reference currencies; default EUR)",
              "enum": [
                "EUR",
                "USD",
                "JPY",
                "KRW",
                "CNY",
                "GBP",
                "AUD",
                "BRL",
                "CAD",
                "CHF",
                "CZK",
                "DKK",
                "HKD",
                "HUF",
                "IDR",
                "ILS",
                "INR",
                "ISK",
                "MXN",
                "MYR",
                "NOK",
                "NZD",
                "PHP",
                "PLN",
                "RON",
                "SEK",
                "SGD",
                "THB",
                "TRY",
                "ZAR"
              ],
              "examples": [
                "USD"
              ],
              "type": "string"
            },
            "date": {
              "description": "Fixing date YYYY-MM-DD within the last ~90 days (default latest)",
              "examples": [
                "2026-10-09"
              ],
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "symbols": {
              "description": "Comma-separated target currencies (default: all). Supported: EUR,USD,JPY,KRW,CNY,GBP,AUD,BRL,CAD,CHF,CZK,DKK,HKD,HUF,IDR,ILS,INR,ISK,MXN,MYR,NOK,NZD,PHP,PLN,RON,SEK,SGD,THB,TRY,ZAR",
              "examples": [
                "KRW,JPY,EUR"
              ],
              "pattern": "^[A-Za-z]{3}(,[A-Za-z]{3})*$",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "amount": {
              "type": "integer"
            },
            "attribution": {
              "type": "string"
            },
            "base": {
              "type": "string"
            },
            "changePctVsPrevious": {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            "converted": {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            "date": {
              "type": "string"
            },
            "derived": {
              "type": "boolean"
            },
            "ecbEurRates": {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            "names": {
              "properties": {
                "EUR": {
                  "type": "string"
                },
                "JPY": {
                  "type": "string"
                },
                "KRW": {
                  "type": "string"
                },
                "USD": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "notes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "previousDate": {
              "type": "string"
            },
            "rates": {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            "requestedDate": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "base",
            "date",
            "requestedDate",
            "previousDate",
            "rates",
            "changePctVsPrevious",
            "derived",
            "ecbEurRates",
            "names",
            "notes",
            "attribution"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}