# Data Size Unit Converter with Transfer Time

> Data Size Unit Converter with Transfer Time is a paid API for AI agents from units-convert.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Converts a data size value between decimal (B/KB/MB/GB/TB/PB) and binary (KiB/MiB/GiB/TiB/PiB) units, and optionally calculates transfer time at a given link speed in Mbps.

## Facts

- Endpoint: GET https://units-convert.x402tookit.com/data-size?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/data-size-unit-converter-with-transfer-time-a5a94120
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Dgf7h3lM5P7KdDqgQJHQ

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 data-size-unit-converter-with-transfer-time-a5a94120
```

Example prompt: How many GiB is 500 GB, and how long would it take to transfer that at 1000 Mbps?

## When to prefer this

Use this endpoint when you need to convert a data size between decimal (KB/MB/GB/TB/PB) and binary (KiB/MiB/GiB/TiB/PiB) prefixes, or when you need to estimate how long a file transfer will take at a known link speed. It is the right choice for storage planning, network throughput calculations, and resolving confusion between SI and IEC data size standards.

## Known failure modes

- Missing required 'value' or 'unit' query parameters returns an error
- Invalid unit string (not in the accepted enum) causes a validation failure
- Negative or non-numeric value for 'value' may result in an error or unexpected output
- Very large numbers may hit precision limits

## How this service works

Convert data sizes between bytes, KB/MB/GB/TB (decimal) and KiB/MiB/GiB/TiB (binary), and the time to transfer at a speed.

## Output

Returns the input data size expressed in all common decimal units (bytes, bits, KB, MB, GB, TB) and binary units (KiB, MiB, GiB, TiB), plus a human-readable summary. If a link speed (speed_mbps) is provided, also returns the estimated transfer time in seconds and as a human-readable string.

## 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",
      "unit"
     ],
     "properties": {
      "unit": {
       "type": "string",
       "description": "b, kb, mb, gb, tb, pb (decimal) or kib, mib, gib, tib, pib (binary)"
      },
      "value": {
       "type": "number",
       "description": "The size"
      },
      "speed_mbps": {
       "type": "number",
       "description": "Link speed in megabits per second for transfer time"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "gb": {
       "type": [
        "null",
        "number"
       ]
      },
      "kb": {
       "type": [
        "null",
        "number"
       ]
      },
      "mb": {
       "type": [
        "null",
        "number"
       ]
      },
      "tb": {
       "type": [
        "null",
        "number"
       ]
      },
      "gib": {
       "type": [
        "null",
        "number"
       ]
      },
      "kib": {
       "type": [
        "null",
        "number"
       ]
      },
      "mib": {
       "type": [
        "null",
        "number"
       ]
      },
      "tib": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bits": {
       "type": [
        "null",
        "number"
       ]
      },
      "bytes": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/data-size-unit-converter-with-transfer-time-a5a94120/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from units-convert.x402tookit.com](https://www.zero.xyz/host/units-convert.x402tookit.com/llms.txt)
