# Social Keyword Monitor: New Posts for Your Keywords (`oshalaby/social-keyword-monitor`) Actor

New public Threads posts for your keywords since your last run, read logged out, with like, reply and repost counts. Arabic and English. No commenters, no profiles. Not affiliated with, endorsed or sponsored by Meta or Threads.

- **URL**: https://apify.com/oshalaby/social-keyword-monitor.md
- **Developed by:** [Omar Shalaby](https://apify.com/oshalaby) (community)
- **Categories:** Social media, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 new posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Social Keyword Monitor: New Posts for Your Keywords

Monitor keywords on Threads and get the new public posts for each keyword since your last run, each delivered once, with like, reply and repost counts. Works in Arabic and English, and with any language or hashtag. Read logged out.

Not affiliated with, endorsed or sponsored by Meta or Threads.

Sample output (made-up rows):

| Keyword | Post | Posted | Likes | Replies | Reposts | Author | Link |
|---|---|---|---|---|---|---|---|
| cold brew | Tried the new cold brew at Example Cafe today. Smooth, not bitter. | 2026-11-15 14:11 | 12 | 3 | 0 | example_handle | threads.com/@example_handle/post/EXAMPLE0001 |
| قهوة مختصة | جربت اليوم محمصة جديدة، والقهوة ممتازة | 2026-11-15 09:40 | 48 | 7 | 2 | example_handle_2 | threads.com/@example_handle_2/post/EXAMPLE0002 |

### New posts for a keyword since your last run

- Give it up to 10 keywords or hashtags. Each run opens the public search page for each one and returns only the posts you haven't had before, from your chosen window (default: the last 7 days).
- The first run returns what the search shows now, within your window. Later runs return only what is new.
- When a run delivers no post, it still succeeds and writes one summary line saying what happened: nothing new, or new posts found but held back by your spending limit (`recordType: "summary"`, with no post fields filled in). It holds counts and your own keywords only, and it is free. To keep only posts, filter on rows that have a `postId`.

### Posts with like, reply and repost counts

What you get for each post:

- **Text**, the **link** to the post, and the **time** it was posted.
- **Likes**, **replies**, **reposts** and **quotes**, as shown when read.
- **Language**, when Threads labels it.
- **Media** as links only (no files).
- **Author handle** as posted. Turn it off and the handle is left out entirely, including from the post link.
- The **keyword** that found it.

**Not included:** replies or the people who reply, follower or following lists, and profile details. There's no search by user.

### Arabic keyword monitoring on social media

Keywords work in Arabic as typed, with or without a hashtag, for example `قهوة` or `#قهوة`. Arabic and English keywords can share one run, and each post carries its language label when Threads gives one. Nothing is translated or transliterated: you get the post text as written.

### Brand and product mention alerts

Use your own brand, product or topic words as keywords, save the input as a task with a tracking list name, and add a schedule. Each scheduled run then holds only the new mentions, so you can pass them on with Apify's integrations (for example Google Sheets, Slack or a webhook) without sending the same post twice.

### How it works, and its limits

- It opens the public search page for each keyword the way a logged-out visitor sees it, and reads the posts shown there.
- Logged out, Threads shows about **20 posts per keyword**, its own mix of recent and popular posts. Each run delivers the ones you haven't had yet, from your chosen window (default: the last 7 days).
- Run it daily, or more often for busy keywords, to build up a feed. For niche keywords, expect a handful of new posts a day.
- If Threads shows a login page, a challenge or a limit, or a page without posts that isn't Threads' own "no results" answer, the run stops at once. Keywords not read are listed in `OUTPUT` and not charged. Put rarer keywords last.
- A keyword that simply has no posts is skipped at no charge and the run goes on to your next keyword. That applies only when the page is Threads' own "no results" answer; any other page without posts still stops the run.
- A search page that fails to load (a network error, a timeout or a server error, HTTP 5xx) gets one more try after a short pause. A login page, a challenge or a limit is never retried. A second server error stops the run.
- If no keyword could be read (a login page, a challenge, a limit, or a search page that fails to load or can't be read), the run is marked **Failed**, nothing is charged, and its message says what happened and what to do. If at least one keyword was read, the run succeeds, and the keywords not read are named with the reason in the summary line or the run's status message, and in `OUTPUT`.

### Input

```json
{
  "keywords": ["coffee", "قهوة"],
  "windowDays": 7,
  "includeAuthor": true,
  "trackChanges": true,
  "stateKey": "my-brand-watch"
}
```

- **Keywords:** up to 10 words or hashtags, in any language.
- **Only posts from the last (days):** 1 to 30 (default 7).
- **Tracking list name:** runs with the same name never deliver the same post twice.

### Output (shortened, made-up example)

```json
{
  "postId": "EXAMPLE0001",
  "url": "https://www.threads.com/@example_handle/post/EXAMPLE0001",
  "text": "Tried the new cold brew at Example Cafe today. Smooth, not bitter.",
  "createdAt": "2026-11-15T14:11:46.000Z",
  "likeCount": 12,
  "replyCount": 3,
  "repostCount": 0,
  "quoteCount": 0,
  "language": "en",
  "mediaUrls": [],
  "author": "example_handle",
  "keyword": "cold brew"
}
```

A run that delivers no post holds one summary line instead:

```json
{
  "recordType": "summary",
  "postId": null,
  "text": "No new posts since your last run. Read 1 keyword (\"cold brew\"): 18 posts shown, none new in your 7-day window. This summary line is free.",
  "keywordsRead": ["cold brew"],
  "keywordsWithNoPosts": [],
  "keywordsNotRead": [],
  "postsShown": 18,
  "newPostsNotDelivered": 0,
  "checkedAt": "2026-11-16T06:00:12.000Z"
}
```

The run's counts are also in the `OUTPUT` record of the run's key-value store.

### Pricing

Pay per event: USD 0.0025 per keyword searched (one search page read) plus USD 0.0025 per new post delivered. With tracking on, repeats are free. Posts outside your window, and keywords not read (a wall, a failed load or your spending limit), are free too. Example: 2 keywords with 20 new posts cost USD 0.055. Apify Silver-plan customers pay 10% less and Gold-plan customers and above 20% less.

The summary line of a run with nothing new is free. The keyword searches that run read are charged as above.

### Run it on a schedule

Save your input as a task with a tracking list name, then add an Apify Schedule (for example daily). You can send results onwards with Apify's integrations (for example Google Sheets, Slack or a webhook).

### How to schedule keyword monitoring and send new posts to Sheets or Slack

These short videos from Apify show how to [schedule an Actor](https://www.youtube.com/watch?v=1jI7WcVQmwM) (1 min) and [connect it to other apps](https://www.youtube.com/watch?v=bNACk1_S_6w) (2 min).

[![Getting Started with Apify: Schedule your Actor (video by Apify)](https://img.youtube.com/vi/1jI7WcVQmwM/hqdefault.jpg)](https://www.youtube.com/watch?v=1jI7WcVQmwM)

### Good to know

- **Polite reading:** one page per keyword, at least 3 seconds apart, through a fresh browser with no login.
- **What we keep:** with tracking on, only post IDs and their times, in your own Apify storage, for about the window plus 7 days. No content is stored by us.
- **Your responsibility:** you're responsible for how you use posts and handles. Don't use this tool to profile people.
- **Removal requests:** use the Issues tab; you don't need to include personal details. You can also contact Apify support (apify.com/contact). Requests are handled within 14 days: those posts or handles are added to a blocklist and never output again.

### FAQ and support

**Do I need a Threads login or API key?** No. It opens the public search page for each keyword the way a logged-out visitor sees it.

**How is this different from a one-off scraper?** Runs with the same tracking list name never deliver the same post twice, and repeats are free. Each run returns only the posts you haven't had before.

**What does it cost for a typical run?** At the list price of USD 0.0025 per keyword searched plus USD 0.0025 per new post delivered, 2 keywords with 20 new posts cost USD 0.055. See Pricing.

**What if nothing new is found, or Threads can't be read?** A run with no new post still succeeds and writes one free summary line. If no keyword could be read, the run is marked **Failed** and nothing is charged. See "How it works, and its limits".

**Can I get every post for a keyword, or search by user?** No. Logged out, Threads shows about **20 posts per keyword**, so run it daily to build up a feed. There's no search by user.

**Something else?** Use the Issues tab.

### More from this developer

- [Company Job Changes Monitor](https://apify.com/oshalaby/company-job-changes-monitor): open jobs at the companies you choose, each flagged new, changed, unchanged or closed since your last run.
- [AI Overview Brand Tracker](https://apify.com/oshalaby/ai-overview-brand-tracker): whether Google AI Overviews mention or cite your brand and your competitors, and what changed since your last check.
- [Bulk Google Trends Scraper](https://apify.com/oshalaby/bulk-google-trends-scraper): Google Trends data for up to 100 keywords a run, with related searches, regions and comparisons.
- [Subreddit Monitor](https://apify.com/oshalaby/reddit-new-posts-monitor): a daily digest of new posts from the subreddits you pick, with no repeats between runs.
- [Video Transcriber](https://apify.com/oshalaby/short-video-transcripts): public TikTok videos and Instagram Reels turned into text with timestamps, in English, Arabic and other languages.
- [Maps Business Listings](https://apify.com/oshalaby/maps-business-listings): business listings from a map search in English or Arabic, with phone, website, hours and rating.

# Actor input Schema

## `keywords` (type: `array`):

Words or hashtags to watch, in any language, for example "coffee" or "قهوة". Up to 10. No usernames: there's no search by user.

## `windowDays` (type: `integer`):

Older posts the search shows are skipped.

## `includeAuthor` (type: `boolean`):

The post author's handle, as posted. Turn off if you don't need it.

## `trackChanges` (type: `boolean`):

Keeps post IDs in your own Apify storage, so each run delivers only posts you haven't had.

## `stateKey` (type: `string`):

Runs with the same name share what's been delivered. Leave empty to use the list named "default". The value is shown masked; it is only a name.

## `maxPosts` (type: `integer`):

Stop after this many posts in one run.

## `proxy` (type: `string`):

Apify Proxy, chosen before the run. The run stops at the first block or login wall; it never switches route.

## Actor input object example

```json
{
  "keywords": [
    "coffee"
  ],
  "windowDays": 7,
  "includeAuthor": true,
  "trackChanges": true,
  "maxPosts": 500,
  "proxy": "datacenter"
}
```

# Actor output Schema

## `posts` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "coffee"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oshalaby/social-keyword-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": ["coffee"] }

# Run the Actor and wait for it to finish
run = client.actor("oshalaby/social-keyword-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "coffee"
  ]
}' |
apify call oshalaby/social-keyword-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oshalaby/social-keyword-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/kn3EdAFsuTyb6F1Pc/builds/n8YaWr8Xcl1KcTmzk/openapi.json
