# ManyLives JSONPath Query

> ManyLives JSONPath Query is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Evaluates a JSONPath expression against a provided JSON document and returns matching values

## Facts

- Endpoint: POST https://api.manylives.me/paid/json/query?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-jsonpath-query-86eaaf4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DUJ0oUQA8cbxkqyKh3gJ1

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 manylives-jsonpath-query-86eaaf4f -d '<json body>'
```

Example prompt: Run this JSONPath query against my JSON data — I have a list of products like [{"name":"pen","price":1.5},{"name":"lamp","price":30}] and I want to extract all names where price is under 10, so use the path $.items[?(@.price<10)].name.

## When to prefer this

Use this endpoint when an AI agent needs to run a JSONPath query on an arbitrary JSON document without spinning up local infrastructure. Ideal for pay-per-call serverless extraction tasks where the agent has structured JSON and a known path expression, and needs results quickly without account setup.

## Known failure modes

- Invalid JSONPath syntax returns an error or empty matches
- JSON document too large (over ~2 MB) may be rejected
- Malformed JSON in the data field causes a parse error
- No matches found returns count 0 and an empty matches array

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a JSON object containing the original JSONPath expression, the count of matches found, and an array of the matched values extracted from the input document.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "string",
   "examples": [
    {
     "items": [
      {
       "name": "pen",
       "price": 1.5
      },
      {
       "name": "lamp",
       "price": 30
      },
      {
       "name": "notebook",
       "price": 4
      }
     ]
    }
   ],
   "description": "the JSON value (required, up to about 2 MB)"
  },
  "path": {
   "type": "string",
   "examples": [
    "$.items[?(@.price<10)].name"
   ],
   "description": "JSONPath, e.g. $.items[?(@.price<10)].name (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "$.items[?(@.price<10)].name",
  "count": 2,
  "matches": [
   "pen",
   "notebook"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-jsonpath-query-86eaaf4f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
