{"uid":"cap_nze8CRVXGdFyh5d_pvxlk","slug":"agenttools-number-base-converter-82fdb35f","name":"AgentTools Number Base Converter","description":"Convert integers between any bases from 2 to 36 — binary, octal, decimal, hexadecimal and beyond — with BigInt precision (no limit on magnitude). Use this when an agent needs to binary, octal, decimal, hex — any base 2–36.","url":"https://agenttools-hub.vercel.app/api/v1/dev/number-base-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":{"type":"number","description":"To base (2–36)"},"from":{"type":"number","description":"From base (2–36)"},"value":{"type":"string","description":"Digits valid for the source base"}}}},"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_7L2mQSM6qv5rWgO4q-V_w","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 number from one base to another (any base 2–36, e.g. binary, octal, decimal, hex) with arbitrary BigInt precision.","exampleAgentPrompt":"Can you convert the hexadecimal number 1A3F from base 16 to decimal (base 10)?","exampleUseCases":[{"title":"Hex color code to decimal","prompt":"Convert the hex number FF8C00 from base 16 to base 10 so I can use it as a plain integer."},{"title":"Binary to decimal for embedded system","prompt":"What is the decimal value of the binary number 11010110 — convert it from base 2 to base 10 for me."},{"title":"Large integer to base 36 encoding","prompt":"I have the decimal number 9999999999999 and I need it converted to base 36 — can you do that conversion?"}],"resultDescription":"Returns the converted numeric string in the target base, representing the input value expressed in the requested numeral system, with full BigInt precision for arbitrarily large numbers.","failureModes":["Invalid digits for the specified source base (e.g. '9' in a base-8 number) — returns an error","Source or target base outside the 2–36 range — returns a validation error","Missing required query parameters (value, from, to) — returns a 400-level error","Non-numeric or malformed base values — returns a parsing error"],"whenToPreferThis":"Use this endpoint when you need reliable, arbitrary-precision conversion between any two numeral bases from 2 to 36, especially for large integers that exceed standard floating-point limits. It handles binary, octal, decimal, hexadecimal, and any custom base up to 36, making it suitable for cryptographic work, embedded systems, color encoding, or any computation requiring exact base conversion without rounding errors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:39:35.699Z","isFirstParty":false,"canonicalSlug":"agenttools-number-base-converter-82fdb35f"}