# Track a hashtag on Threads

**Use case:** 

Collects the newest posts under one or more Threads hashtags, newest first, with author, text and engagement counts. Use it to follow a campaign, event or topic as it happens.

## Input

```json
{
  "searchQueries": [
    "#ai"
  ],
  "searchType": "hashtag",
  "sort": "recent",
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "post_url": {
    "label": "Post URL",
    "format": "string"
  },
  "search_query": {
    "label": "Search term",
    "format": "string"
  },
  "user.username": {
    "label": "Username",
    "format": "string"
  },
  "user.full_name": {
    "label": "Name",
    "format": "string"
  },
  "user.is_verified": {
    "label": "Verified",
    "format": "boolean"
  },
  "caption.text": {
    "label": "Text",
    "format": "string"
  },
  "like_count": {
    "label": "Likes",
    "format": "integer"
  },
  "text_post_app_info.direct_reply_count": {
    "label": "Replies",
    "format": "integer"
  },
  "text_post_app_info.repost_count": {
    "label": "Reposts",
    "format": "integer"
  },
  "taken_at": {
    "label": "Posted at (Unix)",
    "format": "integer"
  },
  "code": {
    "label": "Post code",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Threads Search Post Scraper](https://apify.com/dacoder/threads-search-post-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dacoder/threads-search-post-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/dacoder/threads-search-post-scraper.md

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