# Foundry Slug Generator

> Foundry Slug Generator is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Converts any text or title into a clean, URL-safe slug (e.g. 'Hello World' → 'hello-world')

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/slugify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-slug-generator-250e5073
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0eq2ytrXNnEGA_UwlxM6S

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 foundry-slug-generator-250e5073 -d '<json body>'
```

Example prompt: Can you slugify 'The Ultimate Guide to Web Agents & AI Automation in 2025' into a clean URL slug?

## When to prefer this

Use this endpoint when you need a quick, reliable text-to-slug conversion without running string manipulation code locally. Ideal for automating CMS publishing pipelines, generating SEO-friendly URLs from dynamic titles, or normalizing user-provided names into URL-safe identifiers.

## Known failure modes

- Empty or whitespace-only input returns an empty slug or error
- Input exceeding 8000 characters is rejected
- Special characters that cannot be slugified are stripped silently
- Non-ASCII/Unicode characters may be dropped or transliterated unpredictably
- Network timeout if the Render.com service is cold-starting

## How this service works

Slug generator: turns any text into a clean URL slug. Input: a title.

## Output

Returns a JSON object containing the generated URL slug (lowercase, hyphen-separated, special characters removed) and its character length. Example: {"slug": "hello-world-agents-x402", "length": 23}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "A title or phrase"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "slug": "hello-world-agents-x402",
  "length": 23
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-slug-generator-250e5073/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
