{"uid":"cap_BJUOQacqH5y5OGNNxW9r2","slug":"agent-forge-human-readable-bytes-formatter-f0d8272e","name":"Agent Forge Human-Readable Bytes Formatter","description":"Hash and unit utilities for AI agents: SHA-256, SHA-1, HMAC-SHA256, stable JSON fingerprint, ETH/Gwei/Wei conversion, human bytes, and duration parsing. Pay-per-request USDC via x402. No API keys, no accounts.","url":"https://agent-forge.annushka1190.workers.dev/v1/bytes","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A_Cv4VlWE1C6PTzfotxsO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a raw byte count into a human-readable string (e.g. '1.23 MB') using standard binary or decimal units","exampleAgentPrompt":"Convert 15728640 bytes into a human-readable size string — like '15 MB' or whatever the appropriate unit is.","exampleUseCases":[{"title":"File upload size display","prompt":"I need to show users how big their uploaded file is — can you convert 2097152 bytes into a readable format like '2 MB'?"},{"title":"Storage quota dashboard label","prompt":"We're displaying used disk space in our dashboard. Convert 1099511627776 bytes to a human-readable label so users see something like '1 TB' instead of a raw number."},{"title":"Network transfer size reporting","prompt":"My agent just downloaded some data and the response header says 524288 bytes — what's that in a friendly readable unit like KB or MB?"}],"resultDescription":"Returns a JSON object with ok: true and a human-readable string representation of the input byte count using appropriate units (B, KB, MB, GB, TB), suitable for display in user interfaces or logs.","failureModes":["Missing or invalid 'input' body causes a 400-level error","Non-numeric byte value results in a parse error","Payment not attached or insufficient USDC causes a 402 Payment Required response","Malformed JSON body returns a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-request, no-account, no-API-key utility to format byte counts into human-readable strings — especially in autonomous agent workflows where provisioning credentials is impractical. Ideal for one-off conversions billed via x402 USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:58.345Z","isFirstParty":false}