Monitors

A monitor checks an account, a keyword or a post on a schedule. It keeps the numbers of every check so you can see the trend, and tells you when something new appears.

Create a monitor

POST /v1/monitors creates a monitor and runs the first check right away. The first check only records what exists; alerts start with the next one. Each check costs 1 credit, and checks are skipped while the workspace has no credits left. The number of monitors depends on the plan: 2 on Free, 15 on Creator, 100 on Pro and unlimited on Business.

NameTypeDescription
namerequiredstringA name for the monitor.
platformrequiredstringThe network to watch, see the table below.
kindrequiredprofile | keyword | postprofile: a competitor's account and its new posts. keyword: new search results for a term. post: one post's numbers over time.
targetrequiredstringProfile URL or handle, the search keyword, or the post URL.
intervalMinutesinteger, 15 to 10080How often to check, from 15 minutes to a week.Default: 360
notify{ email?, inApp?, webhook? }email emails the workspace owners and admins, inApp adds a notification in the dashboard. Webhook endpoints subscribed to monitor.new_items receive new items either way.Default: { "inApp": true }
activebooleanPause or resume the monitor.Default: true
curl -X POST "https://postkea.com/api/v1/monitors" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Clay Club on TikTok",
  "platform": "tiktok",
  "kind": "profile",
  "target": "@clayclub",
  "intervalMinutes": 180,
  "notify": {
    "email": true,
    "inApp": true
  }
}'

What each network supports

Monitors use the scraping operations of each network, so they support what those operations can read:

PlatformProfileKeywordPost
YouTube
TikTok
Instagram
Facebook
X
LinkedIn
Reddit
Bluesky
Threads
Pinterest
Mastodon
Telegram

History and new items

GET /v1/monitors/{id} returns the monitor with its latest numbers and its snapshots: one per check, with the metrics at that time and the new items found.

curl "https://postkea.com/api/v1/monitors/mon_7Lw2" \
  -H "Authorization: Bearer $POSTKEA_API_KEY"
  • GET /v1/monitors lists every monitor with its last check, next check and last error.
  • POST /v1/monitors/{id}/check checks right away.
  • PATCH /v1/monitors/{id} changes the name, interval, notifications or active; DELETE removes it and its history.

Alerts and automations

When a check finds new items, Postkea sends the monitor.new_items event with the monitor id, name, platform and up to 20 new items, plus the email and in-app notifications you turned on.

Use a monitor as the trigger of an automation to act on what it finds, for example to summarize every new competitor video and email it to the team.