# agent402.tools Grams to Tonnes Converter

> agent402.tools Grams to Tonnes Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Converts a numeric value in grams to its equivalent in metric tonnes via a simple GET request.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/grams-to-tonnes
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-grams-to-tonnes-converter-8d87a7cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_otYG84XDdxkekze78dzwA

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 agent402-tools-grams-to-tonnes-converter-8d87a7cb
```

Example prompt: Convert 750000 grams to tonnes for me.

## When to prefer this

Use this endpoint when you need a quick, programmatic conversion from grams to metric tonnes and want a reliable API call rather than computing it manually. Ideal for AI agents handling scientific, logistics, or industrial data where mass unit normalization is required.

## Known failure modes

- Missing or non-numeric value parameter returns error
- Value parameter is empty string
- Payment not processed (x402 payment required before result is returned)
- Extremely large or malformed numbers may cause overflow or rejection

## How this service works

Convert grams to tonnes (mass). Pass ?value=N.

## Output

Returns the converted mass value in metric tonnes corresponding to the input grams value.

## 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"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Numeric value to convert"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-grams-to-tonnes-converter-8d87a7cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
