# 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, up to 200 characters.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_urjl37p3x52ro5zr?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-f841c054
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PeKI5GCTGGLQLqbNMw4c5

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-f841c054 -d '<json body>'
```

Example prompt: Turn the title 'Hello World! This is My New Blog Post (2024)' into a URL slug for me — lowercase, hyphens, no special characters.

## When to prefer this

Choose this endpoint when you need a reliable, deterministic slug from arbitrary text without running local string manipulation logic. It handles edge cases like accented characters, special symbols, and long text out of the box. Ideal for CMS pipelines, URL generation in content workflows, or any agent that needs clean, URL-safe identifiers from user-supplied strings.

## Known failure modes

- Input text exceeds 64 KiB limit — request rejected or truncated
- Entirely non-ASCII input with no transliteratable characters may produce an empty or minimal slug
- Network or payment authorization failure returns a non-200 HTTP response
- Malformed request body (missing 'text' field) results in a validation error

## How this service works

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

## Output

Returns a URL slug string: the input text transformed to lowercase ASCII letters and digits, with words joined by hyphens and the result capped at 200 characters. Special characters, punctuation, and accented letters are normalized or removed.

## 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-f841c054/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)
