Secure API Gateway

A high-security REST API for developers, not a frontend website

This is an API endpoint, not a website. You're seeing this documentation page because you accessed the root URL directly. To use this service, please make HTTP requests to the API endpoints shown below.

API Features

Military-Grade Security

Shamir's Secret Sharing for master key protection combined with AES-256 encryption for all stored keys.

Zero Trust Architecture

Distributed key storage with GitHub-based version control and full audit trails.

Cloudflare Edge Network

Global low-latency API endpoints served from 200+ locations worldwide.

API Endpoints

POST /api/keys

Generate a new API key. Requires master key authentication.

curl -X POST https://your-api.pages.dev/api/keys \
  -H "X-Master-Key: YOUR_MASTER_KEY"
GET /api/verify

Verify an API key is valid.

curl https://your-api.pages.dev/api/verify \
  -H "X-API-Key: YOUR_API_KEY"
DELETE /api/keys

Revoke an API key. Requires master key authentication.

curl -X DELETE https://your-api.pages.dev/api/keys \
  -H "X-Master-Key: YOUR_MASTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"key":"KEY_TO_REVOKE"}'

Getting Started

  1. Generate your master key and API keys using the endpoints above
  2. Include the X-API-Key header in all requests
  3. For administrative actions, use the X-Master-Key header
  4. Check response status codes for success/error handling

Documentation

For complete API documentation including error codes, rate limits, and advanced features, please visit our developer portal.

View Full API Reference