Skip to content
APIs & apps

Rate limits before your server sees it.

Put ZEROPING in front of your API. Abusive clients get a 429 from the edge. Your server keeps its capacity for real calls.

7-day trial · card required · cancel before day 7 and pay nothing

Request
$ curl -i https://api.example.net/v1/orders \
    -H "authorization: Bearer $TOKEN"
Response
HTTP/2 200
content-type: application/json
server: zeroping
x-zp-edge: HKG
ratelimit-limit: 5
ratelimit-remaining: 4
01 / Rate limiting & firewall

Set the limit. Watch the edge enforce it.

Rules match on IP, CIDR, country, path and method. Each rule can carry a rate limit per client IP.

Example rule · rule.yaml
name: orders-api
match:
  host: api.example.net
  path: /v1/*
  method: [GET, POST]
rate_limit:
  requests: 5
  per: 10s
  key: client_ip
action: block   # 429 with retry-after
  • IP and CIDR allow and deny Live
  • Country rules Live
  • Path rules Live
  • Method rules Live
  • Rate-limit rules Live

Solo includes 1 rate-limit rule. On Pro and Network, rate limits count within your firewall rules.

  1. 01200 OK · ratelimit-remaining: 4
  2. 02200 OK · ratelimit-remaining: 3
  3. 03200 OK · ratelimit-remaining: 2
  4. 04200 OK · ratelimit-remaining: 1
  5. 05200 OK · ratelimit-remaining: 0
  6. 06429 Too Many Requests · retry-after: 10

Press Send request. The sixth call inside 10 seconds is refused at the edge.

Responses

Example rule. You set the numbers.

02 / TLS & origin hiding

Your API keeps one address. It's ours.

TLS ends at the edge

Certificates for your API hostname are issued and renewed at the edge. Turn on HTTPS to origin and the hop to your server is encrypted too.

The origin goes quiet

DNS points at ZEROPING. Allow only our ranges at your firewall, and scans of your old address find nothing.

03 / Coming next

Automate it later. Use the panel today.

Configuration lives in the panel for now. Programmatic access arrives in Phase 3.

See the roadmap
  • Phase 3 Early access Read-only API tokens Read-only tokens for status and analytics, enabled per account on request.
  • Phase 3 Coming soon Public API Create services, rules and purges from your own tooling.
  • Phase 3 Coming soon Terraform provider Manage ZEROPING next to the rest of your infrastructure.

Put the limit at the edge.

Add your API hostname, set a rule, change one record.

7-day trial · card required · cancel before day 7 and pay nothing

Products

Games

More

Reduce motion