📚 API Documentation

Base URL: https://api-market.wei04459.workers.dev

🔑 Authentication

Get a free API key (100 requests/month):

curl -X POST https://api-market.wei04459.workers.dev/keys

Pass your key via header or query parameter:

# Header (recommended)
curl "https://api-market.wei04459.workers.dev/api/seo?url=example.com" \
  -H "X-API-Key: YOUR_KEY"

# Query parameter
curl "https://api-market.wei04459.workers.dev/api/seo?url=example.com&api_key=YOUR_KEY"

🔍 SEO Analyzer

Analyze a webpage's SEO elements.

GET /api/seo?url=https://example.com

Response: JSON with title, meta description, headings, images, links, social tags, and score (0-100).

📱 QR Code Generator

Generate QR codes as SVG.

GET /api/qr?data=Hello%20World&size=300&color=000000&bg=FFFFFF

Parameters: data (required), size (100-1000, default 300), color (hex), bg (hex background)

✉️ Email Validator

Validate email addresses with MX record checks.

GET /api/email?email=user@example.com

Response: JSON with valid, score (0-100), checks breakdown (syntax, MX, disposable, role).

📊 Check Usage

GET /keys/YOUR_API_KEY

← Back to Home