Skip to content
Fourohtwo

lab.fastx402.tools/byte-size-parse

Accepts a file-size string such as 1.5 MiB, 800 KB, or 42 bytes and returns the exact byte count, detected unit system, and normalized IEC and SI forms. Use it when converting human-readable storage values.

BaseDown
GEThttps://lab.fastx402.tools/byte-size-parse

Uptime0.0% of 3 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lab.fastx402.tools/byte-size-parse?size=1.5+MiB");
console.log(await res.json());

Example input

{
  "size": "1.5 MiB"
}

More from FastX402 LabProvider status