# MoneyTools JSON Query (JSONPath)

> MoneyTools JSON Query (JSONPath) is a paid API for AI agents from tools.moneytools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Evaluates a JSONPath expression against a provided JSON object and returns the matching values

## Facts

- Endpoint: POST https://tools.moneytools.dev/v1/json-query?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytools-json-query-jsonpath-4148a714
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_18AwpiSkwGHEMicoZ6DGi

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 moneytools-json-query-jsonpath-4148a714 -d '<json body>'
```

Example prompt: Can you query my product list JSON with the JSONPath expression items[?(@.price>=10)].n to get back only the names of items that cost 10 or more?

## When to prefer this

Use this endpoint when you have a JSON object in memory and need to extract or filter parts of it using a JSONPath expression, without needing a full query language like JMESPath or SQL. It is ideal for lightweight, read-only data extraction tasks at low cost with no server-side state.

## Known failure modes

- Invalid JSONPath syntax returns an error
- Path that matches nothing returns an empty array
- Malformed or non-object input data causes a parse error
- Deeply nested or very large JSON may hit size limits

## How this service works

Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.

## Output

Returns the JSON values matched by the provided JSONPath expression against the input data — this may be an array of matched nodes, a scalar value, or an empty result if no nodes match.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "examples": [
    {
     "items": [
      {
       "n": "a",
       "price": 5
      },
      {
       "n": "b",
       "price": 12
      }
     ]
    }
   ],
   "description": "JSON"
  },
  "path": {
   "type": "string",
   "examples": [
    "items[?(@.price>=10)].n"
   ],
   "description": "path"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "items[?(@.price>=10)].n",
  "count": 1,
  "syntax": "a.b[0].c, a[*].b, a[-1], a[1:3], items[?(@.price>=10)]",
  "results": [
   "b"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytools-json-query-jsonpath-4148a714/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.moneytools.dev](https://www.zero.xyz/host/tools.moneytools.dev/llms.txt)
