# Vextorium JSON Inspector

> Vextorium JSON Inspector is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Validates JSON (with error line/column), pretty-prints or minifies it, describes its structure (depth, keys, value types), and extracts a value by dot-bracket path.

## Facts

- Endpoint: POST https://api.vextorium.com/inspeccionar-json-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-json-inspector-b0bcf000
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iziF_Dn-iiGF7lS1xdK4i

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-json-inspector-b0bcf000 -d '<json body>'
```

Example prompt: Can you validate this JSON for me and tell me exactly where the error is, then pretty-print it and tell me how deep it is: '{"data":{"items":[{"name":"Widget","price":9.99}'?

## When to prefer this

Choose this endpoint when you need to validate JSON and pinpoint the exact error location (line and column), inspect the structural properties of a JSON document, transform formatting (pretty or minify), or extract a deeply nested value by dot-bracket path — all in a single call. It is purpose-built for JSON inspection tasks that combine validation, structural analysis, and value extraction without requiring a full JSON parsing library on the client side.

## Known failure modes

- Input JSON exceeds 2 MB limit
- Invalid or non-existent dot-bracket path returns null valor
- Malformed request body missing required 'texto' field
- Network timeout on very large JSON documents
- Invalid format enum value causes request rejection

## How this service works

Validate JSON (with line and column of the error), pretty-print or minify it, describe its structure (depth, keys, value types) and extract a value by path such as data.items[0].price.

## Output

Returns a JSON object with: 'valido' (boolean validity), error location if invalid, 'formateado' (pretty-printed or minified JSON string), 'profundidad' (nesting depth), 'claves_distintas' (array of unique keys), 'objetos' (object count), 'arrays' (array count), 'valores_por_tipo' (count of each value type), 'bytes' (size), 'ahorro_bytes' (bytes saved by minification), 'tipo_raiz' (root type), and 'valor' (extracted value at the given path if 'ruta' was provided).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "texto"
     ],
     "properties": {
      "ruta": {
       "type": "string",
       "description": "Path to extract, e.g. data.items[0].price (optional)"
      },
      "texto": {
       "type": "string",
       "description": "JSON text (up to 2 MB)"
      },
      "formato": {
       "enum": [
        "bonito",
        "minificado",
        "ninguno"
       ],
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "ruta": {
       "type": [
        "string",
        "null"
       ]
      },
      "bytes": {
       "type": [
        "number",
        "null"
       ]
      },
      "valor": {
       "type": [
        "number",
        "null"
       ]
      },
      "arrays": {
       "type": [
        "number",
        "null"
       ]
      },
      "valido": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "objetos": {
       "type": [
        "number",
        "null"
       ]
      },
      "tipo_raiz": {
       "type": [
        "string",
        "null"
       ]
      },
      "formateado": {
       "type": [
        "string",
        "null"
       ]
      },
      "profundidad": {
       "type": [
        "number",
        "null"
       ]
      },
      "ahorro_bytes": {
       "type": [
        "number",
        "null"
       ]
      },
      "claves_distintas": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "string"
        ]
       }
      },
      "valores_por_tipo": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "number": {
         "type": [
          "number",
          "null"
         ]
       
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ruta": "data.items[0].price",
  "bytes": 43,
  "valor": 3,
  "arrays": 1,
  "valido": true,
  "objetos": 3,
  "tipo_raiz": "object",
  "formateado": "{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}",
  "profundidad": 4,
  "ahorro_bytes": 0,
  "claves_distintas": [
   "data",
   "items",
   "name",
   "price"
  ],
  "valores_por_tipo": {
   "number": 1,
   "string": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-json-inspector-b0bcf000/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
