Documentation

Version 1 · Base URL: https://api.moongg.com/v1 · All responses are JSON.

Quick start

curl https://api.moongg.com/v1/status

Expected response:

{
  "service": "moongg-api",
  "version": "1.0.0",
  "status": "operational"
}

Authentication

Public endpoints need no API key. Authenticated endpoints, when offered, use a Bearer token in the Authorization header. Never put a token in a URL query string.

Rate limits

PlanLimit
Public60 requests / minute / IP
On requestHigher limits, contact us

When limited, the API returns HTTP 429 with a Retry-After header.

Endpoints

GET /v1/status

Service status and version. Example: /v1/status

GET /v1/time

Current server time in UTC (ISO 8601). Example: /v1/time

GET /v1/health

Health check. Returns {"status":"ok"} when the service is up.

GET /v1/echo?msg=hello

Echoes the msg query parameter back as JSON. Useful for testing a client.

Errors

CodeMeaning
400Bad request — check parameters
404Unknown endpoint
429Rate limited — slow down
500Server error — try again later

Changelog

← Back to home