Create Monitor
monitor-createCreate a monitor: a search that reruns on a schedule over web, X, Reddit, YouTube, Threads, TikTok, and Meta Ad Library ads (or watches up to 10 X, TikTok, Threads, or Instagram users, subreddits, YouTube channels, or Facebook pages per source, and up to 10 TikTok or Instagram hashtags) and keeps only the new items that match. Returns the monitor (monitor_id, settings, max_run_cost_usd, next_run_at) and, when webhook_url is set, webhook_secret, which is shown only here. With run_now (the API default) the first run is queued at once and billed when it ends; set run_now false to wait for the schedule. Creating, reading, changing, and deleting monitors is free. Each run is billed when it ends: its searches at their list price (TikTok, Instagram, Facebook, and Meta ads per read, $3.00 per 1,000 reads ($0.003 a read), whatever the number of posts: one read per watched account, hashtag, or Facebook page, per TikTok keyword search, and per Ad Library search; an empty or private TikTok account takes two reads, so the hold counts two per TikTok account; a watched X account about $0.003, its 20-post timeline; a watched subreddit, YouTube channel, or Threads account $0.00207 each; ten watched accounts cost about ten searches), AI screening at $0.05 per 1,000 new items screened, and the summary's LLM usage plus 50% when summary is on. A run with no new items still pays for its searches. While a run is queued or running, its most (max_run_cost_usd) is held on the balance; it is billed what it used and the rest is released. A run that cannot be held fails with insufficient_credits and pauses the monitor. Use monitor-estimate for the cost of a configuration. Each run searches its sources inside a window that starts where the previous run ended (or, for a source with watched accounts or hashtags, reads each feed's newest posts), drops everything the monitor has already seen, and screens the new items with an AI classifier: relevant (about what the query watches), new_info (news rather than an evergreen page), and one yes/no question per criterion. score is the lowest of relevant and the criteria x 100; an item is kept at min_score (0 keeps every new post). Read kept items with monitor-items or monitor-run; with a webhook they are also POSTed to it, signed with webhook_secret. TikTok search has no working date filter and ranks by relevance, so a TikTok keyword monitor finds a new video only when it reaches TikTok's top results; to follow creators or a tag, watch their accounts (tiktok_accounts) or the hashtag (tiktok_hashtags). 'instagram' and 'facebook' have no keyword search: they read only watched feeds, so a monitor with 'instagram' needs instagram_accounts or instagram_hashtags and one with 'facebook' needs facebook_pages, or the API answers 422. Facebook has no organic hashtag feed. 'meta_ads' searches the Meta Ad Library with the query, so write the query as keywords (a brand, product, or short phrase such as 'ChatGPT'); a sentence finds nothing. An ad counts as new the first time a run sees it if it started within the last 30 days, and ads are screened with their own relevance question and no new_info. Threads keyword search returns loosely matched posts, so watch accounts there (threads_accounts). Limits: 25 monitors per account (409 too_many_monitors); 402 when the balance cannot hold one run, even with run_now false.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "monitor-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label for the console and webhook deliveries. | |
| query | Yes | What to watch, in plain words (3-500 characters). Each source is searched with it. Example: 'Bittensor subnet launches and updates'. With 'meta_ads', use keywords (a brand, product, or short phrase such as 'ChatGPT'): the Ad Library finds nothing for a sentence. | |
| x_lang | No | Only X posts in this language, example: 'en'. Sent as options.x.lang. | |
| run_now | No | Queue the first run at once (API default true; billed when it ends). False waits for next_run_at. | |
| sources | No | Where to look: any of 'web', 'x', 'reddit', 'youtube', 'threads', 'tiktok', 'instagram', 'facebook', 'meta_ads' (API default ['web', 'x']). Each run searches each source once, or reads its watched accounts and hashtags (x_accounts, reddit_subreddits, youtube_channels, tiktok_accounts, tiktok_hashtags, threads_accounts, instagram_accounts, instagram_hashtags, facebook_pages). 'instagram' and 'facebook' only read watched feeds: 'instagram' needs instagram_accounts or instagram_hashtags and 'facebook' needs facebook_pages (422 otherwise). 'meta_ads' searches the Meta Ad Library (ads) with the query as keywords. | |
| summary | No | Write a short digest of the items each run keeps (API default false). Billed as its LLM usage plus 50%. | |
| x_count | No | Newest X posts read per run (1-100, API default 20). Not used with x_accounts (a timeline page is 20 posts). Sent as options.x.count. | |
| criteria | No | Up to 5 conditions a new item must meet to be kept, each up to 300 characters, example: ['Announces a new subnet, release or partnership']. Each is one yes/no question in the screen. | |
| interval | No | How often it runs: '1h', '3h', '6h', '12h', '1d' (API default), or '7d'. Each run is billed. | |
| metadata | No | Your own labels, example: {"team": "growth"}. Up to 20 keys of 1-64 characters; values are strings of up to 500 characters. Echoed in webhook deliveries; the monitor does not use them. | |
| min_score | No | Score (0-100) an item needs to be kept (API default 60). The score is the lowest of relevant and each criterion. | |
| web_count | No | Web pages read per run: 10 (API default), 15, or 20. Sent as options.web.count. | |
| x_accounts | No | Up to 10 X usernames (1-15 characters) to watch, example: ['OpenAI', '@sama', 'https://x.com/opentensor']. With accounts, the source reads their newest posts each run instead of searching by keyword; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. x_lang and x_min_likes still filter the timelines. Sent as options.x.accounts. | |
| webhook_url | No | HTTPS URL on a public address that receives new items as signed POSTs (redirects are not followed). A new or changed URL gets a new webhook_secret, returned only in this response. | |
| x_min_likes | No | Only X posts with at least this many likes. Sent as options.x.min_likes. | |
| tiktok_count | No | TikTok posts read per run: 10 (API default), 20, or 30; per account and per hashtag with tiktok_accounts or tiktok_hashtags. Billed per read, not per post (see the billing note). Sent as options.tiktok.count. | |
| facebook_pages | No | Facebook pages to watch, 1-10: a page name, a numeric page ID, or a page URL (profile.php?id=... and /pages/Name/123... URLs are read as the ID), example: ['NASA', '100064869009429']. Required with the 'facebook' source, which has no keyword search or hashtag feed and reads only these pages (422 without any); for ads by keyword use the 'meta_ads' source. Each run reads up to 10 newest posts per page; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Each page is one read per run ($0.003), whatever the number of posts. Sent as options.facebook.pages. | |
| meta_ads_count | No | Meta Ad Library ads read per run with the 'meta_ads' source: 10 (API default), 20, or 30. The search is one read per run ($0.003), whatever the count. The Ad Library is searched with the query as keywords (a brand, product, or short phrase). Sent as options.meta_ads.count. | |
| webhook_events | No | Events sent to webhook_url: 'monitor.items.found' (a run kept at least one item), 'monitor.run.completed' (every completed run), 'monitor.run.failed'. API default ['monitor.items.found', 'monitor.run.failed']. Needs webhook_url. | |
| tiktok_accounts | No | Up to 10 TikTok usernames to watch, example: ['openai', '@tiktok']. With accounts, the source reads their newest posts each run instead of searching by keyword; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Sent as options.tiktok.accounts. | |
| tiktok_hashtags | No | Up to 10 TikTok hashtags to watch, in any script, example: ['skincare', '#სილამაზე', 'https://www.tiktok.com/tag/skincare']. A hashtag feed lists popular posts before recent ones from any account, so it finds posts outside the watched accounts, and since a new post can reach it days late, a run keeps the hashtag posts from the last 7 days that the monitor has not seen; with accounts or hashtags, the source reads those feeds each run instead of searching by keyword, and the query and criteria still decide what is kept (min_score 0 keeps every new post). Hashtags are sent as given and the API returns them without # (a tag URL becomes its tag); one it cannot read is a 422. Each hashtag is one read per run ($0.003), whatever the number of posts. Sent as options.tiktok.hashtags. | |
| threads_accounts | No | Up to 10 Threads usernames to watch, example: ['zuck', '@mosseri', 'https://www.threads.com/@zuck']. Threads keyword search returns loosely matched posts, so accounts work better. With accounts, the source reads their newest posts each run instead of searching by keyword; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Each account is one request per run ($0.00207). Sent as options.threads.accounts. | |
| youtube_channels | No | Up to 10 YouTube channels to watch: an @handle, a UC... channel ID, or a channel URL, example: ['@OpenAI']. With channels, the source reads their newest posts each run instead of searching by keyword; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Sent as options.youtube.channels. | |
| reddit_subreddits | No | Up to 10 subreddits to watch, example: ['LocalLLaMA', 'r/bittensor_']. With subreddits, the source reads their newest posts each run instead of searching by keyword; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Sent as options.reddit.subreddits. | |
| instagram_accounts | No | Up to 10 Instagram usernames to watch, example: ['openai', '@nasa', 'https://www.instagram.com/nasa/']. The 'instagram' source has no keyword search and reads only watched accounts and hashtags, so it needs instagram_accounts or instagram_hashtags (422 without either). Each run reads up to 12 newest posts per account; the query and criteria still decide what is kept (min_score 0 keeps every new post). Names are sent as given and the API returns them cleaned; a name it cannot read is a 422. Each account is one read per run ($0.003), whatever the number of posts. Sent as options.instagram.accounts. | |
| instagram_hashtags | No | Up to 10 Instagram hashtags to watch, in any script, example: ['skincare', '#სილამაზე', 'https://www.instagram.com/explore/tags/skincare/']. A hashtag feed lists popular posts before recent ones from any account, so it finds posts outside the watched accounts, and since a new post can reach it days late, a run keeps the hashtag posts from the last 7 days that the monitor has not seen; with accounts or hashtags, the source reads those feeds each run instead of searching by keyword, and the query and criteria still decide what is kept (min_score 0 keeps every new post). Hashtags are sent as given and the API returns them without # (a tag URL becomes its tag); one it cannot read is a 422. Each run reads up to 12 posts per hashtag; each hashtag is one read per run ($0.003), whatever the number of posts. Sent as options.instagram.hashtags. |