Api Endpoint

x402-trends-server.onrender.com

Convert money between currency codes using current reference exchange-rate data. Use this endpoint for USD, EUR, GBP, JPY, and other supported fiat conversions when an agent needs a rate, converted amount, or currency comparison.

Open interactive test console

Offering

Provider
x402-trends-server.onrender.com
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://x402-trends-server.onrender.com/api/exchange-rate
MIME type
application/json
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
44 ms
Average latency
58 ms
HTTP status
402
Last checked
Reachability
100% over 5 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 code such as USD, EUR, GBP, or JPY."
        },
        "to": {
          "type": "string",
          "description": "Three-letter target currency code such as EUR, USD, GBP, or JPY."
        },
        "amount": {
          "type": "number",
          "exclusiveMinimum": 0,
          "description": "Amount of source currency to convert. Defaults to 1."
        }
      },
      "required": [
        "from",
        "to"
      ],
      "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 of source currency to convert. Defaults to 1.",
              "exclusiveMinimum": 0,
              "type": "number"
            },
            "from": {
              "description": "Three-letter source currency code such as USD, EUR, GBP, or JPY.",
              "type": "string"
            },
            "to": {
              "description": "Three-letter target currency code such as EUR, USD, GBP, or JPY.",
              "type": "string"
            }
          },
          "required": [
            "from",
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "amount": {
              "type": "number"
            },
            "convertedAmount": {
              "type": "number"
            },
            "date": {
              "type": [
                "string",
                "null"
              ]
            },
            "from": {
              "type": "string"
            },
            "payment": {
              "type": "string"
            },
            "rate": {
              "type": "number"
            },
            "source": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "to": {
              "type": "string"
            }
          },
          "required": [
            "status",
            "from",
            "to",
            "amount",
            "rate",
            "convertedAmount"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}