{
  "x402Version": 2,
  "id": 35414,
  "slug": "35414",
  "resource": "https://agentstoolshub.com/api/v1/dev/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.",
  "type": "http",
  "serviceName": "AgentTools",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "analytics": {},
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": 16,
            "to": 10,
            "value": "ff"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "result": {
              "answer": "255",
              "answerLabel": "Base 16 ff in base 10",
              "details": [
                {
                  "label": "Binary",
                  "value": "11111111"
                },
                {
                  "label": "Octal",
                  "value": "377"
                },
                {
                  "label": "Decimal",
                  "value": "255"
                },
                {
                  "label": "Hexadecimal",
                  "value": "FF"
                }
              ],
              "steps": [
                "Parse \"ff\" in base 16 → decimal 255",
                "Render decimal 255 in base 10 → \"255\""
              ],
              "value": null
            },
            "tool": "number-base-converter"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "from": {
                    "description": "From base (2–36)",
                    "type": "number"
                  },
                  "to": {
                    "description": "To base (2–36)",
                    "type": "number"
                  },
                  "value": {
                    "description": "Digits valid for the source base",
                    "type": "string"
                  }
                },
                "required": [
                  "value",
                  "from",
                  "to"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "dev",
    "crypto-dev",
    "analytics",
    "bazaar"
  ],
  "sourceHost": "agentstoolshub.com",
  "lastUpdated": "2026-10-11T23:14:18.478Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T23:14:18.309Z"
  },
  "metadata": {
    "serviceName": "AgentTools",
    "extensions": {
      "analytics": {},
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "from": 16,
              "to": 10,
              "value": "ff"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "result": {
                "answer": "255",
                "answerLabel": "Base 16 ff in base 10",
                "details": [
                  {
                    "label": "Binary",
                    "value": "11111111"
                  },
                  {
                    "label": "Octal",
                    "value": "377"
                  },
                  {
                    "label": "Decimal",
                    "value": "255"
                  },
                  {
                    "label": "Hexadecimal",
                    "value": "FF"
                  }
                ],
                "steps": [
                  "Parse \"ff\" in base 16 → decimal 255",
                  "Render decimal 255 in base 10 → \"255\""
                ],
                "value": null
              },
              "tool": "number-base-converter"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "from": {
                      "description": "From base (2–36)",
                      "type": "number"
                    },
                    "to": {
                      "description": "To base (2–36)",
                      "type": "number"
                    },
                    "value": {
                      "description": "Digits valid for the source base",
                      "type": "string"
                    }
                  },
                  "required": [
                    "value",
                    "from",
                    "to"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentstoolshub.com",
    "manifest_name": "agentstoolshub.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}