# 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-15).

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

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/text.slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-slugify-f64d29a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jOGv02jv6P0wrgmke650K

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

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

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call slugification without managing your own string processing logic, especially in agent pipelines that already use x402 micropayment infrastructure. Prefer it for one-off or low-volume slugification tasks where spinning up a local library is overkill.

## Known failure modes

- Missing required 'input' field returns a validation error
- Empty string input may return an empty slug or error
- Non-string input type causes schema validation failure
- Network timeout on the Vercel serverless function
- Payment failure via x402 protocol results in 402 response before processing

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the original operation name ('text.slugify') and the resulting slug — a lowercase, hyphen-separated, URL-safe string derived from the input text with special characters removed or replaced.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-text-slugify-f64d29a9/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)
