Api Endpoint

Toll402

Exchange rate between two ISO currencies (ECB reference rates), optionally converting an amount.

Open interactive test console

Offering

Provider
toll402.dev
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://toll402.dev/v1/fx
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
Finance, Currency, FX

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

Observed health

Status
Healthy
Latest latency
22 ms
Average latency
959 ms
HTTP status
204
Last checked
Reachability
92.9% over 14 checks

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

Input schema

{
  "body": {
    "amount": 100,
    "base": "USD",
    "quote": "MXN"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "amount": {
              "default": 1,
              "minimum": 0,
              "type": "number"
            },
            "base": {
              "default": "USD",
              "description": "ISO 4217 base currency",
              "maxLength": 3,
              "minLength": 3,
              "type": "string"
            },
            "quote": {
              "description": "ISO 4217 quote currency; omit for all rates",
              "maxLength": 3,
              "minLength": 3,
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "ms": {
              "type": "integer"
            },
            "ok": {
              "type": "boolean"
            },
            "result": {
              "properties": {
                "amount": {
                  "type": "integer"
                },
                "base": {
                  "type": "string"
                },
                "converted": {
                  "type": "integer"
                },
                "date": {
                  "type": "string"
                },
                "quote": {
                  "type": "string"
                },
                "rate": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "tool": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}