Overview
Returns the current health status of the API server and validates that all required dependencies are properly configured. This endpoint is useful for monitoring, load balancer health checks, and troubleshooting.Response
Always returns “healthy” when the endpoint is reachable
ISO 8601 timestamp of when the health check was performed
Configuration status for required dependencies
Whether RPC_URL environment variable is configured
Whether CONFIG_ADDRESS environment variable is configured
Whether PINATA_JWT environment variable is configured
Whether storage system is configured
Success Response
Degraded Response
If some optional dependencies are missing:HTTP Status Codes
200 - OK
200 - OK
The API server is running and responding normally. This doesn’t guarantee all features will work if dependencies are missing.
500 - Server Error
500 - Server Error
The health endpoint itself failed, indicating a serious server issue.
Environment Variables Checked
The health endpoint validates these environment variables:hasRPC
hasRPC
RPC_URL - Required for all blockchain operations
- ✅ Present: Token launch and claims will work
- ❌ Missing: All endpoints will fail with configuration errors
hasConfig
hasConfig
CONFIG_ADDRESS - Optional protocol configuration
- ✅ Present: Advanced protocol features available
- ❌ Missing: Basic functionality still works
hasPinata
hasPinata
PINATA_JWT - Required for metadata uploads
- ✅ Present: Automatic IPFS metadata uploads work
- ❌ Missing: Token launch may require external metadata URLs
hasStorage
hasStorage
Storage - Required for token tracking and claims
- ✅ Present: Claims system and token verification work
- ❌ Missing: Claims endpoints will fail
Rate Limiting
This endpoint is subject to the same rate limiting as other endpoints:- 8 requests per IP per 2-minute window
- Returns HTTP 429 when limit exceeded
Use Cases
Load Balancer Health Checks
Load Balancer Health Checks
Configure your load balancer to periodically check this endpoint:
Monitoring & Alerting
Monitoring & Alerting
Monitor the environment flags to alert on configuration issues:
Client-side Integration
Client-side Integration
Check API availability before making requests:
Security Considerations
Important: The health endpoint does not expose sensitive configuration values, only boolean flags indicating presence. Actual environment variable values are never returned.
Troubleshooting
Common scenarios and their meanings:All environment flags false
All environment flags false
The server is running but completely unconfigured. No API functions will work.
hasRPC: false
hasRPC: false
Critical error - no blockchain connectivity. All token operations will fail.
hasStorage: false
hasStorage: false
Claims system disabled. Token launch may work but verification and claims won’t.
hasPinata: false
hasPinata: false
Metadata uploads disabled. Manual IPFS URLs required for token launch.
Related Endpoints
/verify-token- Verify specific token existence/launch- Requires healthy RPC and optionally Pinata/claims/:tokenAddress- Requires healthy DB and RPC
