Developer access
The cluster as data.
A small, read-only HTTPS API for the Kituwa k3s cluster: worker count, live points, the public leaderboard and Earn programme totals. One bearer key per caller, free to use, and the same three tools over MCP.
- API
- Free
- Scope
- read
- Transport
- HTTPS
- MCP
- HTTP
What you get
Every endpoint is a GET, returns JSON, and never
writes cluster state. The points snapshot is produced on the worker; the
API only reads the published copy.
| Endpoint | What it returns |
|---|---|
GET /api/v1/public/cluster | Worker count, live points, snapshot freshness and the points rule. |
GET /api/v1/public/points | The public points totals and the top worker nodes. |
GET /api/v1/public/earn | Verified members, linked nodes, points earned and redeemed. |
GET /api/v1/public/health | Service health; no key required. |
The MCP server exposes the same data as
cluster_summary, points_leaderboard and
earn_stats. See /mcp/.
Get a key
- Create an Earn account at /account/signup/ and verify your email.
- Open /account/api-keys/.
- Create a key. It is shown once; copy it then. Only its hash is stored.
Send it as a header, never in a URL:
curl -H "Authorization: Bearer k3s_…" \
https://k3s.kituwa.com/api/v1/public/cluster
Revoke a key at any time from the same page. A revoked key
answers 401 on the next request.
Errors
| Status | Code | Meaning |
|---|---|---|
| 401 | missing_key / invalid_key | No bearer key, or the key is unknown or revoked. |
| 403 | forbidden | The key does not carry the read scope. |
| 429 | rate_limited | More than 120 requests per minute for this key and address. Retry-After is set. |
| 404 | not_found | No such endpoint. See the docs for the exact paths. |
Every error body carries error.code,
error.message and a link to the docs.