# Delx Commerce — OpenAPI Operation Index

> Delx Commerce — OpenAPI Operation Index is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Parses an OpenAPI JSON document and returns a structured index of all operations (path, method, summary, operation ID, tags) contained within it.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/openapi-operation-index?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-openapi-operation-index-2cc3d2fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cLi2afgzvSBL5N5QymAJS

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-openapi-operation-index-2cc3d2fe -d '<json body>'
```

Example prompt: Can you parse this OpenAPI JSON spec I have and give me a structured list of all the operations it defines — including their paths, HTTP methods, operation IDs, and summaries?

## When to prefer this

Choose this endpoint when you need a quick, structured, pay-per-call extraction of all operations from an OpenAPI document without setting up a local parser or maintaining an OpenAPI library dependency. It is ideal for AI agents that dynamically discover and reason about third-party APIs, need to enumerate routes before generating client code, or must audit API specs on the fly. Priced at $0.002 USDC with no signup required, it suits agentic workflows where lightweight, verifiable micro-transactions are preferred over API key management.

## Known failure modes

- Invalid or malformed OpenAPI JSON returns a parse error
- Empty or missing 'spec' field returns a validation error
- Extremely large OpenAPI documents may result in a truncated response (truncated: true)
- Non-OpenAPI JSON objects may fail schema validation

## How this service works

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

## Output

A JSON object with the API title, schema identifier ('delx/openapi-operation-index/v1'), a truncation flag, an array of operations each containing path, HTTP method, summary, operation ID, tags, and deprecated status, plus a total operation count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "spec": {
   "type": "object",
   "description": "OpenAPI JSON document."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Jobs API",
  "schema": "delx/openapi-operation-index/v1",
  "truncated": false,
  "operations": [
   {
    "path": "/jobs",
    "tags": [],
    "method": "GET",
    "summary": "List jobs",
    "deprecated": false,
    "operation_id": "listJobs"
   }
  ],
  "operation_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-openapi-operation-index-2cc3d2fe/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)
