# SignalDesk AI – Milligram to Kilogram Converter

> SignalDesk AI – Milligram to Kilogram Converter is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts a numeric mass value from milligrams to kilograms using IEEE-754 double precision arithmetic.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/mass/milligram-to-kilogram?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-milligram-to-kilogram-converter-96783a84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-AMJXDXULQ96gRpOQg8PE

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 signaldesk-ai-milligram-to-kilogram-converter-96783a84
```

Example prompt: Convert 250 milligrams to kilograms for me — I need the precise numeric result.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, pay-per-call milligram-to-kilogram conversion with a structured JSON response and IEEE-754 precision guarantees — particularly useful in automated pipelines where you want an external computation service rather than inline arithmetic, or when operating within the x402 micropayment ecosystem.

## Known failure modes

- Missing required 'value' query parameter returns a validation error
- Negative input value rejected (minimum: 0)
- Extremely large values beyond Number.MAX_VALUE may lose precision due to IEEE-754 limits
- Non-numeric 'value' parameter returns a type validation error
- Payment not provided or insufficient USDC results in HTTP 402 Payment Required

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object containing the original value and unit ('milligram'), the converted value in kilograms, the target unit ('kilogram'), the physical dimension ('mass'), and a precision note ('IEEE-754 double'). Example: {"from":"milligram","to":"kilogram","value":123.45,"converted":0.00012345,"dimension":"mass","precision":"IEEE-754 double"}.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "number",
       "maximum": 1e+100,
       "minimum": 0,
       "description": "Amount in milligrams."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "kilogram",
  "from": "milligram",
  "value": 123.45,
  "converted": 0.00012345,
  "dimension": "mass",
  "precision": "IEEE-754 double"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-milligram-to-kilogram-converter-96783a84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
