Skip to content

Alerts & Email

Get notified when your tracked creators start growing fast.

How Alerts Work

  1. You track creators via POST /api/track
  2. Our cron job runs daily at 6 AM UTC, collecting snapshots
  3. If a creator grows >10% in one day, we create a HIGH_GROWTH alert
  4. If you've set an email, we send you an email alert instantly
  5. We also post to our internal Discord for monitoring

Alert Levels (Email)

GrowthLabelColorWhen
50%+EXPLOSIVERed (#ff3366)Massive spike — viral video or major event
25-50%SURGINGOrange (#ff6b35)Very fast growth — channel is taking off
15-25%RISING FASTPurple (#a855f7)Strong growth — worth paying attention
10-15%WATCHCyan (#22d3ee)Notable growth — early signal

Alert Levels (API)

The alert_level field on creators uses different thresholds:

ScoreLabelDescription
75+HIGH_GROWTHExplosive growth momentum
50+RISINGClear growth trajectory
25+WATCHSome growth signals
<25STABLENormal or declining

Email Template

Each email includes:

  • Creator name and growth percentage
  • Before/after subscriber counts
  • Direct link to the YouTube channel
  • Color-coded by severity

Set Alert Email

POST /api/alerts/email

Set the email address that receives growth alerts. One email per API key.

Request Body

json
{
  "email": "you@example.com"
}

Response

json
{
  "status": "ok",
  "message": "Alert emails will be sent to scouts@agency.com",
  "email": "you@example.com"
}

Example

bash
curl -X POST \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}' \
  "https://beta.pushapi.xyz/api/alerts/email"

Updating Your Email

Just call the same endpoint again with a new email:

bash
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"email": "new-email@agency.com"}' \
  "https://beta.pushapi.xyz/api/alerts/email"

Get Alert Email

GET /api/alerts/email

Check which email is configured for alerts.

Response

json
{
  "status": "ok",
  "email": "you@example.com"
}

If no email is set:

json
{
  "status": "ok",
  "email": null
}

List Alerts

GET /api/alerts

Get your recent alert history. Alerts are created when tracked creators grow more than 10% in a day.

Query Parameters

ParameterDefaultDescription
offset0Number of results to skip
limit20Max results (1-100)

Response

json
{
  "status": "ok",
  "pagination": {
    "total": 8,
    "offset": 0,
    "limit": 20,
    "has_more": false
  },
  "alerts": [
    {
      "channel_id": "UCTRohxutThBffdcP3H6O0Zg",
      "alert_type": "HIGH_GROWTH",
      "message": "Indigo Gaming grew 15.3% in one day (183,000 → 211,091)",
      "created_at": "2026-07-26T06:15:00Z"
    }
  ]
}

Pagination

bash
# Get most recent 5 alerts
curl -H "X-API-Key: YOUR_KEY" \
  "https://beta.pushapi.xyz/api/alerts?limit=5"

# Get older alerts
curl -H "X-API-Key: YOUR_KEY" \
  "https://beta.pushapi.xyz/api/alerts?limit=10&offset=10"

Example

bash
curl -H "X-API-Key: YOUR_KEY" \
  "https://beta.pushapi.xyz/api/alerts?limit=5&offset=0"

Rising creator detection API.