# agent402.tools Grains to Ounces Converter

> agent402.tools Grains to Ounces 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 grains (mass) to the equivalent value in ounces via a simple GET request.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/grains-to-ounces
- 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-grains-to-ounces-converter-c88168d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BjwMZTeWHybe8dTy5kMR3

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-grains-to-ounces-converter-c88168d7
```

Example prompt: How many ounces is 437.5 grains? Can you convert that for me?

## When to prefer this

Use this endpoint when an agent needs a quick, precise grains-to-ounces mass unit conversion and is operating within an x402 micropayment-capable environment. Prefer it over general-purpose calculation tools when the agent pipeline already handles USDC micropayments and needs a dedicated, reliable conversion for grain measurements commonly used in ballistics, pharmacy, or precious metals contexts.

## Known failure modes

- Missing or non-numeric value parameter returns an error
- Value parameter of zero or negative may return unexpected results
- Payment of 0.001 USDC not fulfilled results in 402 Payment Required
- Extremely large numeric inputs may cause overflow or precision errors

## How this service works

Convert grains to ounces (mass). Pass ?value=N.

## Output

Returns the converted mass value in ounces corresponding to the provided grain input, as a numeric result.

## 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-grains-to-ounces-converter-c88168d7/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)
