# centralcity.ai JSON Path Extractor

> centralcity.ai JSON Path Extractor is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Extracts values from a JSON document using a dot-bracket path expression (e.g. items[*].price or a.b[0].c), returning up to 1000 matches.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_tpbmk4s4vbpb4bew?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-json-path-extractor-8573724e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iC5wRAMmHJUsPGz1R2jf_

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 centralcity-ai-json-path-extractor-8573724e -d '<json body>'
```

Example prompt: Pull out all the price values from this JSON using the path items[*].price — here's the document: {"items":[{"name":"apple","price":1.2},{"name":"banana","price":0.5}]}

## When to prefer this

Use this endpoint when you need to extract specific fields or collections of values from a known JSON structure using a path expression, especially when the JSON is up to 64 KiB and you need up to 1000 results. Prefer over manual parsing when the path is dynamic or the structure is deeply nested.

## Known failure modes

- Invalid JSON input returns a parse error
- Path expression syntax error if the path is malformed
- No matches returns an empty array
- JSON document exceeding 64 KiB is rejected
- More than 1000 matches are silently truncated to the first 1000

## How this service works

Picks values out of a JSON document by a path such as items[*].price or a.b[0].c, at most 1000 matches.

## Output

An array of up to 1000 values matched by the given path expression within the JSON document, extracted in document order.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "description": "The JSON document, at most 64 KiB."
  },
  "path": {
   "type": "string",
   "description": "The path: names joined by dots, [n] for an array index, [*] or .* for every item, [\"name\"] for any key; an optional leading $."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-json-path-extractor-8573724e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
