# Search Threads by Keyword & Export Posts

**Use case:** 

Search Meta Threads for any keyword and export the top matching public posts with likes, replies, and timestamps for trend and topic research.

## Input

```json
{
  "mode": "search",
  "usernames": [],
  "postUrls": [],
  "searchQuery": "vibe coding",
  "hashtag": "",
  "maxPostsPerUser": 25,
  "expandReplies": true,
  "maxReplyDepth": 3,
  "maxRepliesPerNode": 20,
  "extractBioContacts": false,
  "resolveLinktree": false,
  "incrementalMode": false,
  "maxItems": 50,
  "concurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "username": {
    "label": "Username"
  },
  "postId": {
    "label": "Post id"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "takenAt": {
    "label": "Posted at",
    "format": "date"
  },
  "text": {
    "label": "Text"
  },
  "likeCount": {
    "label": "Like count"
  },
  "replyCount": {
    "label": "Reply count"
  },
  "repostCount": {
    "label": "Repost count"
  },
  "quoteCount": {
    "label": "Quote count"
  },
  "parentPostId": {
    "label": "Parent post id"
  },
  "depth": {
    "label": "Depth"
  },
  "mediaUrls": {
    "label": "Media urls"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta Threads Scraper - Posts, Reply Trees, Bio Contacts](https://apify.com/constructive_calm/threads-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/constructive_calm/threads-scraper) to learn more, explore other use cases, and run it yourself.