# Arch Tools JSONPath Query

> Arch Tools JSONPath Query is a paid API for AI agents from archtools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

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

## Facts

- Endpoint: POST https://archtools.dev/v1/tools/jsonpath-query
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arch-tools-jsonpath-query-fdfbc0aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o4KVEnZbwqdFlP5ILBtkd

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 arch-tools-jsonpath-query-fdfbc0aa -d '<json body>'
```

Example prompt: Run the JSONPath expression $.store.book[*].author against this JSON object I have and give me all the matching author values.

## When to prefer this

Use this endpoint when you need to evaluate a JSONPath expression against a JSON document and get back matching values without writing custom parsing code. Ideal for agents processing API responses, config files, or structured data payloads where specific fields or filtered subsets are needed dynamically at runtime.

## Known failure modes

- Invalid JSONPath expression syntax returns an error
- Path that matches nothing returns an empty array or null result
- Input 'data' field that is not a valid JSON object causes a parsing error
- Missing required fields 'data' or 'path' results in a 400-style validation error
- Deeply nested or very large JSON objects may cause performance issues

## How this service works

Arch Tools — jsonpath-query

## Output

A JSON object containing the results of the JSONPath query — typically an array of matched values or nodes extracted from the input JSON object at the specified path.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "The JSON object to query"
  },
  "path": {
   "type": "string",
   "description": "JSONPath expression, e.g. $.store.book[*].title"
  }
 }
}
```

## More

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