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/public/v1/alerts \ -H "X-API-Key: sk_your_api_key"
curl -X POST https://stockalert.pro/api/public/v1/alerts \ -H "X-API-Key: sk_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "symbol": "AAPL", "condition": "price_above", "threshold": 200 }'
https://stockalert.pro/api/public/v1
All API responses are in JSON format and follow a consistent structure:
// Success Response
{
"success": true,
"data": {
// Response data here
}
}
// Error Response
{
"success": false,
"error": "Error message here"
}