# Delx Commerce KSUID Generator

> Delx Commerce KSUID Generator 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).

Generates a unique, sortable KSUID-style identifier with a deterministic structured JSON response, billed per result via USDC micropayment.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/ksuid?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-ksuid-generator-6398cc5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PeYOTYKi62NMP21vkpVFr

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-ksuid-generator-6398cc5d -d '<json body>'
```

Example prompt: Generate a new KSUID-style unique identifier for me — I need a sortable, time-embedded ID for a new database record I'm creating right now.

## When to prefer this

Choose this endpoint when you need a pay-per-use, no-signup KSUID-style unique identifier generation with verifiable delivery and micropayment billing via USDC on Base or Solana. Ideal for agents that need sortable, time-embedded unique IDs on demand without managing API keys or subscriptions.

## Known failure modes

- Invalid or malformed input body returns a structured error object (not billed)
- Payment failure via x402 protocol prevents execution
- Network timeout results in no charge and no ID returned
- Schema mismatch on input fields may cause rejection

## 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: 'id' (a KSUID-style unique string identifier), 'unix' (the current Unix timestamp as an integer), and 'schema' (a version string 'delx/ksuid-ish/v1'). Invalid inputs return a structured error object and are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "unix": {
       "type": "integer"
      },
      "schema": {
       "type": "string"
      }
     },
     "description": "Deterministic structured JSON result from first-party execution. Invalid inputs return a structured error object and are not billed.",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "687a3f807d4f3c2b1a09e8d7",
  "unix": 1752501120,
  "schema": "delx/ksuid-ish/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-ksuid-generator-6398cc5d/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)
