# Example: latest Threads posts of NASA

**Use case:** 

Runs the Threads Scraper on the NASA account: its 50 latest posts with text, date, likes, replies, reposts and media, plus a free profile row.

## Input

```json
{
  "usernames": [
    "nasa"
  ],
  "profileTabs": [
    "posts"
  ],
  "postUrls": [
    "https://www.threads.com/@zuck/post/DfNR0zhEdWv"
  ],
  "searchQueries": [
    "web scraping",
    "#coffee"
  ],
  "searchSort": "top",
  "maxPostsPerSource": 50,
  "includeReplies": true,
  "maxRepliesPerPost": 20,
  "accountSearchQueries": [
    "coffee roaster",
    "nasa"
  ],
  "maxAccountsPerKeyword": 50,
  "onlyNew": false,
  "includeContactsFromBio": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "authorUsername": {
    "label": "Author username",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "createdAt": {
    "label": "Created at",
    "format": "string"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "replyCount": {
    "label": "Replies",
    "format": "integer"
  },
  "repostCount": {
    "label": "Reposts",
    "format": "integer"
  },
  "viewCount": {
    "label": "Views",
    "format": "integer"
  },
  "mediaType": {
    "label": "Media type",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "sourceValue": {
    "label": "Source value",
    "format": "string"
  },
  "followerCount": {
    "label": "Followers",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Threads Scraper: Profiles, Posts & Replies, $4.50/1K Posts Actor is ready to run with the inputs already set for "Example: latest Threads posts of NASA". [Sign up or log in](https://console.apify.com/create-task-from-example/ada60XqmWkSK5JuRi) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Example: latest Threads posts of NASA" task

The Threads Scraper: Profiles, Posts & Replies, $4.50/1K Posts Actor will start running based on the input automatically. You can also change all the input fields, like threads usernames or profile urls, profile tabs, and more, to match your specific use case.

### 3. Receive the "Example: latest Threads posts of NASA" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, author username, text, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Example: latest Threads posts of NASA" task via API](https://apify.com/actorforgehq/threads-scraper.md).

## FAQ

### What does one output row of the NASA Threads posts example task contain?

The NASA Threads posts example task returns one row per post with text, url, createdAt, likeCount, replyCount, repostCount, quoteCount, mediaType and mediaUrls, plus one free profile row with followers and bio.

### What input does the NASA Threads posts example task use and how do I change it?

The NASA Threads posts example task takes the username nasa, the Threads tab and 50 posts. Replace usernames with other accounts, add the replies or reposts tabs, paste post links or search keywords, change the limit.

### Does the NASA Threads posts example task need a Threads or Instagram account?

The NASA Threads posts example task needs no Threads or Instagram account, cookies or API key. The Threads Scraper reads only what Threads shows publicly to logged-out visitors and never signs in.

### Can the NASA Threads posts example task get the replies under a post?

Yes. Paste a post link into postUrls of the NASA Threads posts example task: it returns the post with its view count and the replies shown under it, each linked to what it answers.

### How far back can the NASA Threads posts example task go?

The NASA Threads posts example task can take up to 10,000 posts per profile tab. In our tests the feed of a busy account went past 3,000 posts without reaching the end.

### How do I run the NASA Threads posts example task on a schedule to get only new posts?

Run the NASA Threads posts example task on Apify Schedules with Only new since last run on. Each run stops after a series of posts you already have. The Apify API and the Apify MCP server can start it too.

## About this Actor

This example demonstrates how to use [Threads Scraper: Profiles, Posts & Replies, $4.50/1K Posts](https://apify.com/actorforgehq/threads-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/actorforgehq/threads-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/actorforgehq/threads-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`).
