# Delx Commerce Slugify API

> Delx Commerce Slugify API 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).

Converts arbitrary text strings into URL-safe slug format (lowercase, hyphenated) via a pay-per-result micropayment API

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/slugify?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-slugify-api-7e0ae6a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QUg6dGJMgYZE-DkDt6FY4

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-slugify-api-7e0ae6a2 -d '<json body>'
```

Example prompt: Can you slugify the text 'Hello World! This is My Blog Post #1' so I can use it as a URL path segment?

## When to prefer this

Choose this endpoint when you need a quick, stateless text-to-slug conversion without setting up a backend library, and especially when operating in an agent context that supports x402 micropayments on Base or Solana. Ideal for one-off conversions where spinning up a full CMS or URL utility library is overkill. Avoid if you need bulk batch processing or if your runtime does not support x402 payment headers.

## Known failure modes

- Empty or missing body fields return a validation error
- Non-string or malformed input may produce an unexpected slug or error
- Payment failure via x402 (insufficient USDC balance or unsupported chain) blocks the request
- Network timeout on the commerce.delx.ai host
- Schema mismatch (missing required 'input' or 'output' wrapper fields) causes a 400-level error

## 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 containing the slugified version of the input text — lowercase, with spaces and special characters replaced by hyphens, suitable for use in URLs and identifiers. Payment is $0.001 USDC per call via x402 on Base or Solana.

## 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",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-slugify-api-7e0ae6a2/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)
