# ScrapFly Content Slug Generator

> ScrapFly Content Slug Generator is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-24).

Converts text into a URL-friendly slug using ScrapFly's content API

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/content/slug?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-content-slug-generator-6d3a7537
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZBPYsctrmA6Obu-A46_Ry

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

Example prompt: Can you slugify this title for me — 'How to Build a REST API with Node.js in 2024' — so I can use it as a URL path for my blog post?

## When to prefer this

Use this endpoint when you need a quick, pay-per-use slug generation without hosting your own slugify logic, especially within an agent workflow already integrated with ScrapFly's x402 payment infrastructure on Base chain.

## Known failure modes

- Empty or missing text field returns validation error
- Very long text inputs may be truncated or rejected
- Special character-heavy inputs may produce unexpected slug formats
- Payment failure on Base chain results in 402 response before processing
- Non-string input types may cause a 400 bad request

## 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 version of 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-6d3a7537/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
