# Threads Hashtag Scraper: Hashtag & Topic Tag Posts, Only New (`h1018y/anvil-threads-hashtags`) Actor

Scrapes Threads hashtag posts: give it hashtags like travel or #ai; get each public post that really carries the tag, with text, author, likes, replies, reposts, media and topic tag as rows. Same field names as thescrappa/threads-hashtag-scraper - switch by changing the actor id.

- **URL**: https://apify.com/h1018y/anvil-threads-hashtags.md
- **Developed by:** [Veriloc](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 $0.68 / 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 Hashtag Scraper: Hashtag & Topic Tag Posts, Only New

Give it hashtags; get only the public Threads posts that really carry them, with likes, replies and reposts - and only the new ones on a schedule.

Every row says how it matched (matchedBy: the #hashtag in the text or the Threads topic tag of that name), search noise without the tag is dropped, Top and Recent tabs are merged, and 'only new posts' remembers the last run.

### What Threads Hashtag Scraper returns

- Many hashtags in one run, with or without #, or pasted Threads search links
- Keeps only posts carrying the #hashtag or filed under the matching Threads topic tag (matchedBy on each row)
- Likes, replies, reposts, quotes, total engagement, media links and all hashtags of each post
- Only new posts since the last run, plus date and minimum-likes filters
- Same input and output field names as thescrappa/threads-hashtag-scraper - switch by changing the actor id

### Who uses Threads Hashtag Scraper

- Brand teams - see every new post on a campaign hashtag every 30 minutes
- Agencies - export a hashtag's top posts with engagement for a client report
- Creators - find which posts on a niche hashtag get the most likes
- Developers - drop-in replacement for the Threads hashtag scraper they already call

### What a row looks like

One flat row per result. These values come from a real run:

| Field | Example |
|---|---|
| `hashtag` | fitness |
| `matchedBy` | hashtag |
| `postId` | 4030214452234278641 |
| `code` | DfuMrD6Edbx |
| `permalink` | https://www.threads.com/@marcelvolpe/post/DfuMrD6Edbx |
| `username` | marcelvolpe |
| `fullName` | 👑VoLpE👑 |
| `isVerified` | true |
| `profilePicUrl` | https://scontent-lga3-3.cdninstagram.com/v/t51.82787-19/8364... |
| `text` | #fashion #photooftheday #viral #menstyle #fitness |
| `taken_at` | 1794659023 |
| `takenAtIso` | 2026-11-14T12:23:43Z |
| `like_count` | 361 |
| `reply_count` | 25 |
| `repost_count` | 0 |
| `quote_count` | 0 |
| `engagement` | 386 |
| `mediaType` | image |
| `imageUrl` | https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/9016... |
| `videoUrl` | null |
| `topicTag` | null |
| `allHashtags` | \["fashion", "fitness", "menstyle", "photooftheday", "viral"] |
| `isNew` | true |
| `changeType` | new |

### How to run Threads Hashtag Scraper

Press **Start**. The form already holds an example that works. Swap in your own input (the Input tab lists every field), run it once, or put it on an Apify Schedule. Results download as JSON, CSV or Excel, or go to Google Sheets, Zapier, Make, the Apify API or an AI agent through the Apify MCP server. Add a `webhookUrl` to get each run's rows sent to your own system.

#### Input example

```json
{
  "hashtags": [
    "travel"
  ],
  "maxResults": 3,
  "maxResultsPerHashtag": 0,
  "sort": "both",
  "matchMode": "hashtag_or_topic",
  "minLikes": 0,
  "onlyNew": false,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "hashtag": "fitness",
    "matchedBy": "hashtag",
    "postId": "4030214452234278641",
    "code": "DfuMrD6Edbx",
    "permalink": "https://www.threads.com/@marcelvolpe/post/DfuMrD6Edbx",
    "username": "marcelvolpe",
    "fullName": "👑VoLpE👑",
    "isVerified": true,
    "profilePicUrl": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-19/836458953_18638682541001186_7057476154310786578_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-lga3-3.cdninstagram.com&_nc_cat=102&_nc_oc=Q6cZ2gGAVwy_sll4_GUEKz61Nv6qkdmmRV-jXTcibMB47aYSaBMsIQzPGLLULlr8L5Zc5jl_wLpODMq1igIjN0w8M6D9&_nc_ohc=G4T2MurwNhoQ7kNvwEmlAlW&_nc_gid=mpJOVNLRtHk5GpTZCn_NAw&edm=APs17CUBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQRY-BK8Bxa2W5MLL_oBdynothfFmV1OOguqAD4l6LxmMA&oe=6AFE7697&_nc_sid=10d13b",
    "text": "#fashion #photooftheday #viral #menstyle #fitness",
    "taken_at": 1794659023,
    "takenAtIso": "2026-11-14T12:23:43Z",
    "like_count": 361,
    "reply_count": 25,
    "repost_count": 0,
    "quote_count": 0,
    "engagement": 386,
    "mediaType": "image",
    "imageUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/901646447_18652870711001186_8506744225880274050_n.jpg?stp=dst-jpegr_e35_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ig_cache_key=NDAzMDIxNDQ1MjIzNDI3ODY0MQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5oZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=qwoJowPKLkQQ7kNvwFWyj67&_nc_oc=AdoxdtUgvXmvMEo82ugDqUVztiiJ67mv6L952QPbXxsN6ToBPsm9UsO_i9D4mbVaNcdWwffqeC32Ij7jo2BSjva6&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_gid=mpJOVNLRtHk5GpTZCn_NAw&_nc_ss=7a20f&_nc_ct=RQosPBUIFQIlAgAAAA&oh=00_AQRYQknPG47Rxi02zdkOKVK2tCp-KTUeAyY2k-mMG6qJXw&oe=6AFE5E7D",
    "videoUrl": null,
    "topicTag": null,
    "allHashtags": [
      "fashion",
      "fitness",
      "menstyle",
      "photooftheday",
      "viral"
    ],
    "isNew": true,
    "changeType": "new"
  }
]
```

Field names never change between versions. New versions only add fields, and a missing value is `null`, not a dropped key.

### What Threads Hashtag Scraper costs

You pay per result, with no monthly fee and no minimum. The price per result is lower on the Bronze, Silver and Gold plans, and the exact figures are on the **Pricing** tab. The free plan credit covers a test on your own input. Set a maximum number of results in the input to cap a run.

### Limits

- Threads 공개 검색은 해시태그 하나에 약 20~60개 글만 보여 줘서, 몇 달 치 과거 글을 수천 개씩 받는 용도로는 못 써요.
  It reads only what a visitor sees without logging in, so some sites show less than their members see. Threads Hashtag Scraper never logs in and never asks for cookies or an API key.

### Also searched as

- threads hashtags
- threads topic tags
- threads hashtag search
- meta threads posts
- threads hashtag monitor

### Questions

**Can I run it on a schedule?** Yes. Use an Apify Schedule; each run returns fresh rows.

**What happens when the site blocks a request?** The run retries from a fresh connection. If it still cannot read the page, it stops with a message saying what to change, and returns no made-up rows.

**Is it legal?** It collects only data anyone can see without logging in. How you use it is up to you, so check the source site's terms and data protection law (GDPR, CCPA).

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

### Related tools

- [Tweet Scraper for Twitter & X Posts: By URL, No Login](https://apify.com/h1018y/anvil-tweet-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)

# Actor input Schema

## `hashtags` (type: `array`):

Hashtags to collect, with or without #, one per line, for example 'travel' or '#ai'. A pasted threads.com/search?q=%23travel link works too.

## `maxResults` (type: `integer`):

Stop after this many posts in total across all hashtags, for example 20. Threads shows about 20-60 posts per hashtag.

## `maxResultsPerHashtag` (type: `integer`):

Optional cap per hashtag so one busy hashtag does not use the whole run, for example 10. 0 means no cap.

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

'both' merges the Top and Recent tabs without duplicates (most posts), 'top' = Top tab only, 'recent' = newest first only.

## `matchMode` (type: `string`):

'hashtag_or_topic' keeps only posts that carry the #hashtag in their text or are filed under the Threads topic tag of that name; 'all_search_results' keeps everything Threads search returns.

## `minLikes` (type: `integer`):

Optional: leave out posts with fewer likes than this, for example 10. 0 keeps all posts.

## `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.

## `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 search 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
{
  "hashtags": [
    "travel"
  ],
  "maxResults": 3,
  "maxResultsPerHashtag": 0,
  "sort": "both",
  "matchMode": "hashtag_or_topic",
  "minLikes": 0,
  "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 = {
    "hashtags": [
        "travel"
    ],
    "maxResults": 3
};

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

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

```

## MCP server setup

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

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/F3lUlPhOr5i3deUND/builds/R8ElTzyBZEs5GCDeL/openapi.json
