# Agentshelf SI Byte Size Parser

> Agentshelf SI Byte Size Parser is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Parses a human-readable SI (base-1000) byte size string (e.g. '2.5 GB') into its integer byte count.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/bytes-si?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-si-byte-size-parser-0de8feb7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hhDagWKgmryAR2jhASLvZ

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 agentshelf-si-byte-size-parser-0de8feb7 -d '<json body>'
```

Example prompt: Parse the text '2.5 GB' using SI (base-1000) units and give me the exact integer number of bytes.

## When to prefer this

Use this endpoint when you need to programmatically convert a human-readable SI (base-1000) byte size string into an integer and no free local parser is available. Prefer the unpaid sandbox endpoint POST /v1/sandbox/bytes-si first if accessible; fall back to this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- Unrecognized or malformed byte size string returns an error
- Empty or missing text field returns a validation error
- IEC (base-1024) formatted values may be misinterpreted as SI
- Non-byte-size text input may return a parse error or unexpected result

## How this service works

Call when an agent needs a SI (1000) byte size parsed to an integer. No network. Send JSON {"text":"1.5 KB"}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/bytes-si first.

## Output

An integer representing the byte count equivalent of the input SI byte size string, computed using base-1000 (SI) unit prefixes (kilo=1000, mega=1000^2, giga=1000^3, etc.).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "1.5 KB"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-si-byte-size-parser-0de8feb7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
