My alerts
The same pushes your Bark, WeCom and other channels receive, filtered by your settings.
The my-alerts stream: what is actually pushed to you after your source switches, keywords, alert language (original first, translation as a follow-up) and plan delay, identical to what Bark or WeCom receives. It is a different kind of data from topic events (GET /v1/events); see My alerts. Turn on the “Developer API” switch under Global Notification Management → Channels first, otherwise no new alerts are produced; channel_enabled in the response shows the switch. Newest first by default, page with before; after a disconnect catch up oldest first with after=<last alert id>. The last 7 days are kept.
Parameters
afterstringqueryoptionalOnly alerts after this alert id, oldest first (for catching up).
beforestringqueryoptionalOnly alerts before this alert id, newest first (for paging).
limitintegerqueryoptionalMaximum number, 1–200, default 50.
Paste your API key (a regular key or a trial key from the dashboard) to call the real API; the key stays in your browser.
Response
Errors
| Code | HTTP | Description |
|---|---|---|
missing_api_key | 401 | No key sent. Use Authorization: Bearer <key>. |
invalid_api_key | 401 | The key does not exist, or it was reset or revoked. |
key_expired | 401 | The trial key has expired. Apply for a new trial key, or subscribe and create a regular key. |
plan_required | 403 | Your plan does not include the developer API, or this part of it. |
ip_not_allowed | 403 | The key has an IP allowlist and the request came from an address outside it. |
invalid_cursor | 400 | after / before is not a valid id (an event id for events, an alert id for my_alerts), both were sent, or (events only) updated_after was combined with before. |
invalid_parameter | 400 | A parameter has the wrong type or value (e.g. limit out of range). |
rate_limited | 429 | Over this key's request rate (REST and MCP combined; the interval is limits.rest_interval_seconds in /v1/me); wait Retry-After seconds and retry. |
curl "https://api.tokenearly.com/v1/alerts?limit=5" \
-H "Authorization: Bearer $TOKENEARLY_API_KEY"import os, requests
resp = requests.get(
"https://api.tokenearly.com/v1/alerts?limit=5",
headers={"Authorization": f"Bearer {os.environ['TOKENEARLY_API_KEY']}"},
timeout=10,
)
resp.raise_for_status()
print(resp.json())// Node 18+ (built-in fetch)
async function main() {
const resp = await fetch("https://api.tokenearly.com/v1/alerts?limit=5", {
headers: { Authorization: `Bearer ${process.env.TOKENEARLY_API_KEY}` },
});
const body = await resp.json();
if (!resp.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
console.log(body);
}
main().catch((err) => {
console.error(err);
process.exit(1);
});package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.tokenearly.com/v1/alerts?limit=5", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("TOKENEARLY_API_KEY"))
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(body))
}{
"alerts": [
{
"id": "6af57203e1b0c95f3a7d2e47",
"category": "announcement",
"source": {
"id": "binance",
"name": "Binance"
},
"followup": true,
"lang": "zh",
"label": "translation",
"title": "【币安(BINANCE)】",
"text": "【译文】\n币安将上线 Fooken (FOO) 并添加种子标签\n— — — — — — — — — —\nhttps://www.binance.com/zh-CN/support/announcement/detail/abc123\n— — — — — — — — — —\n2026-11-12 16:00:00 (UTC+8)",
"url": "https://www.binance.com/zh-CN/support/announcement/detail/abc123",
"titles": {
"en": "Binance Will List Fooken (FOO) with Seed Tag Applied",
"zh": "币安将上线 Fooken (FOO) 并添加种子标签",
"ko": "바이낸스, 시드 태그가 적용된 Fooken(FOO) 상장"
},
"ref": {
"type": "announcement",
"topic": "announcement.binance",
"event_id": "6af57200e1b0c95f3a7d2e40"
},
"created_at": 1794470403
},
{
"id": "6af57201e1b0c95f3a7d2e41",
"category": "announcement",
"source": {
"id": "binance",
"name": "Binance"
},
"followup": false,
"lang": "en",
"label": "original",
"title": "【币安(BINANCE)】",
"text": "【原文·英文】\nBinance Will List Fooken (FOO) with Seed Tag Applied\n— — — — — — — — — —\nhttps://www.binance.com/en/support/announcement/detail/abc123\n— — — — — — — — — —\n2026-11-12 16:00:00 (UTC+8)",
"url": "https://www.binance.com/en/support/announcement/detail/abc123",
"titles": {
"en": "Binance Will List Fooken (FOO) with Seed Tag Applied"
},
"ref": {
"type": "announcement",
"topic": "announcement.binance",
"event_id": "6af57200e1b0c95f3a7d2e40"
},
"created_at": 1794470401
}
],
"has_more": true,
"next_cursor": "6af57201e1b0c95f3a7d2e41",
"cursor_param": "before",
"channel_enabled": true
}