# Slug Generator API

> Slug Generator API is a paid API for AI agents from slug-generator.api.klymax402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts arbitrary text into a URL-friendly slug by replacing spaces and special characters with a configurable separator

## Facts

- Endpoint: GET https://slug-generator.api.klymax402.com/api/slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/slug-generator-api-klymax402-com-6570c24f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9E19CkNbQVr1R2HJjbOXK

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 slug-generator-api-klymax402-com-6570c24f
```

Example prompt: Can you slugify the title 'Hello World! This is My Blog Post' using underscores as the separator and keep it lowercase?

## When to prefer this

Use this endpoint when you need a fast, lightweight conversion of a text string into a URL-safe slug — especially useful in web development workflows where you need to programmatically generate permalinks, IDs, or route segments from human-readable titles or labels.

## Known failure modes

- Missing required 'text' parameter returns an error
- Empty string input may return an empty slug
- Unsupported separator characters may produce unexpected output
- Non-UTF8 or heavily accented text may not slugify as expected

## How this service works

Generate a URL-friendly slug from text

## Output

A URL-friendly slug string derived from the input text, with spaces and special characters replaced by the chosen separator (default: hyphen), optionally converted to lowercase.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to convert into a slug"
  },
  "lowercase": {
   "type": "boolean",
   "description": "Convert to lowercase (default: true)"
  },
  "separator": {
   "type": "string",
   "description": "Character to use as word separator (default: -)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/slug-generator-api-klymax402-com-6570c24f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from slug-generator.api.klymax402.com](https://www.zero.xyz/host/slug-generator.api.klymax402.com/llms.txt)
