# Agent Data Tools: Text to URL Slug Converter

> Agent Data Tools: Text to URL Slug Converter is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Converts a plain text string into a URL-friendly slug (lowercase, hyphen or underscore separated)

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/slug?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-text-to-url-slug-converter-5e78be91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YnY97hO1eHJMbBqmsPQHz

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 agent-data-tools-text-to-url-slug-converter-5e78be91
```

Example prompt: Can you turn the text 'Crème Brûlée Straße' into a URL-friendly slug using hyphens as separators?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call slug conversion with no API key or account setup required, billed at $0.001 USDC via x402. Ideal for AI agents that occasionally need to slugify strings as part of a larger workflow without maintaining a separate text-processing service subscription.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Invalid separator value (not '-' or '_') may cause unexpected behavior
- Very long input strings may be truncated or cause errors
- Non-ASCII characters may be transliterated or dropped depending on implementation

## How this service works

Turn any text into a URL-friendly slug: accents removed (é→e, ß→ss), lower case, non-alphanumerics replaced by a separator (- by default). Use for file names, URLs and IDs.

## Output

A JSON object containing a single field 'slug' with the slugified version of the input text — lowercased, with spaces and special characters replaced by the chosen separator (hyphen by default, or underscore).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "The text"
  },
  "separator": {
   "type": "string",
   "description": "- (default) or _"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "slug": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-text-to-url-slug-converter-5e78be91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
