Skip to main content
Use monitors when you want a topic-based job that runs on a schedule. Use search when you want a one-off snapshot before creating a recurring monitor. This guide shows examples for social media teams that want to find relevant conversations early, watch competitors, and track what executives or target accounts post on X.

What you can build

X keyword and profile monitors return matching posts, author usernames, post URLs, timestamps, and engagement counts when available. If you need a complete list of users who liked, reposted, or replied to a specific X post, treat that as a separate engagement expansion workflow rather than assuming every engagement identity is included in keyword monitor results.

Create X monitors

Create separate monitors for each workflow so you can route and score results differently.

Poll new events

After a monitor runs, poll its events endpoint. Store your last successful poll timestamp and pass it as since so you only process new items.
A typical social inbox stores: The exact event_json fields can vary by source, so write your ingestion to prefer stable fields and fall back gracefully.

One-off X search before monitoring

Run a search first when you are testing query wording or building a prospect-facing demo.
The response returns 202 Accepted with a poll_url. Poll that URL until the search status is succeeded.

JavaScript example: route new X posts

Create x-social-listening.mjs:
Run it:

Production pattern

1

Create narrow monitors

Use one monitor per topic, competitor, campaign, or executive account. Narrow monitors are easier to route and score.
2

Poll on the monitor cadence

Poll GET /api/v1/monitors/:id to check last_run_at, then fetch GET /api/v1/monitors/:id/events?since=....
3

Dedupe by post URL

Store the post URL or source-native ID before routing to Slack, a queue, or a CRM task.
4

Score for actionability

Tag posts that mention buying intent, competitor pain, executive announcements, or urgent support issues.
5

Keep a human in the loop

Use the API to surface opportunities early, then let your social or sales team decide whether and how to join the conversation.