Skip to content
Fourohtwo

Human-readable byte sizes

api.delx.ai/api/v1/x402/bytes-format

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.

BaseUnchecked
https://api.delx.ai/api/v1/x402/bytes-format

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.delx.ai/api/v1/x402/bytes-format");
console.log(await res.json());