# FastX402 Lab – URL Slug Generator

> FastX402 Lab – URL Slug Generator is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Converts any text title or phrase into a clean URL slug, with correct handling of Turkish and other accented/Unicode characters

## Facts

- Endpoint: GET https://fastx402.tools/slugify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-lab-url-slug-generator-646114fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OXHRF42Z8GZRiH8Yn_ee_

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 fastx402-lab-url-slug-generator-646114fc
```

Example prompt: Can you slugify 'İstanbul'da Güzel Şeyler' into a clean URL-safe string with hyphens as separators?

## When to prefer this

Choose this endpoint when you need reliable, Unicode-aware slug generation — especially for Turkish, German, French, or other accented-character languages where naive ASCII transliteration fails. It handles edge cases like İ→i and ş→s that most generic slugifiers miss. Use it over regex-based in-code alternatives when correctness across international character sets is required.

## Known failure modes

- Missing required 'text' query parameter returns an error
- max_length value outside 1-200 range may cause a validation error
- Unsupported separator value (not -, _, or .) may result in rejection
- Empty string input may return an empty slug or error
- Very long inputs exceeding server limits may be truncated or rejected

## How this service works

146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing a single 'slug' field with the cleaned, lowercased, separator-joined slug string. For example, {"slug": "istanbulda-guzel-seyler"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Title or phrase"
      },
      "separator": {
       "enum": [
        "-",
        "_",
        "."
       ],
       "type": "string",
       "description": "\"-\" (default), \"_\" or \".\""
      },
      "max_length": {
       "type": "string",
       "description": "Optional maximum length, 1-200"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "slug": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "slug": "istanbulda-guzel-seyler"
 }
}
```

## More

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