{"uid":"cap_4yreIaDMwEJLoJvm7NkOX","slug":"vextorium-base-numerica-integer-base-converter-e4509b33","name":"Vextorium Base Numerica – Integer Base Converter","description":"Convert integers of any size (signed) between bases 2 to 36: binary, octal, decimal, hex, base32, base36, with bit and byte length and two's complement. Accepts 0x/0b/0o prefixes.","url":"https://api.vextorium.com/base-numerica-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array","items":{"type":"integer"},"description":"Output bases (default 2,8,10,16,36)"},"de":{"type":"integer","description":"Input base (default 10)"},"valor":{"type":"string"}}},"responseSchema":{"type":"json","example":{"bits":8,"bytes":1,"decimal":"255","entrada":"0xff","base_entrada":16,"conversiones":{"2":"11111111","8":"377","10":"255","16":"ff"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XXHI9TzO0157qb7MsU3Kz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts signed integers of any size between bases 2–36 (binary, octal, decimal, hex, base32, base36) with bit/byte length and two's complement, accepting 0x/0b/0o prefixes.","exampleAgentPrompt":"Convert 0xff from hex to binary, octal, decimal, and base 36, and tell me how many bits and bytes it takes up.","exampleUseCases":[{"title":"Hex color code to binary breakdown","prompt":"Take the hex value 0x1A3F and convert it to binary, decimal, and octal — and tell me how many bits wide it is."},{"title":"Signed negative integer in two's complement","prompt":"What does -128 look like in binary (two's complement), hex, and octal? Also tell me the bit and byte length."},{"title":"Base 36 encoding for compact IDs","prompt":"Convert the decimal number 987654321 to base 36 and base 16 so I can use it as a compact identifier."}],"resultDescription":"A JSON object containing the original input string, the detected or specified input base, the decimal canonical form, bit length, byte length, and a 'conversiones' map from each requested output base (as a string key) to the converted value string.","failureModes":["Missing required 'valor' field returns a validation error","Invalid characters for the specified input base cause a parse error","Unsupported base (outside 2–36) returns an error","Extremely large integers may hit processing limits","Malformed prefix (e.g. '0x' with no digits) may return a null or error response"],"whenToPreferThis":"Choose this endpoint when you need multi-base integer conversion with metadata (bit/byte length, two's complement) in a single call, especially when handling prefixed literals like 0x, 0b, or 0o. Prefer it over general-purpose code execution when you want a lightweight, deterministic, paid-API conversion without spinning up a runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:46:26.138Z","isFirstParty":false,"canonicalSlug":"vextorium-base-numerica-integer-base-converter-e4509b33"}