What You Can Do
| Capability | Endpoint | Description |
|---|---|---|
| Track Channel | POST /track/discord | Monitor a Discord channel for new messages |
| Get Source | GET /track/discord | Retrieve a tracked Discord source |
| Delete Tracking | DELETE /track/discord | Stop tracking a Discord source |
| Backfill | PUT /backfill/discord | Trigger historical message backfill |
| History | GET /account/history | Retrieve backfilled historical messages |
Track a Discord Channel
Start receiving real-time messages from any Discord channel.The
sid for Discord is the channel ID (numeric string). You can find this by enabling Developer Mode in Discord, then right-clicking a channel → Copy Channel ID.Token & Cashtag Monitoring
Scrapest automatically detects token mentions and cashtags in Discord messages —$BTC, $SOL, $ETH, and any custom token symbol. This works the same way as Twitter token search, applied to your tracked Discord sources.
Messages containing token references are flagged in the webhook payload for easy filtering.
Backfill History
Retrieve historical messages from tracked Discord channels.In the examples below,
src_789 is the external ID (the Discord channel ID) of the channel whose historical data you want to pull. This is the same externalId returned when you created the tracking via POST /track/discord.Webhook Payload
When a tracked Discord channel receives a message, your webhook receives aSourceEvent object. This is the exact shape sent via JSON.stringify to your webhook URL:
| Field | Type | Description |
|---|---|---|
mid | string | Message ID — the Discord message ID |
sid | string | Source ID — the Discord channel ID |
source | string | "discord" |
timestamp | number | Unix timestamp (ms) when the event was received |
payload | object | Raw Discord.js Message object |
Delivery Methods
Discord data is delivered through all the same channels as Twitter:- Webhooks — Push to your endpoint
- WebSocket — Real-time bidirectional stream
- SSE — Server-sent events with auto-reconnect
API Reference
All tracking endpoints use/track/:source where :source is twitter, telegram, or discord.
- Create Tracking —
POST /track/discord - List Tracked Sources —
GET /track/discord - Delete Tracking —
DELETE /track/discord - Trigger Backfill —
PUT /backfill/discord - Backfill Status —
GET /backfill/status - Get History —
GET /account/history