# Delx Commerce JSON Lines Parse

> Delx Commerce JSON Lines Parse is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Parses a JSON Lines (JSONL) text blob into individual JSON objects and returns the count and parsed items, with verifiable no-retention evidence.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/json-lines-parse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-json-lines-parse-e9bed7cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6xWnuWz9nfjAu0F5gjG4e

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 delx-commerce-json-lines-parse-e9bed7cb -d '<json body>'
```

Example prompt: Can you parse this JSON Lines text for me and tell me how many records it contains: '{"id":1,"name":"Alice"}\n{"id":2,"name":"Bob"}'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup utility to parse JSON Lines text into structured records and receive cryptographic evidence of no data retention. Ideal for AI agents that handle JSONL data in pipelines and need verifiable, privacy-preserving parsing without standing up a dedicated service.

## Known failure modes

- Malformed JSONL with invalid JSON on any line may cause a parse failure or partial results
- Input exceeding 8192 characters will be rejected
- Empty string input may return a count of 0 with an empty items array
- Payment failure via x402 protocol will prevent the call from completing

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the count of parsed items, an array of the individual parsed JSON objects, operation status ('pass'), and an evidence block with a SHA-256 hash of the input, a flag confirming the data was not retained, and the number of external calls made (0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to JSON Lines Parse; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 2,
   "items": [
    {
     "id": 1
    },
    {
     "id": 2
    }
   ]
  },
  "schema": "delx/util-json-lines-parse/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "7c8b7ae6606b99a416fd3d8737d5c6b03c90c5a074ff9d25cbaf495aabdbaa39",
   "external_calls": 0
  },
  "operation": "data_batch:json_lines_parse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-json-lines-parse-e9bed7cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
