API Reference

Base: https://unweb-production-6f69.up.railway.app

GET/api/v1/health

Health check

POST/api/v1/extract

Extract structured content from a URL. Body: url, use_llm

POST/api/v1/search

Search web + LLM summarize. Body: query, max_results

POST/api/v1/publish

Register site for AI access. Body: url, site_name, content

GET/llms/{name}

Public AI-readable endpoint (no auth)

GET/api/v1/metrics

Usage dashboard (auth required)

Auth

Include X-API-Key: your_key header on all endpoints. Get a key via POST /api/v1/auth/register