DEV Community

2x lazymac
2x lazymac

Posted on

URL Slug Generator API - REST + MCP, Free Tier

URL Slug Generator API

Convert any text to clean URL slugs. Handles unicode, special chars, spaces. Multiple separator options. Reverse lookup support.

Quick Start

# Health check
curl https://api.lazy-mac.com/slug-generator-api/health

# API info
curl https://api.lazy-mac.com/slug-generator-api
Enter fullscreen mode Exit fullscreen mode

Endpoints

  • {'path': '/generate', 'method': 'POST', 'description': 'Convert text to slug'}
  • {'path': '/batch', 'method': 'POST', 'description': 'Batch slug generation'}
  • {'path': '/health', 'method': 'GET', 'description': 'Health check'}

Pricing

Plan Price Features
Free $0/mo 100 req/day, core endpoints
Pro $Free/mo Unlimited, all endpoints, MCP

MCP Integration

This API supports the Model Context Protocol (JSON-RPC 2.0):

curl -X POST https://api.lazy-mac.com/slug-generator-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Enter fullscreen mode Exit fullscreen mode

Get Your API Key

Get started on Gumroad — free tier available.


Built by lazymac | All APIs

Top comments (0)