{"uid":"cap_SvOewP8VCIoOSxVT6TmT1","slug":"agenttools-data-size-converter-1d913bc0","name":"AgentTools Data Size Converter","description":"Convert digital storage units: bits, bytes, KB, MB, GB, TB (decimal, ×1000) and KiB, MiB, GiB, TiB (binary, ×1024) — both systems side by side. Use this when an agent needs to decimal (KB/MB/GB) and binary (KiB/MiB/GiB) units.","url":"https://agenttools-hub.vercel.app/api/v1/converters/data-size-converter?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value","from","to"],"properties":{"to":{"enum":["TB","GB","MB","KB","B","TiB","GiB","MiB","KiB"],"type":"string","description":"To"},"from":{"enum":["TB","GB","MB","KB","B","TiB","GiB","MiB","KiB"],"type":"string","description":"From"},"value":{"type":"number","description":"Value"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m7OEfcuERhbaoplidY0nI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a numeric value between digital storage units across both decimal (KB/MB/GB/TB) and binary (KiB/MiB/GiB/TiB) systems","exampleAgentPrompt":"Convert 1.5 GB to MiB for me — I need to know the binary equivalent of a decimal storage value.","exampleUseCases":[{"title":"Cloud storage quota comparison","prompt":"I have a cloud plan that gives me 50 GiB but my files show sizes in GB — can you convert 50 GiB to GB so I know the actual decimal size?"},{"title":"File transfer size estimation","prompt":"I need to know how many MiB are in 2.5 GB so I can figure out if my file fits the upload limit."},{"title":"Disk specification translation","prompt":"My SSD is advertised as 1 TB but the OS shows it in GiB — convert 1 TB to GiB so I can see what the OS should be reporting."}],"resultDescription":"Returns the converted numeric value in the specified target unit, covering both decimal (KB, MB, GB, TB based on powers of 1000) and binary (KiB, MiB, GiB, TiB based on powers of 1024) storage measurement systems.","failureModes":["Missing required query parameters (value, from, to) returns an error","Invalid or unsupported unit enum value returns a validation error","Non-numeric value input returns an error","Network or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically convert digital storage sizes between any combination of decimal and binary units in a single call. Especially useful when clarifying the difference between MB and MiB or GB and GiB, which are commonly confused in cloud storage, OS reporting, and hardware specifications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:36:11.260Z","isFirstParty":false,"canonicalSlug":"agenttools-data-size-converter-1d913bc0"}