# centralcity.ai URL Slug Generator

> centralcity.ai URL Slug Generator is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Converts arbitrary text into a URL-safe slug of lowercase ASCII letters and digits joined by hyphens.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_pwdkt7sjzk4zgd5l?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/centralcity-ai-url-slug-generator-cf6e0744
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BDu3CwzcompZka6hqzud6

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 centralcity-ai-url-slug-generator-cf6e0744 -d '<json body>'
```

Example prompt: Turn 'Hello World! This is My Blog Post #42' into a URL slug for me.

## When to prefer this

Use this endpoint when you need a deterministic, standards-compliant URL slug from arbitrary text, especially when the input may contain Unicode, special characters, punctuation, or mixed case. Prefer this over regex-based client-side solutions when consistency and correctness across edge cases matter.

## Known failure modes

- Input text exceeds 64 KiB limit — request rejected
- Empty input text returns an empty or minimal slug
- Text consisting entirely of non-ASCII/non-alphanumeric characters may produce an empty slug
- Payment failure (402) if USDC balance is insufficient

## How this service works

Turns a text into a URL slug: lower case ASCII letters and digits joined by hyphens.

## Output

A lowercase ASCII slug string with words joined by hyphens and all non-alphanumeric characters removed or replaced, up to 200 characters long.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text, at most 64 KiB; the slug is at most 200 characters."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/centralcity-ai-url-slug-generator-cf6e0744/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
