# Text Slugify API

> Text Slugify API is a paid API for AI agents from agent-utility-network.frosty-sound-4560.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts arbitrary text into a URL-friendly slug (lowercase, hyphen-separated)

## Facts

- Endpoint: POST https://agent-utility-network.frosty-sound-4560.workers.dev/v1/paid/text-slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/text-slugify-api-8b361de2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OI6sDI3QE1NFytf2DaguQ

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 text-slugify-api-8b361de2 -d '<json body>'
```

Example prompt: Can you slugify this text for me: 'Hello Agent World! Top 10 AI Tools for 2025'?

## When to prefer this

Choose this endpoint when you need a reliable, paid-quality slugification service accessible via x402 on Base USDC, especially in agent workflows that already handle x402 micropayments. Prefer it over free alternatives when you need consistent, production-grade slug output integrated into an agentic pipeline.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 10,000 characters returns a length validation error
- Payment failure via x402 protocol returns a 402 Payment Required response
- Malformed JSON request body returns a 400 Bad Request error

## How this service works

Quality-scored paid utility APIs for AI agents over x402 on Base USDC.

## Output

A JSON object containing a 'result' field with a 'slug' key whose value is the input text converted to lowercase, with spaces and special characters replaced by hyphens, suitable for use in URLs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 10000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "slug": "hello-agent-world"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/text-slugify-api-8b361de2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utility-network.frosty-sound-4560.workers.dev](https://www.zero.xyz/host/agent-utility-network.frosty-sound-4560.workers.dev/llms.txt)
