# Text to Slug Generator (`automation-lab/text-to-slug-generator`) Actor

🔗 Convert text, titles, or headings to clean URL-friendly slugs. Batch-process thousands of strings with Unicode transliteration, stop-word removal, custom separators, and max-length truncation.

- **URL**: https://apify.com/automation-lab/text-to-slug-generator.md
- **Developed by:** [Stas Persiianenko](https://apify.com/automation-lab) (community)
- **Categories:** Developer tools, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Text to Slug Generator

> Convert any text, title, or heading into a clean, URL-friendly slug — instantly, in bulk, with full Unicode support.

Paste hundreds of blog post titles, product names, or category labels and get back SEO-optimized slugs in seconds. No scraping, no proxy, no waiting — pure computation at API scale.

### 🔍 What does it do?

Text to Slug Generator takes a list of text strings and converts each one into a valid URL slug: lowercase, hyphen-separated, with accented characters transliterated and special symbols stripped.

**Input:**
````

Café au Lait & Crêpes — A French Classic!
10 Best SEO Tips for 2024 (Proven Strategies)
Hello World: Getting Started with Node.js

```

**Output:**
```

cafe-au-lait-and-crepes-a-french-classic
10-best-seo-tips-for-2024-proven-strategies
hello-world-getting-started-with-nodejs

````

Works with any language, supports custom separators, optional stop-word removal, max-length truncation, and deduplication.

---

### 👥 Who is it for?

#### Content managers migrating a CMS
You have 5,000 article titles exported from WordPress or Drupal. You need slugs for the new platform. Paste them all in, export as CSV, done in under a minute.

#### SEO specialists building URL structures
You're planning a site architecture and need to verify every planned URL slug is clean, consistent, and keyword-dense. Remove stop words to keep slugs short and punchy.

#### Developers automating pipelines
Your n8n or Make.com workflow generates product listings dynamically and needs to create URL-safe IDs for each. Call this actor via API from any automation tool.

#### E-commerce teams adding new SKUs
You're adding 500 new products and need a slug for each one. Batch-process the entire catalog in one run instead of clicking through an admin UI one product at a time.

#### Data engineers standardizing identifiers
You need deterministic, reproducible slugs for database keys, file names, or API endpoints derived from human-readable labels.

---

### ✅ Why use it?

- **Zero configuration needed** — paste your texts, get slugs. All options have sensible defaults.
- **Unicode/international support** — accented characters (é, ü, ñ, ç), Cyrillic, Arabic, CJK (Chinese/Japanese/Korean), Thai, Hebrew, Greek and 30+ scripts transliterated automatically via `any-ascii`.
- **Stop-word removal** — strip "the", "and", "of" etc. for shorter, more keyword-dense slugs.
- **Batch-optimized** — process thousands of strings in a single run. No rate limits, no per-page overhead.
- **Consistent** — same input always produces the same slug. Safe for use as a deterministic key generator.
- **Flexible separators** — hyphen (`-`), underscore (`_`), or dot (`.`) depending on your platform conventions.
- **Max-length truncation** — truncate at a word boundary to stay within CMS or routing constraints.
- **Deduplication** — skip repeated inputs to avoid duplicate rows in your output.

---

### 📊 Output data

Each input text produces one output row:

| Field | Type | Description |
|-------|------|-------------|
| `index` | number | Position of this text in the input array (0-based) |
| `text` | string | Original input text, trimmed |
| `slug` | string | The generated URL-friendly slug |
| `characterCount` | number | Number of characters in the slug |
| `wordCount` | number | Number of words (segments between separators) |
| `wasTruncated` | boolean | `true` if slug was shortened due to `maxLength` |
| `stopWordsRemoved` | array | Words removed by the stop-word filter |

---

### 💰 How much does it cost to convert text to slugs?

This actor uses **Pay-Per-Event (PPE)** pricing — you only pay for what you use.

| Event | FREE tier | BRONZE (Starter) | SILVER (Scale) | GOLD (Business) |
|-------|-----------|--------|--------|------|
| Run started (one-time) | $0.005 | $0.005 | $0.005 | $0.005 |
| Per slug generated | $0.00115 | $0.001 | $0.00078 | $0.0006 |

**Example costs (Starter plan — $0.001/slug):**
- **100 slugs**: ~$0.11 (start + 100 × $0.001)
- **1,000 slugs**: ~$1.01
- **10,000 slugs**: ~$10.01
- **100,000 slugs**: ~$100.01

Higher-tier plans get additional volume discounts — DIAMOND users pay just $0.00028/slug.

All runs include a **free tier** — new Apify accounts get $5 in free platform credits, enough to generate ~4,300 slugs at no charge (FREE tier pricing).

---

### 🚀 How to use it (step by step)

1. **Open the actor** on the Apify Store and click **Try for free**.
2. **Paste your texts** into the "Texts to convert" field — one per line, or as a JSON array.
3. **Choose a separator** (hyphen is the default and most common for URLs).
4. **Enable options** as needed: lowercase (default on), stop-word removal, max length.
5. **Click Start** — results appear in the dataset within seconds.
6. **Export** as JSON, CSV, or XLSX from the dataset view.

For automation, use the [Apify API](#-api-usage) or connect via [MCP](#-mcp--ai-assistant-integration).

---

### ⚙️ Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `texts` | array of strings | *(required)* | List of text strings to convert. Each produces one output row. |
| `separator` | string | `"-"` | Word separator: `-`, `_`, or `.` |
| `lowercase` | boolean | `true` | Convert output to lowercase. Recommended for all URLs. |
| `locale` | string | `""` | BCP 47 locale for transliteration hints (e.g., `"de"`, `"fr"`, `"tr"`). Leave blank for generic. |
| `maxLength` | integer | `0` | Maximum slug length in characters. `0` = unlimited. Truncation happens at a word boundary. |
| `removeStopWords` | boolean | `false` | Strip common English stop words (a, the, and, or, in, of, …). |
| `customStopWords` | array of strings | `[]` | Additional words to strip, in any language. |
| `deduplicate` | boolean | `false` | Skip duplicate input texts (one output per unique text). |

---

### 📦 Output examples

#### Basic conversion

**Input:**
```json
{
  "texts": ["Hello, World! This is a Test"],
  "separator": "-",
  "lowercase": true
}
````

**Output:**

```json
{
  "index": 0,
  "text": "Hello, World! This is a Test",
  "slug": "hello-world-this-is-a-test",
  "characterCount": 26,
  "wordCount": 6,
  "wasTruncated": false,
  "stopWordsRemoved": []
}
```

#### With stop-word removal

**Input:**

```json
{
  "texts": ["The Best Guide to URL Slugs for SEO"],
  "removeStopWords": true
}
```

**Output:**

```json
{
  "index": 0,
  "text": "The Best Guide to URL Slugs for SEO",
  "slug": "best-guide-url-slugs-seo",
  "characterCount": 24,
  "wordCount": 5,
  "wasTruncated": false,
  "stopWordsRemoved": ["the", "to", "for"]
}
```

#### With max length

**Input:**

```json
{
  "texts": ["A Very Long Title That Should Be Truncated After a Certain Point"],
  "maxLength": 30
}
```

**Output:**

```json
{
  "index": 0,
  "text": "A Very Long Title That Should Be Truncated After a Certain Point",
  "slug": "a-very-long-title-that-should",
  "characterCount": 29,
  "wordCount": 6,
  "wasTruncated": true,
  "stopWordsRemoved": []
}
```

#### International / accented text

**Input:**

```json
{
  "texts": ["Café au Lait & Crêpes", "Über den Wolken", "Ñoño y más ñoño"]
}
```

**Output:**

```json
[
  { "index": 0, "slug": "cafe-au-lait-and-crepes", ... },
  { "index": 1, "slug": "uber-den-wolken", ... },
  { "index": 2, "slug": "nono-y-mas-nono", ... }
]
```

***

### 💡 Tips and best practices

- **Keep slugs short** — enable `removeStopWords` and set `maxLength: 60` for SEO-friendly URLs under most CMS character limits.
- **Use hyphens, not underscores** — Google treats hyphens as word separators but underscores as connectors. Stick with `-` for blog posts and product pages.
- **Test your locale** — if you're processing German or Turkish text, set `locale` to `"de"` or `"tr"` for correct transliteration (e.g., `ü → ue` in German context).
- **Use `customStopWords`** for brand names, common short words specific to your niche, or words that add no SEO value in your content category.
- **Deduplication for catalog imports** — enable `deduplicate: true` when processing a product catalog that may have repeated names to avoid duplicate URL conflicts.
- **Batch everything in one run** — up to 100,000 texts per run is practical. There's no throttling or pagination overhead for pure computation.

***

### 🔌 Integrations

#### WordPress / WooCommerce bulk migration

Export post titles from WordPress (`wp post list --fields=ID,post_title --format=csv`), convert slugs with this actor, then import back with `wp post update {ID} --post_name={slug}`. Automate the loop via n8n.

#### Contentful / Strapi CMS pipeline

Add a "slug" field to your content type. Build a Make.com scenario: new entry created → send `title` to this actor via API → write returned slug back to the entry. Fully automated, zero developer involvement after setup.

#### E-commerce product feeds

When ingesting supplier product feeds (CSV/XML), run titles through this actor before inserting to your database. Guarantees all product URLs are consistent, even when supplier titles change capitalization or punctuation between feed updates.

#### Shopify collection slugs

Shopify calls these "handles". Use this actor in a Zapier workflow: new collection created → generate handle → update via Shopify Admin API. Keeps your SEO-friendly URL conventions consistent across the whole store.

#### Static site generators (Jekyll, Hugo, 11ty)

Pre-generate slugs for your content pipeline. Run this actor on your content spreadsheet before pushing to your repo, then use the slugs directly as file names (`{slug}.md`).

***

### 🛠 API usage

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('automation-lab/text-to-slug-generator').call({
    texts: [
        'Hello World! This is a Test',
        'Café au Lait & Crêpes',
        '10 Best SEO Tips for 2024',
    ],
    separator: '-',
    lowercase: true,
    removeStopWords: false,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
// [{ slug: 'hello-world-this-is-a-test', ... }, ...]
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient(token="YOUR_API_TOKEN")

run = client.actor("automation-lab/text-to-slug-generator").call(run_input={
    "texts": [
        "Hello World! This is a Test",
        "Café au Lait & Crêpes",
        "10 Best SEO Tips for 2024",
    ],
    "separator": "-",
    "lowercase": True,
    "removeStopWords": False,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in items:
    print(item["slug"])
```

#### cURL

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/automation-lab~text-to-slug-generator/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "texts": [
      "Hello World! This is a Test",
      "Café au Lait & Crêpes"
    ],
    "separator": "-",
    "lowercase": true
  }'
```

***

### 🤖 MCP — AI assistant integration

Connect Text to Slug Generator directly to Claude, Cursor, or any MCP-compatible AI assistant and convert slugs with a natural language prompt.

#### Claude Code (terminal)

```bash
claude mcp add --transport http apify "https://mcp.apify.com"
```

#### Claude Desktop / Cursor / VS Code

Add to your MCP config:

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com"
        }
    }
}
```

Your AI assistant will use OAuth to authenticate with your Apify account on first use.

#### Example prompts

- *"Generate URL slugs for these 20 blog post titles: \[paste titles]"*
- *"Convert these product names to underscored slugs with stop words removed"*
- *"Create slugs for these French article titles with locale set to fr"*
- *"Process this CSV of 500 titles and give me back a table with original and slug columns"*

***

### ⚖️ Legality and data usage

This actor performs **pure local computation** — it does not make any HTTP requests to external websites, does not scrape any service, and does not use any proxies. All processing happens inside the actor runtime using only the input you provide.

- **No terms of service concerns** — no websites are accessed.
- **No personal data collected** — the actor only processes the strings you provide and returns them transformed.
- **GDPR-safe** — input and output data are stored only in your own Apify dataset, under your account.

***

### ❓ FAQ

**Q: What happens to non-Latin characters (Chinese, Arabic, Cyrillic, Korean)?**
A: All Unicode characters are transliterated to ASCII using the `any-ascii` library, which covers 100+ scripts. Chinese → Pinyin romanization, Japanese Kana → Romaji, Korean Hangul → Revised Romanization, Arabic → consonant romanization, Cyrillic → Latin equivalents. These are phonetically approximate and perfect for URL slugs.

**Q: Does it preserve numbers in slugs?**
A: Yes. Numbers are kept as-is. `"Top 10 Tips"` → `"top-10-tips"`.

**Q: Can I use it with underscores for Python package names?**
A: Yes — set `separator: "_"`.

**Q: The slug is empty after stop-word removal — why?**
A: If your text consists entirely of stop words (e.g., `"The And Or"`), the actor falls back to the full word list and won't produce an empty slug.

**Q: I have 1 million titles. Will it time out?**
A: The default timeout is 300 seconds. At ~10,000 slugs/second processing speed, you can safely process ~1–2 million titles per run. For larger batches, split into multiple runs or contact us for guidance.

**Q: The slug for my German text looks wrong (ü became u, not ue).**
A: The `any-ascii` library maps German `ü→u`, `ö→o`, `ä→a` — standard ASCII transliteration. The locale field is stored in output metadata but does not change `any-ascii` behavior. For locale-specific conventions (e.g., German ü→ue), pre-process your text with a specialized tool before passing to this actor.

**Q: How do I export results as a CSV?**
A: After the run, open the dataset tab and click **Export** → **CSV**. You can also use the Apify API: `GET /v2/datasets/{id}/items?format=csv`.

***

### 🔗 Related actors

- [Base64 Converter](https://apify.com/automation-lab/base64-converter) — Encode and decode Base64 strings in bulk.
- [JSON Schema Generator](https://apify.com/automation-lab/json-schema-generator) — Generate JSON Schema from sample JSON objects automatically.
- [Color Contrast Checker](https://apify.com/automation-lab/color-contrast-checker) — Validate WCAG 2.1 AA/AAA color contrast ratios in bulk.
- [Accessibility Checker](https://apify.com/automation-lab/accessibility-checker) — Audit web pages for WCAG accessibility issues.
- [Ads.txt Checker](https://apify.com/automation-lab/ads-txt-checker) — Validate ads.txt files for programmatic advertising compliance.

# Actor input Schema

## `texts` (type: `array`):

List of text strings to convert to URL-friendly slugs. Each entry produces one output row.

## `separator` (type: `string`):

Character used between words in the slug. Defaults to hyphen.

## `lowercase` (type: `boolean`):

Convert all characters to lowercase. Recommended for most URL use cases.

## `locale` (type: `string`):

Locale used for transliteration of accented and non-Latin characters (e.g. ü → u, ñ → n). Use BCP 47 codes like 'de', 'fr', 'tr'. Leave blank for language-agnostic transliteration.

## `maxLength` (type: `integer`):

Truncate the slug to this many characters. Truncation happens at a word boundary. Set to 0 to disable.

## `removeStopWords` (type: `boolean`):

Strip common English stop words (a, the, and, or, in, of, …) before generating the slug. Produces shorter, more keyword-dense slugs.

## `customStopWords` (type: `array`):

Additional words to strip from the slug, regardless of the stop-word setting above.

## `deduplicate` (type: `boolean`):

When enabled, identical input texts produce only one output row (deduplication by text).

## Actor input object example

```json
{
  "texts": [
    "Hello World! This is a Test",
    "Café au Lait & Crêpes",
    "10 Best SEO Tips for 2024"
  ],
  "separator": "-",
  "lowercase": true,
  "locale": "",
  "maxLength": 0,
  "removeStopWords": false,
  "customStopWords": [],
  "deduplicate": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "texts": [
        "Hello World! This is a Test",
        "Café au Lait & Crêpes",
        "10 Best SEO Tips for 2024"
    ],
    "separator": "-",
    "lowercase": true,
    "locale": "",
    "maxLength": 0,
    "removeStopWords": false,
    "customStopWords": [],
    "deduplicate": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/text-to-slug-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "texts": [
        "Hello World! This is a Test",
        "Café au Lait & Crêpes",
        "10 Best SEO Tips for 2024",
    ],
    "separator": "-",
    "lowercase": True,
    "locale": "",
    "maxLength": 0,
    "removeStopWords": False,
    "customStopWords": [],
    "deduplicate": False,
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/text-to-slug-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "texts": [
    "Hello World! This is a Test",
    "Café au Lait & Crêpes",
    "10 Best SEO Tips for 2024"
  ],
  "separator": "-",
  "lowercase": true,
  "locale": "",
  "maxLength": 0,
  "removeStopWords": false,
  "customStopWords": [],
  "deduplicate": false
}' |
apify call automation-lab/text-to-slug-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=automation-lab/text-to-slug-generator",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Text to Slug Generator",
        "description": "🔗 Convert text, titles, or headings to clean URL-friendly slugs. Batch-process thousands of strings with Unicode transliteration, stop-word removal, custom separators, and max-length truncation.",
        "version": "0.1",
        "x-build-id": "rM1Q1OY9LEZrAhAcB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/automation-lab~text-to-slug-generator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-automation-lab-text-to-slug-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/automation-lab~text-to-slug-generator/runs": {
            "post": {
                "operationId": "runs-sync-automation-lab-text-to-slug-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/automation-lab~text-to-slug-generator/run-sync": {
            "post": {
                "operationId": "run-sync-automation-lab-text-to-slug-generator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "texts"
                ],
                "properties": {
                    "texts": {
                        "title": "📝 Texts to convert",
                        "type": "array",
                        "description": "List of text strings to convert to URL-friendly slugs. Each entry produces one output row.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "separator": {
                        "title": "🔗 Separator character",
                        "enum": [
                            "-",
                            "_",
                            "."
                        ],
                        "type": "string",
                        "description": "Character used between words in the slug. Defaults to hyphen.",
                        "default": "-"
                    },
                    "lowercase": {
                        "title": "Lowercase output",
                        "type": "boolean",
                        "description": "Convert all characters to lowercase. Recommended for most URL use cases.",
                        "default": true
                    },
                    "locale": {
                        "title": "🌍 Locale / language",
                        "type": "string",
                        "description": "Locale used for transliteration of accented and non-Latin characters (e.g. ü → u, ñ → n). Use BCP 47 codes like 'de', 'fr', 'tr'. Leave blank for language-agnostic transliteration.",
                        "default": ""
                    },
                    "maxLength": {
                        "title": "Max slug length (chars)",
                        "minimum": 0,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Truncate the slug to this many characters. Truncation happens at a word boundary. Set to 0 to disable.",
                        "default": 0
                    },
                    "removeStopWords": {
                        "title": "Remove English stop words",
                        "type": "boolean",
                        "description": "Strip common English stop words (a, the, and, or, in, of, …) before generating the slug. Produces shorter, more keyword-dense slugs.",
                        "default": false
                    },
                    "customStopWords": {
                        "title": "Custom stop words",
                        "type": "array",
                        "description": "Additional words to strip from the slug, regardless of the stop-word setting above.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "deduplicate": {
                        "title": "Skip duplicate texts",
                        "type": "boolean",
                        "description": "When enabled, identical input texts produce only one output row (deduplication by text).",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
