{"uid":"cap_Y5HEBgQ6QekiOuhd8XLeI","slug":"forgemesh-radix-converter-10752920","name":"ForgeMesh Radix Converter","description":"Convert a number from one positional numbering system to another, including binary, octal, hex, and custom bases up to 36. Useful for compiler and assembler tooling, color-code translation, checksum work, and computer-science education. Exact digit-by-digit computation replaces manual long division and avoids off-by-one radix mistakes.","url":"https://x402.forgemesh.io/radix-converter","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"string"},"to_base":{"type":"string","description":"2-36, default 2"},"from_base":{"type":"string","description":"2-36, default 10"}}},"responseSchema":{"type":"json","example":{"result":"ff","decimal":255}},"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_fgDIL7fJ2DC3lwBRqLItH","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 any positional base (2–36) to any other positional base, including binary, octal, decimal, and hexadecimal.","exampleAgentPrompt":"Convert the decimal number 255 to hexadecimal — I want to see the hex representation for a color code I'm working on.","exampleUseCases":[{"title":"Hex color code lookup","prompt":"I have the decimal color value 16711680 and I need to convert it to hex so I can use it in my CSS stylesheet."},{"title":"Binary representation for CS homework","prompt":"Can you convert the decimal number 42 to binary? I'm studying number systems and want to see the step result."},{"title":"Base 36 encoding for short IDs","prompt":"Take the decimal number 9999999 and convert it to base 36 — I'm building a URL shortener and need a compact alphanumeric representation."}],"resultDescription":"The converted number as a string in the target base. For example, passing value '255', from_base '10', to_base '16' returns 'ff'. The output represents the exact positional-notation form of the input in the requested base.","failureModes":["Invalid characters in value for the given from_base (e.g. '9' in base 8) — likely returns an error or unexpected result","from_base or to_base outside the 2–36 range — rejected or undefined behavior","Empty or missing value field — endpoint may error","Non-integer or floating-point input — may not be supported","Payment failure or insufficient USDC balance — x402 payment required before processing"],"whenToPreferThis":"Choose this endpoint when you need a quick, exact, pay-per-call radix conversion without setting up a local library or runtime. It is especially useful in agent pipelines that need on-the-fly base conversion (e.g. hex color manipulation, binary encoding, compiler preprocessing) without installing language-specific math utilities. Prefer this over manual computation or LLM guessing for correctness guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:04:43.867Z","isFirstParty":false}