/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/bytes-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bytes-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bytes-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bytes-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"name": "Bytes API",
"notes": "SI uses powers of 1000 (kB, MB, GB); IEC uses powers of 1024 (KiB, MiB, GiB). Unit names are case-insensitive.",
"version": "v1",
"endpoints": [
{
"path": "/v1/format",
"params": {
"bytes": "a byte count (required)",
"system": "si|iec (default iec)",
"decimals": "0-10 (default 2)"
},
"returns": "human string + both si and iec forms"
},
{
"path": "/v1/parse",
"params": {
"value": "\"1.5 GiB\", \"2GB\", \"500 kB\" (required)"
},
"returns": "the size in bytes"
},
{
"path": "/v1/convert",
"params": {
"to": "target unit (required)",
"from": "source unit (default B)",
"value": "amount (required)"
},
"returns": "converted value + bytes"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Humanize, parse and convert byte sizes in both SI (kB, MB, GB — 1000) and IEC (KiB, MiB, GiB — 1024) units. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-02T16:51:45.983Z",
"request_id": "e6102f3f-bda5-4274-bf09-1c86a6e83088"
},
"status": "ok",
"message": "Meta",
"success": true
}