# AgentResolver Slugify

> AgentResolver Slugify is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Converts arbitrary text into a URL-safe slug using a configurable separator character

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/slugify
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-slugify-834adba6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JFg3KRQr0jRLgRNPUAXro

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 agentresolver-slugify-834adba6 -d '<json body>'
```

Example prompt: Can you slugify the text 'Hello World! This is my Blog Post' using hyphens as the separator?

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call slugification utility with a simple REST interface and configurable separator, especially in x402-compatible agent workflows where micropayments are already wired in. Prefer it over custom string manipulation when you need the 'changed' flag to detect whether normalization was needed.

## Known failure modes

- Missing required 'text' field returns a validation error
- Invalid separator value (not '-' or '_') returns a schema validation error
- Empty string input may return an empty or unchanged slug
- Very long input strings may be truncated or cause unexpected behavior

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns an object containing the generated slug string, the separator character used, and a boolean 'changed' flag indicating whether the output differs from the input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192
  },
  "separator": {
   "enum": [
    "-",
    "_"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-slugify-834adba6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
