# AgentTools Data Size Converter

> AgentTools Data Size Converter is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts a numeric value between digital storage units across both decimal (KB/MB/GB/TB) and binary (KiB/MiB/GiB/TiB) systems

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/converters/data-size-converter?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-data-size-converter-1d913bc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SvOewP8VCIoOSxVT6TmT1

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-data-size-converter-1d913bc0
```

Example prompt: Convert 1.5 GB to MiB for me — I need to know the binary equivalent of a decimal storage value.

## When to prefer this

Use this endpoint when an agent needs to programmatically convert digital storage sizes between any combination of decimal and binary units in a single call. Especially useful when clarifying the difference between MB and MiB or GB and GiB, which are commonly confused in cloud storage, OS reporting, and hardware specifications.

## Known failure modes

- Missing required query parameters (value, from, to) returns an error
- Invalid or unsupported unit enum value returns a validation error
- Non-numeric value input returns an error
- Network or service unavailability returns a 5xx error

## How this service works

Convert digital storage units: bits, bytes, KB, MB, GB, TB (decimal, ×1000) and KiB, MiB, GiB, TiB (binary, ×1024) — both systems side by side. Use this when an agent needs to decimal (KB/MB/GB) and binary (KiB/MiB/GiB) units.

## Output

Returns the converted numeric value in the specified target unit, covering both decimal (KB, MB, GB, TB based on powers of 1000) and binary (KiB, MiB, GiB, TiB based on powers of 1024) storage measurement systems.

## 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": [
        "TB",
        "GB",
        "MB",
        "KB",
        "B",
        "TiB",
        "GiB",
        "MiB",
        "KiB"
       ],
       "type": "string",
       "description": "To"
      },
      "from": {
       "enum": [
        "TB",
        "GB",
        "MB",
        "KB",
        "B",
        "TiB",
        "GiB",
        "MiB",
        "KiB"
       ],
       "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-data-size-converter-1d913bc0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
