API Reference
Complete REST API documentation for Aegis. All endpoints return JSON and use standard HTTP methods.
Base URL
https://clawgas.vercel.app/api
Authentication
Most read endpoints are public. Some require auth:
- Public: health, protocol list/get, dashboard stats, agent price, request-status, v1 protocol stats, v1 check-eligibility
- Bearer token (Authorization: Bearer AEGIS_API_KEY): agent/cycle, agent/register, agent/status, protocol agents CRUD, deposit-verify, v1 sponsorship/request, reactive/event
- HMAC signature: protocol/webhook (X-Aegis-Signature), botchan/webhook (X-Botchan-Signature)
Protocol Management
/protocol/protocol/{protocolId}/protocol/{protocolId}/protocol/{protocolId}/topup/protocol/{protocolId}/agents/protocol/{protocolId}/agents/protocol/{protocolId}/agents/protocol/{protocolId}/agents/protocol/{protocolId}/deposit-verifyHealth Check
/health/health/deep/health/redis