Documentation

API Reference

Everything you need to integrate KWJ into your agent stack.

Quick Start

curl -H "Authorization: Bearer YOUR_API_KEY" \
     "https://kwj.ai/api/v1/web_read?url=https://example.com"

Authentication

Pass your API key as a Bearer token or X-API-Key header on every request. Get a key at kwj.ai/#trial.

Endpoints

GET /api/v1/web_read

Fetch any URL with caching. Repeat reads cost zero tokens.

?url=https://example.com
POST /api/v1/digest

Compress noisy logs or output before it enters Claude context.

{"text": "...", "max_lines": 50}
GET /api/v1/cache_get

Retrieve a cached result by key.

?key=my-task
GET /api/v1/doc_extract

Extract text from a PDF or document URL.

?url=https://example.com/doc.pdf

Agent Integration

KWJ is agent-native. Discover tools via AI Plugin manifest, OpenAPI spec, or MCP endpoint.

Pricing

1-hour free trial (100 calls). $19/month or $190/year. See plans.