Health Status
GET /health
Simple health check endpoint for monitoring and load balancers.
Request
GET /healthResponse
{
"status": "operational",
"engine": "wallet-protect",
"version": "1.0.0",
"timestamp": "2024-01-15T12:00:00.000Z",
"checks": {
"database": "healthy",
"engine": "running"
}
}Response Fields
status
string
Overall status: operational, degraded, offline
engine
string
Engine name
version
string
Application version
timestamp
string
Current server time (ISO 8601)
checks.database
string
Database status: healthy, unhealthy
checks.engine
string
Engine status: running, stopped
Status Values
operational
All systems working normally
degraded
Some issues but still functional
offline
System unavailable
Example
Use Cases
Load balancer health checks - Route traffic only to healthy instances
Monitoring alerts - Alert when status changes
Deployment verification - Confirm service is running after deploy
GET /status
Detailed engine status with metrics and recent activity.
Request
Response
Response Fields
Engine Object
running
boolean
Is engine active?
launchEnabled
boolean
Are launches enabled?
target
string
X handle being monitored
pollInterval
number
Poll interval in ms
Scanner Object
isRunning
boolean
Is poll loop active?
isScanning
boolean
Currently in scan cycle?
isAuthenticated
boolean
X auth successful?
Stats Object
followers.total
number
Total followers tracked
followers.launched
number
Successfully launched
followers.pending
number
Waiting to launch
followers.failed
number
Failed launches
followers.processing
number
Currently processing
launches.totalLaunches
number
All-time launches
launches.totalFailed
number
All-time failures
launches.lastPollAt
string
Last poll timestamp
Last Launch Object
follower
string
Username with @
token.name
string
Token name
token.symbol
string
Token symbol
token.address
string
Solana address
pumpUrl
string
pump.fun URL
timestamp
string
Launch time
Other Fields
uptime
number
Seconds since start
Example
Use Cases
Dashboard display - Show current engine state
Debugging - Check if scanner is running
Monitoring - Track launch success rates
Alerting - Alert on high failure rates
Monitoring Integration
Prometheus
If you want Prometheus-compatible metrics, you can add an endpoint:
Datadog / New Relic
Use the /health endpoint with their HTTP check integrations.
