Our API allows you to programmatically create and manage stock alerts, integrate with your applications, and receive real-time notifications when market conditions meet your criteria.
Sign in to your account and generate an API key from Account Settings
curl -X GET https://stockalert.pro/api/v1/alerts \ -H "X-API-Key: sk_your_api_key"
curl -X POST https://stockalert.pro/api/v1/alerts \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"symbol": "AAPL",
"condition": "price_above",
"threshold": 200
}'All API responses are in JSON format and follow a consistent structure:
// Success Response
{
"success": true,
"data": { /* ... */ },
"meta": {
"rate_limit": {
"limit": 1000,
"remaining": 999,
"reset": 1736180400000
}
}
}
// Error Response
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters",
"details": { /* optional */ }
}
}