# PennyRail JSON Object Key Paths Extractor

> PennyRail JSON Object Key Paths Extractor is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Extracts all dot-notation key paths from a nested JSON object, returning a flattened representation of every accessible property path

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/json.keys--object-paths
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-json-object-key-paths-extractor-ff3ebbdc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L3zjX4QFDk6hoPxBOPjF8

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 pennyrail-json-object-key-paths-extractor-ff3ebbdc -d '<json body>'
```

Example prompt: Take this nested JSON object and give me all the key paths in dot-notation so I can see every accessible field in the structure: {"user":{"profile":{"name":"Alice","age":30},"settings":{"theme":"dark"}}}

## When to prefer this

Choose this endpoint when you need to programmatically discover all key paths in an unknown or deeply nested JSON object without writing custom traversal logic. It is especially useful for schema analysis, dynamic field mapping, API response introspection, and building generic data pipelines that must handle arbitrary JSON shapes. Prefer this over manual parsing when the object depth or structure is unknown ahead of time.

## Known failure modes

- Missing or empty 'input' field returns a validation error
- Non-object input type (e.g. array or primitive at root) may produce unexpected results or an error
- Very deeply nested objects may cause traversal limits or timeouts
- Circular references in the object may cause infinite loops or stack overflow errors
- Payment failure via x402 protocol results in 402 response before any processing occurs

## How this service works

Machine-readable settlement service

## Output

A JSON object containing all extracted dot-notation key paths found within the provided nested input object, allowing the caller to enumerate every accessible property including deeply nested ones.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-json-object-key-paths-extractor-ff3ebbdc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
