Lunar Vocabulary is a controlled vocabulary published by Lunar on the APIs.io network, defining 18 terms.
Defined terms include Flow, Processor, Policy, Consumer Tag, and Quota.
A controlled vocabulary pins the words an API’s schemas, parameters and documentation use to one agreed definition each — the shared language a human or an agent needs to read the API the same way its authors do.
Flow
A YAML-defined traffic shaping rule that matches outbound API requests by host, path, and method, and applies a sequence of processor steps to requests and/or responses. Flows are the core configuration unit in Lunar Streams mode.
Processor
A reusable, named processing unit within a flow that performs a specific action on API traffic (e.g., rate limiting, retry injection, circuit breaking, quota enforcement). Processors can be referenced by multiple flows and parameterized with key-value bindings.
Policy
A YAML-based legacy traffic control rule applied by the Lunar proxy in non-Streams (policies) mode. Policies define diagnosis and remedy behaviors for matched API endpoints.
Consumer Tag
An identifier (set via the x-lunar-consumer-tag HTTP header) that attributes outbound API traffic to a specific consuming application, service, or team. Used for per-consumer quota tracking and policy enforcement.
Quota
A configurable limit on the number of API calls a consumer or the entire gateway may make to a target API within a defined time window. Quotas are enforced by the Lunar gateway and can be shared across multiple consumers.
Rate Limit
A traffic throttling policy that restricts the number of requests per second or per time window to a target API endpoint. When exceeded, the gateway returns a 429 response with a Retry-After header.
Circuit Breaker
A resilience pattern implemented by the Lunar gateway that stops forwarding requests to a target API when error rates exceed a threshold, allowing the downstream service to recover before traffic resumes.
Priority Queue
A traffic management feature that assigns priority levels to different consumers or request types, ensuring higher-priority requests are processed first when the gateway is under load constraints.
Remedy
In legacy policy mode, a remedy is an automated corrective action applied by the gateway when a diagnosis (detection rule) triggers. Examples include caching, rate limit headers injection, and request blocking.
Discovery
The automatic traffic observation feature of the Lunar gateway that records which API endpoints are being called, their response codes, latency, and metadata. Discovery state is accessible via /discover.
MCPX Gateway
The Lunar Model Context Protocol (MCP) gateway that consolidates multiple MCP servers into a single endpoint for AI agents. Provides authentication, scoped permissions, secret forwarding, audit trails, tool grouping, and risk evaluation for agentic workloads.
Tool Group
A named collection of MCP tools within the MCPX gateway, used to define scoped access permissions and apply role-based access control to AI agent tool invocations.
Control Plane
The centralized management layer of the Lunar platform (accessible at app.lunar.dev) that connects to gateway instances, provides traffic visibility dashboards, and enables policy and flow management across multiple gateway deployments.
HAProxy
The underlying load balancer and proxy that the Lunar engine integrates with via SPOE (Stream Processing Offload Engine) to intercept, inspect, and modify API traffic. The Lunar engine runs as an HAProxy SPOE agent.
SPOE
Stream Processing Offload Engine — the HAProxy protocol used by the Lunar engine to receive traffic metadata, make routing/enforcement decisions, and instruct HAProxy on how to handle each request.
Doctor
The built-in diagnostic subsystem of the Lunar engine that generates periodic health reports covering gateway status, hub connectivity, flows/policies state, and telemetry writer health. Accessible via the /doctor admin endpoint.
Tenant
The logical organizational unit within the Lunar platform, identified by the TENANT_NAME environment variable. Each gateway instance belongs to a tenant and reports metrics and discovery data under that tenant's namespace.
API Monetization
The capability of the Lunar platform to meter API usage per consumer and enforce usage-based billing or cost allocation, enabling providers and enterprises to track and charge for API consumption.
Every vocabulary here is available over the APIs.io API and to AI agents over MCP. Vocabularies is not yet its own endpoint on the v1 API. Reach it through catalog search and the tag graph, or the MCP server.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for vocabularies
3 MCP tools reach this
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
Search the catalog
curl "https://apis.io/api/v1/search?q=lunar-vocabulary&limit=10"
Everything under a tag
curl "https://apis.io/api/v1/tags/lunar-vocabulary"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.