# 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_yxbehemhki5y45yu?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-9832bbe6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gaMxiBUVFSxiLLapDJDwz

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-9832bbe6 -d '<json body>'
```

Example prompt: Can you pull out all the price values from this JSON — use the path items[*].price: {"items":[{"name":"apple","price":1.2},{"name":"banana","price":0.5}]}

## When to prefer this

Use this endpoint when you have a JSON document and need to extract specific nested values using a path expression, especially when dealing with arrays using wildcards like [*] or .* . Prefer it over manual parsing when the JSON structure is complex or deeply nested, or when you need all matching values from an array in a single call. It is particularly useful for processing API responses, configuration files, or data payloads where only a subset of fields is needed.

## Known failure modes

- Invalid or malformed JSON input returns an error indicating the JSON is not parseable
- Path expression that is syntactically invalid returns an error
- JSON document exceeds 64 KiB size limit results in rejection
- No matches for the given path returns an empty result set
- More than 1000 matches are found — only first 1000 are returned

## 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. Each matched value is returned in order of traversal. If the path matches no nodes, an empty array is returned.

## 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-9832bbe6/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)
