# ScrapFly Content Slug Generator

> ScrapFly Content Slug Generator is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Generates a URL-friendly slug from a given text string

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/content/slug
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-content-slug-generator-1b74185a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zbRsGN9J8dG7TcfNFS4LL

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 scrapfly-content-slug-generator-1b74185a -d '<json body>'
```

Example prompt: Turn this title into a URL slug: 'How to Build Scalable AI Agents in 2025 — A Complete Guide'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use slug generation without setting up your own text processing pipeline. Useful in agent workflows where content titles are dynamically generated and need to be immediately converted to URL-safe identifiers for CMS, routing, or SEO purposes.

## Known failure modes

- Missing 'text' field returns an error response with success: false
- Empty string input may return an empty or invalid slug
- Very long input strings may be truncated or cause unexpected output
- Special characters that cannot be normalized may be dropped silently
- Service unavailability on Vercel may return a 500 or timeout error

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing the generated slug — a lowercase, hyphen-separated, URL-safe string derived from the input text.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-content-slug-generator-1b74185a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
