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
| Plan | Limit |
|---|---|
| Public | 60 requests / minute / IP |
| On request | Higher 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
| Code | Meaning |
|---|---|
| 400 | Bad request — check parameters |
| 404 | Unknown endpoint |
| 429 | Rate limited — slow down |
| 500 | Server error — try again later |
Changelog
- 2026-11-22 — v1.0.0: public launch of
/v1/status,/v1/time,/v1/health,/v1/echo.