# Agent Format – URL Slugify

> Agent Format – URL Slugify is a paid API for AI agents from agent-format.annushka1190.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Converts a text string into a URL-safe slug (lowercase, hyphenated, special-characters stripped) via pay-per-request USDC payment over x402.

## Facts

- Endpoint: POST https://agent-format.annushka1190.workers.dev/v1/slug
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-format-url-slugify-f5c936b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GJxlujCHXyC2WT4k7ylgg

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-format-url-slugify-f5c936b7 -d '<json body>'
```

Example prompt: Can you slugify this title for me — 'Hello World! My First Blog Post 2024' — so I can use it as a URL path?

## When to prefer this

Use this endpoint when you need a quick, pay-per-use URL slugification without managing API keys or accounts. Ideal for AI agents that infrequently need slug conversion and want zero-setup access via x402 USDC micropayments. Prefer this over building custom slug logic when you need consistent, reliable output for blog post permalinks, product URLs, or CMS category slugs.

## Known failure modes

- Missing or empty input string returns a 400 or error response
- Payment failure (insufficient USDC balance or x402 handshake error) results in a 402 Payment Required response
- Non-string input types may return a validation error
- Extremely long strings may be truncated or rejected

## How this service works

Encoding utilities for AI agents: base64 encode/decode, hex encode/decode, URL slugify, JWT header/payload decode (no signature verify), and case conversion. Pay-per-request USDC via x402. No API keys, no accounts.

## Output

Returns a JSON object with ok: true and the slugified string — a lowercase, hyphen-separated, URL-safe version of the input text with special characters and spaces normalized.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-format-url-slugify-f5c936b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-format.annushka1190.workers.dev](https://www.zero.xyz/host/agent-format.annushka1190.workers.dev/llms.txt)
