Human-readable byte sizes
Human-readable byte sizes. Call when presenting file sizes, cache usage, or download progress to users. Returns a human string like 1.5 KB from a byte count. $0.001 USDC per successful call via x402 on Base or Solana—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
1383 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.delx.ai/api/v1/x402/bytes-format
| Category | Market data |
|---|---|
| Provider host | api.delx.ai |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 1383 ms |
Example input (from the provider)
{
"body": {
"bytes": 1536
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"bytes": {
"description": "Byte count to format for humans (e.g. 1536 \u2192 1.5 KB).",
"minimum": 0,
"type": "integer"
}
},
"required": [
"bytes"
],
"type": "object"
},
"bodyType": {
"const": "json",
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"description": "Deterministic structured JSON result from first-party execution. Invalid inputs return a structured error object and are not billed.",
"properties": {
"bytes": {
"type": "integer"
},
"schema": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}