Api Endpoint

87-106-119-237.sslip.io

Convert a non-negative weight or mass value between common units. Use this deterministic endpoint when an agent needs a precise unit conversion.

Open interactive test console

Offering

Provider
87-106-119-237.sslip.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://87-106-119-237.sslip.io/api/convert-weight
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
None supplied

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
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xb847fe425f54cbc586f8e735ae4270b82119771e"
  }
]

Observed health

Status
Healthy
Latest latency
1429 ms
Average latency
1507 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "Non-negative decimal weight or mass value."
        },
        "from_unit": {
          "type": "string",
          "enum": [
            "carat",
            "g",
            "kg",
            "lb",
            "long_ton",
            "mg",
            "oz",
            "short_ton",
            "st",
            "tonne",
            "ug"
          ],
          "description": "Input unit."
        },
        "to_unit": {
          "type": "string",
          "enum": [
            "carat",
            "g",
            "kg",
            "lb",
            "long_ton",
            "mg",
            "oz",
            "short_ton",
            "st",
            "tonne",
            "ug"
          ],
          "description": "Output unit."
        }
      },
      "required": [
        "value",
        "from_unit",
        "to_unit"
      ]
    }
  },
  "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": {
            "from_unit": {
              "description": "Input unit.",
              "enum": [
                "carat",
                "g",
                "kg",
                "lb",
                "long_ton",
                "mg",
                "oz",
                "short_ton",
                "st",
                "tonne",
                "ug"
              ],
              "type": "string"
            },
            "to_unit": {
              "description": "Output unit.",
              "enum": [
                "carat",
                "g",
                "kg",
                "lb",
                "long_ton",
                "mg",
                "oz",
                "short_ton",
                "st",
                "tonne",
                "ug"
              ],
              "type": "string"
            },
            "value": {
              "description": "Non-negative decimal weight or mass value.",
              "type": "string"
            }
          },
          "required": [
            "value",
            "from_unit",
            "to_unit"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "from_unit": {
              "type": "string"
            },
            "result": {
              "type": "string"
            },
            "to_unit": {
              "type": "string"
            },
            "value": {
              "type": "string"
            }
          },
          "required": [
            "value",
            "from_unit",
            "to_unit",
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}