# PennyRail Text Slugify

> PennyRail Text Slugify is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a text string into a URL-safe slug by removing special characters, lowercasing, and replacing spaces with hyphens

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.slugify--slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-slugify-5c6a27ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EVID-v8W_hzVuuqkifb3C

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 pennyrail-text-slugify-5c6a27ec -d '<json body>'
```

Example prompt: Can you slugify the text 'Hello World! This is My Blog Post #42' so I can use it as a URL path segment?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call text slugification without setting up your own string processing library or running code. Ideal for agents that occasionally need to convert arbitrary user-provided text into URL-safe identifiers without a dependency on a full NLP or CMS service.

## Known failure modes

- Missing 'input' field returns a validation error
- Empty string input may return an empty slug or error
- Extremely long strings may be truncated or rejected
- Non-UTF-8 encoded input may cause processing errors
- Network timeout on the Vercel edge function

## How this service works

Machine-readable settlement service

## Output

A JSON object containing the slugified version of the input string — lowercased, with spaces replaced by hyphens, and special characters removed or normalized, suitable for use in URLs and identifiers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-text-slugify-5c6a27ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
