Skip to main content

StockAlert.pro for Developers

Build powerful stock monitoring integrations with our simple and intuitive API

RESTful API

Simple JSON-based API with comprehensive error handling

Real-time Webhooks

Get instant notifications when alerts trigger

SDKs & Integrations

Official SDKs for JavaScript, Python, Slack, and n8n

Quick Start

1

Get your API Key

Sign in to your account and generate an API key from Account Settings

2

Make your first request

curl -X GET https://stockalert.pro/api/public/v1/alerts \
  -H "X-API-Key: sk_your_api_key"
3

Create your first alert

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
  }'

Available Endpoints

📊Alerts

GET/api/public/v1/alerts
POST/api/public/v1/alerts
GET/api/public/v1/alerts/{id}
PUT/api/public/v1/alerts/{id}
DELETE/api/public/v1/alerts/{id}

🔔Webhooks

GET/api/public/v1/webhooks
POST/api/public/v1/webhooks
DELETE/api/public/v1/webhooks/{id}

Authentication

All API requests require authentication using your API key in the header:

X-API-Key: sk_your_api_key_here

Base URL

https://stockalert.pro/api/public/v1

Rate Limits

  • ⚡️
    API Request Limits

    Free: 100/hour • Premium: 10,000/hour

  • 🔑
    API Key Limits

    Free: 1 key • Premium: Unlimited keys

  • 📨
    Notification Channels

    Email notifications supported. SMS only to verified phone.

SDKs & Libraries

JavaScript/TypeScript

npm install @stockalert/sdk
const client = new StockAlert('sk_...');

// Create alert
const alert = await client.alerts.create({
  symbol: 'AAPL',
  condition: 'price_above',
  threshold: 200
});

// List alerts
const alerts = await client.alerts.list();

Python

pip install stockalert
client = StockAlert('sk_...')

# Create alert
alert = client.alerts.create(
    symbol='AAPL',
    condition='price_above',
    threshold=200
)

# List alerts
alerts = client.alerts.list()

n8n Integration

Use our official n8n node for no-code automation workflows. Available in the n8n community nodes.

n8n-nodes-stockalert

💬Slack App

Get real-time stock alerts directly in Slack! Our official Slack app brings the full power of StockAlert.pro to your team's workspace.

Full Documentation

Resources