{"uid":"cap_GJxlujCHXyC2WT4k7ylgg","slug":"agent-format-url-slugify-f5c936b7","name":"Agent Format – URL Slugify","description":"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.","url":"https://agent-format.annushka1190.workers.dev/v1/slug","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ji04gxmDHkdOpjbT6izcB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a text string into a URL-safe slug (lowercase, hyphenated, special-characters stripped) via pay-per-request USDC payment over x402.","exampleAgentPrompt":"Can you slugify this title for me — 'Hello World! My First Blog Post 2024' — so I can use it as a URL path?","exampleUseCases":[{"title":"Blog post permalink generation","prompt":"I'm publishing a new article called 'Top 10 JavaScript Frameworks in 2024 — What's New?' — can you turn that into a clean URL slug for the permalink?"},{"title":"E-commerce product URL creation","prompt":"I need a URL-safe slug for a product called 'Café Espresso Maker (Deluxe Edition)' — convert it so I can use it in the product page URL."},{"title":"CMS content ID slugification","prompt":"Take the category name 'Science & Technology: AI Breakthroughs' and slugify it so I can use it as a category slug in my CMS."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:42:03.138Z","isFirstParty":false}