Create Stream Monitor
Create a new stream monitor to track one or more Twitter accounts in real time. New tweets from monitored accounts are delivered via WebSocket and optionally via webhook. Each monitored account consumes credits per day based on volume pricing.
Authorizations
Your ScrapeBadger API key. You can find this in your dashboard at https://scrapebadger.com/dashboard/api-keys.
Body
Stream monitor configuration.
Human-readable name for the stream monitor.
1 - 100"Tech Leaders Monitor"
List of Twitter usernames to monitor (without @ symbol).
1 - 100 elements["elonmusk", "sama"]HTTPS URL to receive webhook deliveries. Must use HTTPS.
"https://example.com/webhooks/twitter"
Secret used to sign webhook payloads with HMAC-SHA256.
Filter which tweet types to deliver. Null or omitted means all types.
original, reply, retweet, quote Response
Stream monitor created successfully.
Stream monitor configuration and status.
Unique stream monitor identifier.
Human-readable name of the monitor.
"Tech Leaders Monitor"
List of monitored Twitter usernames.
["elonmusk", "sama"]Current status of the monitor. Suspended indicates the monitor was auto-paused due to insufficient credits.
active, paused, suspended Timestamp when the monitor was created.
Timestamp when the monitor was last updated.
Reason for the current status, if applicable (e.g., "insufficient_credits").
HTTPS URL receiving webhook deliveries.
Whether a webhook secret is configured. The actual secret is never returned.
Tweet types being delivered. Null means all types.
original, reply, retweet, quote Credit cost per monitored account per day.
Estimated total credit cost per day based on current account count.
Current pricing tier label.
"Standard"

