Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/lunar-discovery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Lunar Discovery API
version: 1.0.0
description: 'Operations tagged Discovery across 2 of this provider''s published API definitions: lunar-api-consumption-gateway-openapi.yml, lunar-gateway-admin-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:{adminPort}
description: Lunar Engine Admin API (local)
variables:
adminPort:
default: '8081'
description: Admin port set via ENGINE_ADMIN_PORT environment variable
- url: http://localhost:8040
description: Gateway Admin Health Server
- url: http://localhost:8081
description: Gateway Admin Engine Server
tags:
- name: Discovery
description: API discovery and remedy state reporting
paths:
/discover:
get:
operationId: getDiscoveryState
summary: Retrieve API discovery state
description: Returns the current discovery state JSON file, which contains observed API traffic patterns, endpoints accessed, and related metadata collected by the gateway.
tags:
- Discovery
responses:
'200':
description: Discovery state data returned
content:
application/json:
schema:
$ref: '#/components/schemas/JSONFileResponse'
'422':
description: Failed to read discovery state file
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'405':
description: Method not allowed
servers:
- url: http://localhost:{adminPort}
description: Lunar Engine Admin API (local)
variables:
adminPort:
default: '8081'
description: Admin port set via ENGINE_ADMIN_PORT environment variable
/remedy_stats:
get:
operationId: getRemedyStats
summary: Retrieve remedy/policy enforcement statistics
description: Returns the remedy state JSON file containing statistics about policy enforcement actions taken by the gateway (rate limiting, retries, circuit breakers, etc.).
tags:
- Discovery
responses:
'200':
description: Remedy stats data returned
content:
application/json:
schema:
$ref: '#/components/schemas/JSONFileResponse'
'422':
description: Failed to read remedy state file
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'405':
description: Method not allowed
servers:
- url: http://localhost:{adminPort}
description: Lunar Engine Admin API (local)
variables:
adminPort:
default: '8081'
description: Admin port set via ENGINE_ADMIN_PORT environment variable
components:
schemas:
JSONFileResponse:
type: object
description: Wrapper response containing JSON file content as a string
properties:
data:
type: string
description: JSON file contents serialized as a string
required:
- data
ErrorResponse:
type: object
description: Error response with message and optional error detail
properties:
msg:
type: string
description: Human-readable error message
error:
type: string
description: Underlying error string
required:
- msg
DiscoveredEndpoint:
type: object
properties:
method:
type: string
description: HTTP method observed for this endpoint.
examples:
- GET
- POST
url:
type: string
description: The URL pattern of the discovered endpoint.
examples:
- api.example.com/v1/users
status_codes:
type: object
description: Distribution of HTTP status codes observed.
additionalProperties:
type: integer
count:
type: integer
description: Total number of requests observed for this endpoint.
average_latency_ms:
type: number
description: Average latency in milliseconds for requests to this endpoint.
DiscoveredEndpoints:
type: object
properties:
endpoints:
type: array
description: List of discovered API endpoints.
items:
$ref: '#/components/schemas/DiscoveredEndpoint'
x-refined-from:
- lunar-api-consumption-gateway-openapi.yml
- lunar-gateway-admin-openapi.yml