ToolAssay

Convert an integer between any two numeric bases from 2 to 36, with arbitrary pr

Convert an integer between any two numeric bases from 2 to 36, with arbitrary precision so values far beyond 2^53 are exact. Accepts an optional sign and common prefixes (0x, 0b, 0o), validates every digit against the source base, and returns the value in the target base, in decimal, and as its bit length and digit count.

Answeringour last check, 2026-09-29
1 of 1checks answered this week
20 msmedian answer time
$0.05listed price per call
$0.05price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.duoleads.com/v1/num/radix

CategoryEverything else
Provider hostapi.duoleads.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-29 valid payment request 402$0.05 20 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "to": "10",
    "value": "0xdeadbeef"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "case": {
              "default": "lower",
              "description": "Digit case for bases above 10: lower (default) or upper.",
              "enum": [
                "lower",
                "upper"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "from": {
              "default": "auto",
              "description": "Source base 2-36, or auto (default) to read a 0x/0b/0o prefix.",
              "maxLength": 8,
              "type": "string"
            },
            "prefix": {
              "default": "false",
              "description": "Emit 0x/0b/0o where conventional. Default false.",
              "enum": [
                "true",
                "false"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "to": {
              "default": "10",
              "description": "Target base 2-36, default 10.",
              "maxLength": 64,
              "pattern": "^[+-]?\\d+$",
              "type": "string"
            },
            "value": {
              "description": "Integer to convert; optional sign and 0x/0b/0o prefix.",
              "maxLength": 1024,
              "type": "string"
            }
          },
          "required": [
            "value"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "type": "object"
            },
            "meta": {
              "properties": {
                "computed_at": {
                  "type": "string"
                },
                "deterministic": {
                  "type": "boolean"
                },
                "disclaimer": {
                  "type": "string"
                },
                "price_usd": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "sources": {
                  "type": "array"
                }
              },
              "required": [
                "request_id",
                "computed_at",
                "price_usd",
                "deterministic",
                "disclaimer"
              ],
              "type": "object"
            },
            "ok": {
              "const": true,
              "type": "boolean"
            },
            "route": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "route",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON