{
  "x402Version": 2,
  "id": 37034,
  "slug": "37034",
  "resource": "https://api.vextorium.com/v1/json-inspect",
  "description": "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.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Market Data",
  "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": {
          "arrays": {
            "type": [
              "number",
              "null"
            ]
          },
          "bytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "depth": {
            "type": [
              "number",
              "null"
            ]
          },
          "distinct_keys": {
            "items": {
              "type": [
                "null",
                "string"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "formatted": {
            "type": [
              "string",
              "null"
            ]
          },
          "objects": {
            "type": [
              "number",
              "null"
            ]
          },
          "root_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "route": {
            "type": [
              "string",
              "null"
            ]
          },
          "savings_bytes": {
            "type": [
              "number",
              "null"
            ]
          },
          "valid": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "value": {
            "type": [
              "number",
              "null"
            ]
          },
          "values_per_type": {
            "properties": {
              "number": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "string": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": [
              "object",
              "null"
            ]
          }
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "format": "minified",
            "route": "data.items[0].price",
            "text": "{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "arrays": 1,
            "bytes": 43,
            "depth": 4,
            "distinct_keys": [
              "data",
              "items"
            ],
            "formatted": "{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}",
            "objects": 3,
            "root_type": "object",
            "route": "data.items[0].price",
            "savings_bytes": 0,
            "valid": true,
            "value": 3,
            "values_per_type": {
              "number": 1,
              "string": 1
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "format": {
                    "enum": [
                      "pretty",
                      "minified",
                      "none"
                    ],
                    "type": "string"
                  },
                  "route": {
                    "description": "Path to extract, e.g. data.items[0].price (optional)",
                    "type": "string"
                  },
                  "text": {
                    "description": "JSON text (up to 2 MB)",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ]
              },
              "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": {
                  "arrays": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "bytes": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "depth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "distinct_keys": {
                    "items": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "formatted": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "objects": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "root_type": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "route": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "savings_bytes": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "valid": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "value": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "values_per_type": {
                    "properties": {
                      "number": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "string": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "json",
    "validation",
    "devtools",
    "parsing",
    "formatter",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:11:28.826Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:11:28.606Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "format": "minified",
              "route": "data.items[0].price",
              "text": "{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "arrays": 1,
              "bytes": 43,
              "depth": 4,
              "distinct_keys": [
                "data",
                "items"
              ],
              "formatted": "{\"data\":{\"items\":[{\"name\":\"A\",\"price\":3}]}}",
              "objects": 3,
              "root_type": "object",
              "route": "data.items[0].price",
              "savings_bytes": 0,
              "valid": true,
              "value": 3,
              "values_per_type": {
                "number": 1,
                "string": 1
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "format": {
                      "enum": [
                        "pretty",
                        "minified",
                        "none"
                      ],
                      "type": "string"
                    },
                    "route": {
                      "description": "Path to extract, e.g. data.items[0].price (optional)",
                      "type": "string"
                    },
                    "text": {
                      "description": "JSON text (up to 2 MB)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ]
                },
                "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": {
                    "arrays": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "depth": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "distinct_keys": {
                      "items": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "formatted": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "objects": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "root_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "route": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "savings_bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "valid": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "values_per_type": {
                      "properties": {
                        "number": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "string": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "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": {
      "arrays": 0,
      "bytes": 0,
      "depth": 0,
      "distinct_keys": [
        "value"
      ],
      "formatted": "string",
      "objects": 0,
      "root_type": "string",
      "route": "string",
      "savings_bytes": 0,
      "valid": true,
      "value": 0,
      "values_per_type": {
        "number": 0,
        "string": 0
      }
    },
    "type": "string"
  }
}