{"uid":"cap_2u_meJ5Y781arHeBAZ1pL","slug":"numeral-systems-radix-converter-3ce5cc5f","name":"Numeral Systems Radix Converter","description":"Convert an integer between numeral bases 2–36 (binary, octal, hex, base36, …). Arbitrary size via BigInt; digits are case-insensitive and a leading minus is allowed.","url":"https://numeral.openverbs.com/v1/radix","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["value","fromBase","toBase"],"properties":{"value":{"type":"string","maxLength":4096,"minLength":1,"description":"The integer to convert, in fromBase."},"toBase":{"type":"integer","maximum":36,"minimum":2,"description":"Target base."},"fromBase":{"type":"integer","maximum":36,"minimum":2,"description":"Source base."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_dMDVqQwUzku7sxV3-FOhI","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 an integer from one numeric base (radix) to another, supporting bases 2 through 36.","exampleAgentPrompt":"Convert the number 255 from base 10 to base 16 for me.","exampleUseCases":[{"title":"Hex to decimal for debugging","prompt":"I'm looking at a memory address 1A3F in hexadecimal — can you convert it to decimal so I can compare it with my logs?"},{"title":"Binary to octal for file permissions","prompt":"Convert the binary string 111101101 from base 2 to base 8 so I can use it as a Unix file permission octet."},{"title":"Base 36 short code to decimal ID","prompt":"I have a base-36 encoded short ID 'k3v1z' and I need the decimal number it represents — can you convert it from base 36 to base 10?"}],"resultDescription":"Returns the numeric value expressed in the target base as a string. The agent receives the converted representation of the input integer in the requested radix, ready for display or further computation.","failureModes":["Input value contains characters invalid for the specified fromBase (e.g. '9' in base 8)","fromBase or toBase outside the allowed range of 2–36 returns a validation error","Empty or missing value field triggers a required-field error","Value string exceeds 4096 characters","Non-integer or floating-point input is rejected"],"whenToPreferThis":"Choose this endpoint when you need a reliable, paid, API-based radix/base conversion without running local code — especially useful in agent pipelines where executing arbitrary math code is restricted, or when you want a clean microservice call for base conversion in workflows spanning bases 2 through 36.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:37.811Z","isFirstParty":false}