{
  "x402Version": 2,
  "id": 36876,
  "slug": "36876",
  "resource": "https://api.vextorium.com/base-numerica-pago",
  "description": "Convert integers of any size (signed) between bases 2 to 36: binary, octal, decimal, hex, base32, base36, with bit and byte length and two's complement. Accepts 0x/0b/0o prefixes.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "3000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_entrada": {
            "type": [
              "number",
              "null"
            ]
          },
          "bits": {
            "type": [
              "number",
              "null"
            ]
          },
          "bytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "conversiones": {
            "properties": {
              "2": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "8": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "10": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "16": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "decimal": {
            "type": [
              "string",
              "null"
            ]
          },
          "entrada": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "a": [
              2,
              8,
              10,
              16
            ],
            "valor": "0xff"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "base_entrada": 16,
            "bits": 8,
            "bytes": 1,
            "conversiones": {
              "2": "11111111",
              "8": "377",
              "10": "255",
              "16": "ff"
            },
            "decimal": "255",
            "entrada": "0xff"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "a": {
                    "description": "Output bases (default 2,8,10,16,36)",
                    "items": {
                      "type": "integer"
                    },
                    "type": "array"
                  },
                  "de": {
                    "description": "Input base (default 10)",
                    "type": "integer"
                  },
                  "valor": {
                    "type": "string"
                  }
                },
                "required": [
                  "valor"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_entrada": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "bits": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "bytes": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "conversiones": {
                    "properties": {
                      "2": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "8": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "10": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "16": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "decimal": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "entrada": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "binary",
    "hex",
    "base-conversion",
    "devtools",
    "math",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:14:07.465Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:14:07.248Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "a": [
                2,
                8,
                10,
                16
              ],
              "valor": "0xff"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "base_entrada": 16,
              "bits": 8,
              "bytes": 1,
              "conversiones": {
                "2": "11111111",
                "8": "377",
                "10": "255",
                "16": "ff"
              },
              "decimal": "255",
              "entrada": "0xff"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "a": {
                      "description": "Output bases (default 2,8,10,16,36)",
                      "items": {
                        "type": "integer"
                      },
                      "type": "array"
                    },
                    "de": {
                      "description": "Input base (default 10)",
                      "type": "integer"
                    },
                    "valor": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "valor"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_entrada": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bits": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "conversiones": {
                      "properties": {
                        "2": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "8": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "10": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "16": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "decimal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "entrada": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.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": {
      "base_entrada": 0,
      "bits": 0,
      "bytes": 0,
      "conversiones": {
        "2": "string",
        "8": "string",
        "10": "string",
        "16": "string"
      },
      "decimal": "string",
      "entrada": "string"
    },
    "type": "string"
  }
}