# Weight Unit Converter API

> Weight Unit Converter API is a paid API for AI agents from weight402endpoint.vercel.app, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-15).

Converts a weight or mass value between units such as kg, g, lb, oz, stone, and tonne

## Facts

- Endpoint: GET https://weight402endpoint.vercel.app/api/convert-weight
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weight-unit-converter-api-9df58014
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZRGjw5yc3f45FgcEBP1mL

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 weight-unit-converter-api-9df58014
```

Example prompt: Convert 185 pounds to kilograms for me.

## When to prefer this

Use this endpoint when you need a simple, fast, single-value weight or mass unit conversion between common units like kg, g, lb, oz, stone, or tonne, especially when a lightweight pay-per-call approach is preferred over integrating a full-featured unit conversion SDK.

## Known failure modes

- Missing required input parameter returns 400 error
- Unsupported unit type returns an error indicating valid units
- Non-numeric weight value causes validation failure
- Payment not provided or insufficient results in 402 Payment Required

## How this service works

Convert a weight/mass value between units (kg, g, lb, oz, stone, tonne, and more).

## Output

Returns the converted weight value in the requested target unit, given a source value and unit pair.

## 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",
     "properties": {}
    }
   },
   "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/weight-unit-converter-api-9df58014/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weight402endpoint.vercel.app](https://www.zero.xyz/host/weight402endpoint.vercel.app/llms.txt)
