Api Endpoint

crypto-convert

Convert token units (wei/gwei/ether or arbitrary decimals), between hex and int, and compute/validate an EIP-55 checksummed address.

Open interactive test console

Offering

Provider
api.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentstools.dev/crypto/convert
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
Crypto, units, wei, gwei, ether, decimals, eip55, checksum, convert

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

Observed health

Status
Healthy
Latest latency
371 ms
Average latency
1092 ms
HTTP status
402
Last checked
Reachability
100% over 12 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "op": {
          "type": "string",
          "enum": [
            "units",
            "checksum",
            "hex"
          ]
        },
        "value": {
          "description": "Amount for op=units; integer or 0x hex for op=hex"
        },
        "from": {
          "description": "Source unit for op=units: wei, gwei, ether, or an integer decimals count"
        },
        "to": {
          "description": "Target unit for op=units; for op=hex use int or hex"
        },
        "address": {
          "type": "string",
          "description": "Address to checksum/validate (op=checksum)"
        }
      },
      "required": [
        "op"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "Address to checksum/validate (op=checksum)",
              "type": "string"
            },
            "from": {
              "description": "Source unit for op=units: wei, gwei, ether, or an integer decimals count"
            },
            "op": {
              "enum": [
                "units",
                "checksum",
                "hex"
              ],
              "type": "string"
            },
            "to": {
              "description": "Target unit for op=units; for op=hex use int or hex"
            },
            "value": {
              "description": "Amount for op=units; integer or 0x hex for op=hex"
            }
          },
          "required": [
            "op"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}