API Platform

Meter, limit, and bill
every API call per tenant

Per-tenant rate limiting with sliding windows. Usage metering in ClickHouse. Self-service developer portal for your customers. API key management with approval workflows.

The monetization gap

Most API platforms can't bill what they can't measure.

Global rate limits don't scale

One customer's burst affects everyone. No per-tenant isolation. No plan-based access control.

No usage metering

You can't bill what you can't measure. Prometheus resets on restart. No durable per-customer counters.

No self-service

Customers email you for API keys. No portal. No documentation. No usage visibility.

How gatez solves it

Everything you need to monetize your API platform.

1

Per-tenant rate limiting

Redis-backed sliding window. Bucket key: rl:{tenant_id}:{route}:{window}. Independent quotas. No noisy neighbor problem.

2

Usage metering

ClickHouse logs every request with tenant_id. Per-tenant, per-route, per-key breakdowns. Durable counters that survive restarts.

3

Developer Portal

Tenant self-service: API discovery, Swagger try-it, key management, usage dashboards. Your customers onboard themselves.

4

API key workflows

Request → approve → issue. Show-once key display. Masked forever after. Approval queue in Operator Portal.

5

Plan-based access

Free (100 req/day), Pro (10k req/day), Enterprise (custom). Route-level access control. Lock premium endpoints to paid plans.

6

Usage export

CSV export for billing. Per-tenant, per-key cost attribution. Feed into Stripe or any billing system. Monthly/weekly/daily breakdowns.

Real-world example

How DataForge serves 3 customer tiers with gatez.

DataForge — API-as-a-service platform

DataForge serves 3 customer tiers through gatez. Each sees only their APIs, usage, and keys.

Free
  • • 100 req/day
  • • 2 endpoints
  • • 1 API key
Pro
  • • 10k req/day
  • • All endpoints + AI
  • • 5 API keys
Enterprise
  • • 100k req/day
  • • Dedicated limits
  • • Unlimited keys

Monthly usage (March 2026)

StartupCo (Free) 2,800 req → $0
MidMarket (Pro) 245,000 req → $299 + $45 overage
Enterprise Global 2.1M req → $2,499 + $320 tokens

Monthly usage CSV exported to Stripe for billing. Per-tenant, per-key cost attribution.

Turn your APIs into revenue

Per-tenant rate limiting. Usage metering. Self-service developer portal. Everything you need to monetize.

Free forever. Apache 2.0 license. No credit card required.