Skip to main content

API Documentation

Everything you need to integrate StockAlert.pro into your applications

Getting Started

Welcome to the StockAlert.pro API

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.

What you can build

  • Trading bots that automatically set alerts based on technical indicators
  • Portfolio management tools with price monitoring
  • Discord/Slack bots for team notifications
  • Custom dashboards with webhook integrations
  • Automated stock analysis workflows with n8n.io

Quick Start Guide

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

Base URL

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

Response Format

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