# 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 an arbitrary 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/p/nano/text.slugify--slugify-text
- 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-96cd4ccd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5E6B5UDWtMIEESUm0VfBY

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-96cd4ccd -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-use slug conversion without setting up your own string processing library or hosting infrastructure. It is ideal for agents or pipelines that occasionally need to slugify text as part of a larger workflow and want a single micro-API call rather than bundling a slugify utility. Best suited for single-string conversions billed at $0.001 USDC via x402.

## Known failure modes

- Missing required 'input' field returns a 400-level error
- Empty string input may return an empty slug or an error
- Very long strings may be truncated or rejected
- Non-string input types may cause a validation error
- Network or payment authorization failure returns a 402 or 5xx response

## How this service works

Machine-readable settlement service

## Output

Returns an object containing the slugified version of the input string — typically lowercased, with spaces and special characters replaced by hyphens and consecutive hyphens collapsed, suitable for use in URLs, file paths, or 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-96cd4ccd/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)
