# PennyRail Text Slugify — URL Slug Generator

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

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

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.slugify--url-slug
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-slugify-url-slug-generator-723aeb98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vb7LuEry5PZGbSz7uA-IE

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-url-slug-generator-723aeb98 -d '<json body>'
```

Example prompt: Turn 'Hello World! My First Blog Post (2024)' into a URL slug I can use as a permalink.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use text-to-slug conversion without standing up your own string-processing library or microservice. Ideal for low-volume, on-demand slug generation within agent pipelines that already use x402 micropayment infrastructure.

## Known failure modes

- Empty or missing 'input' field returns a validation error
- Extremely long strings may be truncated or cause timeout
- Non-UTF-8 encoded characters may be stripped or cause errors
- Payment failure (402) if USDC balance is insufficient or x402 header is missing

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the URL-safe slug derived from the input string — typically a lowercase, hyphen-separated string with special characters removed or replaced.

## 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-url-slug-generator-723aeb98/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)
