# Threads Scraper: Search Posts, Topic Tags & Only New (`h1018y/anvil-threads-all`) Actor

Scrapes Threads search like a Threads API: give it a keyword, a topic tag or a username; get each public post's text, author, likes, replies, reposts, quotes, media, link and topic tag as rows. Same field names as igview-owner/threads-search-scraper - switch by changing the actor id.

- **URL**: https://apify.com/h1018y/anvil-threads-all.md
- **Developed by:** [ANVIL Tools](https://apify.com/h1018y) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $13.50 / 1,000 results

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

## Threads Scraper: Search Posts, Topic Tags & Only New

**Threads Scraper** - Search Threads by keyword, topic tag or author and get every post with likes, replies, reposts and its topic tag - only the new ones on a schedule.

### What does Threads Scraper do?

Each row carries the post's Threads topic tag (topicTag) and you can search a topic tag or keep only one tag, plus an 'only new posts' switch that remembers the last run - and the same input/output field names as igview-owner/threads-search-scraper.

- Search posts by keyword, or list a topic tag's posts (searchType 'tags')
- topicTag on every row plus a topic-tag filter, from-username and date filters
- Likes, replies, reposts, quotes, reshares, media, link preview, author and verified badge
- Only new posts since the last run - made for schedules every 20-30 minutes
- Same field names as igview-owner/threads-search-scraper - switch by changing the actor id

### Who uses Threads Scraper, and for what

- Brand teams - see every new Threads post that names the brand, every 30 minutes
- Agencies - pull a topic tag's posts with engagement for a weekly report
- Researchers - export Threads posts on a subject between two dates to CSV
- Developers - drop-in replacement for the Threads search scraper they already call

### Why this Threads Scraper?

Low-rated Threads tools return nothing or drop reply counts when Threads changes its page, so scheduled jobs silently break. This Threads Scraper checks every run and tells you plainly when a page could not be read, instead of returning empty or wrong rows.

### Data you get from Threads Scraper

Every result is one flat row with these fields (values from a real run):

| Field | Example |
|---|---|
| `searchQuery` | AI Threads |
| `postId` | 4028766682135862417 |
| `code` | DfpDfO7oxyR |
| `postUrl` | https://www.threads.com/@marocontext/post/DfpDfO7oxyR |
| `username` | marocontext |
| `fullName` | Maro |
| `userId` | 47497573500 |
| `isVerified` | false |
| `isPrivate` | false |
| `profilePicUrl` | https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/7607... |
| `captionText` | Ni workflow aku guna sepanjang buat apps guna Claude.  So fa... |
| `takenAt` | 1794486435 |
| `takenAtFormatted` | 2026-11-12 12:27:15 |
| `likeCount` | 60 |
| `directReplyCount` | 14 |
| `repostCount` | 9 |
| `quoteCount` | 0 |
| `reshareCount` | 7 |
| `mediaType` | image |
| `imageUrl` | https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/8934... |
| `videoUrl` | null |
| `linkPreviewUrl` | null |
| `linkPreviewTitle` | null |
| `topicTag` | AI Threads |
| `hashtags` | \[] |

### How to use Threads Scraper

1. Press **Start** - the form already holds an example that works.
2. Put in your own input (see the fields on the Input tab).
3. Run it once, or put it on an **Apify Schedule** (with **only new** on, where the form has it) to get just what is new every day; add a **webhookUrl** to get each run's rows sent to your own system, Zapier, Make or Slack.
4. Download the results as JSON, CSV or Excel, or send them to Google Sheets, Zapier, Make, the Apify API or an AI agent (Apify MCP server).

#### Input example

```json
{
  "searchQuery": "apify",
  "searchType": "posts",
  "sort": "top",
  "maxPosts": 3,
  "onlyNew": false,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "searchQuery": "AI Threads",
    "postId": "4028766682135862417",
    "code": "DfpDfO7oxyR",
    "postUrl": "https://www.threads.com/@marocontext/post/DfpDfO7oxyR",
    "username": "marocontext",
    "fullName": "Maro",
    "userId": "47497573500",
    "isVerified": false,
    "isPrivate": false,
    "profilePicUrl": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/760756919_18056022101581501_9092941172568808848_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41NzguYzIifQ&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gEsqrDWE7S8zuPQStYksUUo3opTRtEbVRNfc_YtxStAtr07d8A0aPAPsF45xVG40w6FHKMJsoaubgh09hGq5Hs3&_nc_ohc=H_MH7bvZtB8Q7kNvwH0hbJ7&_nc_gid=J8duoeeI6VoLVUgRyMKLmQ&edm=APs17CUBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQdfG3RG5hMCmOJlmwb9QeXSd56y_JOdghCXmZCGA33wg&oe=6AFB8D92&_nc_sid=10d13b",
    "captionText": "Ni workflow aku guna sepanjang buat apps guna Claude.\n\nSo far apps deliver cantik, less bugs dan security issues.\n\nBoleh copy prompt workflow kat komen untuk bagi kat Claude kau kalau nak pakai:",
    "takenAt": 1794486435,
    "takenAtFormatted": "2026-11-12 12:27:15",
    "likeCount": 60,
    "directReplyCount": 14,
    "repostCount": 9,
    "quoteCount": 0,
    "reshareCount": 7,
    "mediaType": "image",
    "imageUrl": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/893458513_18080162267581501_3320794674431748791_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ig_cache_key=NDAyODc2NjY4MjEzNTg2MjQxNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMjE2MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=HQxOyC-7PrQQ7kNvwFZqVJV&_nc_oc=AdohKST5Cop62NBwjmmXVert7RYppLYAiLi_vWr4_J4C1twO17NgwFpLsPQk6cFUC2-4sT1mTL3Ea93a2pDj2vS8&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_gid=J8duoeeI6VoLVUgRyMKLmQ&_nc_ss=7a20f&oh=00_AQTJQDtViO-Y3s41kl1Qe1ESLL87BFHLIqzcYMXwu7N7LA&oe=6AFB9A64",
    "videoUrl": null,
    "linkPreviewUrl": null,
    "linkPreviewTitle": null,
    "topicTag": "AI Threads",
    "hashtags": [],
    "mentions": [],
    "nextCursor": null,
    "isNew": true,
    "changeType": "new"
  }
]
```

One flat row per result.

### Built for pipelines

- **Field names never change** - fixes and new features only ever add fields, so your code keeps working.
- **Every row has the same shape** - a missing value is `null`, never a dropped field.
- **A plain status line** on every run - how many results, and on a problem what to change in the input - for your logs and for AI agents.
- **Runs on its own** - put it on an Apify Schedule and add a `webhookUrl`: each run's rows go straight to your system, Zapier, Make or Slack.

### How much does Threads Scraper cost?

You pay only per result (pay per event) - no monthly fee, no minimum, and the price per result is lower on Apify's Bronze, Silver and Gold plans. The exact price is on the **Pricing** tab. Apify's free plan credit is enough to try it on real input.

| You want | What you pay for |
|---|---|
| A quick test with the example | a few results |
| A daily scheduled run | only the rows that run returns |
| A big one-off export | the results delivered - set a maximum in the input |

### Also searched as

- threads search scraper
- threads topic tags
- meta threads posts
- threads keyword monitor
- threads api

### FAQ

**Does Threads Scraper need a login, cookies or an API key?** No. It reads public pages only.

**Can I run Threads Scraper on a schedule?** Yes - with Apify Schedules; each run returns fresh rows.

**Can I call it from Python, JavaScript or an AI agent?** Yes - through the Apify API, the Apify client libraries or the Apify MCP server.

**Is it legal?** It collects only data anyone can see without logging in. You are responsible for using it within the source site's terms and data protection law (GDPR, CCPA).

**What if the site blocks a request?** The run retries from a fresh connection and, if it still cannot read the page, stops with a clear message - never with made-up rows.

**Do I need proxies?** No setup needed - Threads Scraper uses Apify Proxy by default where the site needs it.

### Troubleshooting

- **No results:** check the input (a public URL or a search term that returns results in a normal browser), then try the example input once.
- **Fewer results than expected:** raise the maximum in the input; some sites show only a part of their data without logging in, and Threads Scraper never logs in.
- **The run stopped with a message:** the message says what the site answered; run it again later or with fewer items.

### Your feedback

Missing a field, found a bug, or need another site? Open an issue on the **Issues** tab - issues are answered and fixed. If Threads Scraper saved you time, a short review on this page helps others find it.

Data source: [www.threads.com](https://www.threads.com)

### More tools from this developer

- [Tweet Scraper for Twitter & X Posts: By URL, No Login](https://apify.com/h1018y/anvil-tweet-scraper)
- [YouTube Thumbnail Downloader: Bulk, Every Size & Titles](https://apify.com/h1018y/anvil-youtube-thumbnail-downloader)
- [ML Conference Finder: NeurIPS, ICLR & ICML Alternatives](https://apify.com/h1018y/anvil-ml-conference-finder)
- [YouTube Transcript & Captions Scraper: Find Any Word Said](https://apify.com/h1018y/anvil-youtube-transcript-scraper)
- [Facebook Ads Library Scraper & Meta Ad Spy: Only New Ads](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Twitter Scraper: New Tweets From Any X Account, No Login](https://apify.com/h1018y/anvil-twitter-scraper)
- [Facebook Page & Posts Scraper: New Posts & Engagement Growth](https://apify.com/h1018y/anvil-facebook-posts-scraper)
- [Google Trends Scraper: Rising Searches & Interest by Region](https://apify.com/h1018y/anvil-google-trends-scraper)

# Actor input Schema

## `searchQuery` (type: `string`):

Word or phrase to search on Threads, as you would type it in the Threads search box, for example 'n8n automation'. A pasted threads.com/search?q=... link works too.

## `searchQueries` (type: `array`):

Optional extra searches for the same run, one per line, for example 'ai agents' and 'web scraping'. Each row says which query found it.

## `searchType` (type: `string`):

'posts' searches post text (like the Threads search box); 'tags' lists the posts of a Threads topic tag with that name, for example 'AI Threads'.

## `sort` (type: `string`):

'top' = the Top tab, 'recent' = the Recent tab (newest first), 'both' = both tabs merged without duplicates (up to about 40 posts per query).

## `from` (type: `string`):

Optional: only posts written by this Threads username, with or without @, for example 'zuck'. Also reads that profile's latest public posts.

## `topicTag` (type: `string`):

Optional: keep only posts filed under this Threads topic tag (the tag shown above the post), for example 'AI Threads'. Not case sensitive.

## `after` (type: `string`):

Optional date in the form YYYY-MM-DD, for example 2026-10-01. Older posts are left out.

## `before` (type: `string`):

Optional date in the form YYYY-MM-DD, for example 2026-11-01. Posts from this day on are left out.

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

Stop after this many posts in total, for example 20. Threads shows about 20 posts per tab for one search.

## `onlyNew` (type: `boolean`):

When true, posts already returned by the last run with the same input are left out. Turn it on for a schedule (e.g. every 30 minutes).

## `useApifyProxy` (type: `boolean`):

Opens the public Threads pages through Apify Proxy so runs are not blocked. Leave on.

## `proxyGroups` (type: `array`):

Optional Apify Proxy groups, for example RESIDENTIAL. Leave empty to use the default proxy first.

## `webhookUrl` (type: `string`):

Optional. An https address - your own system, Zapier, Make or a Slack incoming webhook - that gets each run's results as JSON (with 'only new' on: just the new ones). Example: https://hooks.slack.com/services/T000/B000/XXXX

## Actor input object example

```json
{
  "searchQuery": "apify",
  "searchType": "posts",
  "sort": "top",
  "maxPosts": 3,
  "onlyNew": false,
  "useApifyProxy": true
}
```

# Actor output Schema

## `results` (type: `string`):

All result rows (open as table, JSON, CSV or Excel).

# 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 = {
    "searchQuery": "apify",
    "maxPosts": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("h1018y/anvil-threads-all").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 = {
    "searchQuery": "apify",
    "maxPosts": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-threads-all").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 '{
  "searchQuery": "apify",
  "maxPosts": 3
}' |
apify call h1018y/anvil-threads-all --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,h1018y/anvil-threads-all"
        }
    }
}
```

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/osolLLtdYizwU0Noe/builds/ryxcEqRQiMJkF4NVN/openapi.json
