cURL
curl --request GET \ --url https://api.g2cplatform.com/v2/health \ --header 'X-API-Key: <api-key>'
{ "status": "healthy", "timestamp": "2023-11-07T05:31:56Z", "version": "2.0.0", "uptime": 123, "checks": { "database": "healthy", "blockchain": "healthy", "storage": "healthy" } }
Check the overall health and status of the API system
API key for authenticating requests. Include in X-API-Key header.
API is healthy and operational
Overall system health status
healthy
degraded
unhealthy
Timestamp of the health check
API version
"2.0.0"
System uptime in seconds
Show child attributes