# Vextorium JSONPath Query

> Vextorium JSONPath Query 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-29).

Evaluates a JSONPath expression (including filters and functions) against a JSON document and returns all matching values with their paths.

## Facts

- Endpoint: POST https://api.vextorium.com/jsonpath-consulta-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-jsonpath-query-343b025b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wXo78CokqI8zU6s-Nv1Qv

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-jsonpath-query-343b025b -d '<json body>'
```

Example prompt: Run the JSONPath expression $.items[?(@.price > 10)].name against this JSON and tell me all the matching values and their paths: {"items":[{"name":"Apple","price":5},{"name":"Steak","price":25},{"name":"Wine","price":15}]}

## When to prefer this

Choose this endpoint when you need to evaluate a JSONPath expression — including filter predicates and functions — against a JSON document or a JSON URL, and want both the matched values and their full paths returned. Ideal for agents that need to extract structured data from API responses, config files, or any JSON payload without writing custom parsing code.

## Known failure modes

- Invalid JSONPath expression returns an error or empty result set
- Malformed JSON in 'datos' field causes a parse error
- URL provided in 'url' field is unreachable or returns non-JSON content
- Expression matches nothing — returns empty valores and rutas arrays with num_resultados of 0
- Missing required 'expresion' field causes a 400-level error

## How this service works

Query a JSON document with JSONPath, including filters and functions ($.items[?(@.price > 10)].name, $..id...): matching values and their paths. Send the JSON in the data field (datos on the Spanish route) or a URL to fetch it.

## Output

Returns a JSON object containing: the evaluated JSONPath expression, the number of results (num_resultados), an array of matched values (valores), and an array of the corresponding paths (rutas) for each match.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "datos": {
   "description": "JSON object, array or string"
  },
  "expresion": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-jsonpath-query-343b025b/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)
