Web intelligence as a service. Extract, analyze, and monitor any URL.
| Endpoint | Method | Auth | Description |
|---|---|---|---|
/api/health |
GET | No | System status and endpoint directory |
/api/keys |
POST | No | Generate a new API key |
/api/extract |
POST | Yes | Extract structured data from any URL |
/api/analyze |
POST | Yes | AI-powered content analysis (sentiment, entities, keywords) |
/api/usage |
GET | Yes | View your API usage statistics |
# 1. Get an API key
curl -X POST https://octoklaw-api.vercel.app/api/keys \
-H "Content-Type: application/json" \
-d '{"name": "My App", "email": "me@example.com"}'
# 2. Extract data from any URL
curl -X POST https://octoklaw-api.vercel.app/api/extract \
-H "Content-Type: application/json" \
-H "x-api-key: ok_YOUR_KEY_HERE" \
-d '{"url": "https://example.com"}'
# 3. Analyze content
curl -X POST https://octoklaw-api.vercel.app/api/analyze \
-H "Content-Type: application/json" \
-H "x-api-key: ok_YOUR_KEY_HERE" \
-d '{"url": "https://example.com"}'All authenticated endpoints require the x-api-key header.
| Tier | Requests/min | Monthly Quota | Price |
|---|---|---|---|
| Free | 60 | 1,000 | $0 |
| Pro | 300 | 50,000 | $29/mo |
| Enterprise | Unlimited | Unlimited | Custom |
- Runtime: Vercel Serverless Functions (Node.js 20)
- Database: Supabase (PostgreSQL) — API keys, usage metering, intelligence cache
- Monitoring: Postman automated health checks
- Source: GitHub (auto-deploy on push)
Part of the OctoKlaw autonomous infrastructure.
Revenue ARM activated. Every API call is metered. Growth is monotonic.