Lunar API Consumption Gateway

The Lunar API Consumption Gateway is a proxy-based infrastructure layer that routes outbound HTTP/HTTPS API traffic through configurable YAML-based flows. It enforces rate limits, quota policies, priority queues, circuit breakers, and endpoint access controls without requiring code changes in consuming applications. Requests are routed by setting x-lunar-scheme, x-lunar-host, and x-lunar-consumer-tag headers and targeting the gateway on port 8000.

API entry from apis.yml

apis.yml Raw ↑
aid: lunar:api-consumption-gateway
name: Lunar API Consumption Gateway
description: The Lunar API Consumption Gateway is a proxy-based infrastructure layer that routes outbound
  HTTP/HTTPS API traffic through configurable YAML-based flows. It enforces rate limits, quota policies,
  priority queues, circuit breakers, and endpoint access controls without requiring code changes in consuming
  applications. Requests are routed by setting x-lunar-scheme, x-lunar-host, and x-lunar-consumer-tag
  headers and targeting the gateway on port 8000.
humanURL: https://docs.lunar.dev/api-gateway/get-started/welcome-to-lunar/
baseURL: https://app.lunar.dev
tags:
- API Gateway
- Traffic Management
- Rate Limiting
- Quota Enforcement
properties:
- type: Documentation
  url: https://docs.lunar.dev/api-gateway/get-started/welcome-to-lunar/
- type: QuickStart
  url: https://docs.lunar.dev/api-gateway/installation-overview/quick-start/quick-start-with-terminal/
- type: ControlPlane
  url: https://docs.lunar.dev/api-gateway/installation-overview/quick-start/quick-start-with-control-plane/