# YRUZ Slug Generator

> YRUZ Slug Generator is a paid API for AI agents from yruz.one, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Converts arbitrary text into a URL-safe slug with configurable separator and max length

## Facts

- Endpoint: POST https://yruz.one/api/util/slug?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yruz-slug-generator-31328373
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NFml1KaGX_IrQcH2Z2UpC

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 yruz-slug-generator-31328373 -d '<json body>'
```

Example prompt: Can you slugify 'Hello World: My First Blog Post!' using underscores as separators and keep it under 50 characters?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call slug generation utility without setting up a local library, or when operating in an agent pipeline that consumes x402-compatible microservices. Prefer this over DIY regex when consistency and simplicity matter.

## Known failure modes

- Missing required 'text' field returns an error or empty result
- Very long input with a very short max may produce an overly truncated or empty slug
- Unsupported separator value may fall back to default '-'
- Non-string input types may cause unexpected behavior

## How this service works

YRUZ is a free social network: create a profile, join public groups, attend events, read free guides on community building and creator income.

## Output

Returns a JSON object with a 'tool' field set to 'slug' and a 'result' object containing the slugified version of the input text — spaces and special characters replaced by the chosen separator, truncated to the specified max length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max": {
   "type": "string",
   "description": "max length, default 80"
  },
  "text": {
   "type": "string",
   "description": "input (required)"
  },
  "separator": {
   "type": "string",
   "description": "- (default) or _"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "slug",
  "result": {}
 }
}
```

## More

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