{"uid":"cap_M4hVaRZ9BT6WUJhu0xwVb","slug":"moneytools-number-base-converter-bigint-bf7c502d","name":"MoneyTools Number Base Converter (BigInt)","description":"Number base converter (BigInt): Convert big integers between bases 2-36 (hex/bin/oct/dec, 0x/0b/0o prefixes) with two's complement for 8-256 bits. Free tier 10/day; then $0.001 via x402 (HTTP 402 + PAYMENT-REQUIRED) or X-API-Key credits. Not charged on failure. $0.001 USDC per call via x402 on Base. Run by MoneyTools.","url":"https://tools.moneytools.dev/v1/number-base?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":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["value"],"properties":{"to":{"type":"string","description":"extra target base"},"bits":{"type":"number","examples":["8"],"description":"two's complement width"},"from":{"type":"string","description":"base 2-36 (auto from prefix)"},"value":{"type":"string","examples":["0xff"],"description":"number"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"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_1V8CN3b6RfeXFYAc4iNBZ","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 big integers between any base 2–36 (binary, octal, decimal, hex, etc.) with optional two's complement representation for configurable bit widths","exampleAgentPrompt":"Convert 0xff to binary and also show me the decimal value — use 8-bit two's complement just in case it's negative.","exampleUseCases":[{"title":"Hex to binary for embedded systems","prompt":"I need to convert the hex value 0x1A3F to binary with 16-bit two's complement — can you do that?"},{"title":"Decimal to base 36 encoding","prompt":"Convert the big integer 9876543210 from decimal to base 36 for me."},{"title":"Octal to hexadecimal cross-check","prompt":"What is 0o777 in hexadecimal? Also give me the decimal equivalent."}],"resultDescription":"A JSON object containing the converted number in the requested target base (and standard bases like binary, octal, decimal, hex), optional two's complement representation for the specified bit width, and a payment info block indicating whether a charge was made, the network, and transaction details.","failureModes":["Invalid or unsupported base (outside 2–36) returns an error","Non-numeric or malformed input string causes a parse error","Bit width outside supported range (8–256) returns an error","Free tier exhausted (10/day) with no payment method returns HTTP 402","Payment failure results in no charge and no result"],"whenToPreferThis":"Choose this endpoint when you need to convert arbitrarily large integers (BigInt) between any base from 2 to 36, especially when two's complement representation at a specific bit width (8 to 256 bits) is required. It supports standard prefix auto-detection (0x, 0b, 0o), making it ideal for embedded systems, cryptographic, or low-level programming workflows. Prefer it over general-purpose calculators when big integer precision and two's complement semantics matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:42:59.563Z","isFirstParty":false,"canonicalSlug":"moneytools-number-base-converter-bigint-bf7c502d"}