# AgentTools Weight & Mass Unit Converter

> AgentTools Weight & Mass Unit Converter is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Converts a numeric value between weight/mass units including metric tons, kilograms, grams, milligrams, pounds, ounces, and stones using exact international definitions.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/converters/weight-converter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-weight-mass-unit-converter-38b31873
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cf2dzaGUOI0xriCNQWc7c

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttools-weight-mass-unit-converter-38b31873
```

Example prompt: Can you convert 175 pounds to kilograms for me?

## When to prefer this

Choose this endpoint when an agent needs a quick, precise weight or mass unit conversion between any of the seven standard units (metric tons, kg, g, mg, lb, oz, st). It is ideal for recipe scaling, fitness tracking, shipping calculations, or any workflow requiring reliable unit normalization. Prefer it over general-purpose math tools when the explicit weight-unit semantics and guaranteed international definitions matter.

## Known failure modes

- Missing required query parameter (value, from, or to) returns an error
- Unsupported unit code outside the allowed enum (t, kg, g, mg, lb, oz, st) returns a validation error
- Non-numeric value input causes a bad request error
- Payment failure or missing x402 payment header results in 402 Payment Required

## How this service works

Convert between weight and mass units: metric tons, kilograms, grams, milligrams, pounds, ounces and stones with exact international definitions. Use this when an agent needs to kilograms, pounds, ounces and more.

## Output

Returns the numeric converted value in the requested target unit, computed using exact international unit definitions. The response includes the converted amount ready for display or further processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "enum": [
        "t",
        "kg",
        "g",
        "mg",
        "lb",
        "oz",
        "st"
       ],
       "type": "string",
       "description": "To"
      },
      "from": {
       "enum": [
        "t",
        "kg",
        "g",
        "mg",
        "lb",
        "oz",
        "st"
       ],
       "type": "string",
       "description": "From"
      },
      "value": {
       "type": "number",
       "description": "Value"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-weight-mass-unit-converter-38b31873/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
