API v1 · stable

Edge delivery, programmatically.

Manage points of presence, cache policy and TLS from a single REST interface. Every zone change propagates to the edge in under 30 seconds.

All systems operational · uptime this window

Global PoPs

Anycast entry points with automatic failover between regions.

Instant purge

Tag- and prefix-based invalidation, propagated edge-wide.

Managed TLS

Automated issuance and renewal, OCSP stapling enabled by default.

Real-time analytics

Bandwidth, cache-hit ratio and status-code breakdown per zone.

Endpoints

MethodPathDescription
GET/api/v1/statusService health and build metadata
GET/api/v1/popsList points of presence
GET/api/v1/zonesList configured zones
POST/api/v1/zonesCreate a zone
POST/api/v1/cache/purgePurge by tag or prefix
GET/api/v1/analytics/bandwidthBandwidth time series
DELETE/api/v1/zones/{id}Remove a zone

Authentication

Bearer tokens are scoped per zone. Tokens are issued from the console and can be rotated without downtime.

curl -H "Authorization: Bearer $EDGE_TOKEN" \
     https://lk.freepux.site/api/v1/zones

Client libraries

npm install @lk/edge-client
pip install lk-edge