# Threads Scraper & API | EveryInfra (`blushing_parachute/everyinfra-threads-api`) Actor

Unofficial Threads data via one Actor: search, profile, user_posts, post_detail, comments, discover_profiles, followers. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-threads-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 16.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.60 / 1,000 search requests

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 & API | EveryInfra

Search Threads posts and profiles to obtain public text, author details, follower counts and discussion metrics.

Profile discovery by keyword runs as an asynchronous task. A response status does not guarantee a list of accounts.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `search` | Pull Threads posts that mention a keyword, with each post's text, author, like and comment counts and publish time. It does not look up profiles by name, and it promises neither full history nor real-time coverage. | keyword | — | 15 (up to 50) | $0.0046 |
| `profile` | Check a Threads account from its handle. Get display name, bio, follower count, external link and verification and privacy flags. Pass the handle with or without the @, not a profile URL. Private profiles are not opened. | username | — | 1 | $0.0017 |
| `user_posts` | List posts from a Threads account with separate like, comment, repost, quote, share and view counts, plus hashtags and mentions. Pass the handle, not a profile URL. One batch may not cover the full history and leaves out the account's replies. | username | — | 10 (up to 50) | $0.0018 |
| `post_detail` | Read a single Threads post from its full URL. Get text, author, engagement counts, hashtags, media and a paid partnership flag. It returns the post alone, not the full thread around it. | url | — | 1 | $0.0016 |
| `comments` | Collect the replies under a Threads post. Each reply has text, author, verification, like count and what it responds to. Pass the full post URL. Nested replies may not all come back. | url | — | all the source returns | $0.0023 |
| `discover_profiles` | Discover Threads creator profiles related to a keyword. Get bio, follower count, verification, external links and any listed emails or phone numbers. It runs as an async job, so read the finished result, not the first status reply. A match proves neither identity nor fit. | keyword | since, until | 10 (up to 50) | $0.0044 |
| `followers` | Get a Threads account's follower, following, post and like counts, with a `precision` flag that marks rounded figures. It returns counts only, with no list of who follows the account and no trend over time. | username | channel | 1 | $0.0013 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "search",
  "keyword": "indie development"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `search`: `id`, `url`, `text`, `author_name`, `author_username`, `author_id`, `like_count`, `comment_count`, `posted_at`, `author_is_verified`, `media`, `hashtags`, `mentions`, `links`, `platform`
- `profile`: `user_id`, `username`, `display_name`, `bio`, `follower_count`, `is_verified`, `is_private`, `url`, `avatar_url`, `platform`, `external_url`
- `user_posts`: `id`, `code`, `url`, `text`, `author_username`, `author_name`, `author_is_verified`, `like_count`, `comment_count`, `repost_count`, `quote_count`, `share_count`, `view_count`, `posted_at`, `platform`, `media_type`, `hashtags`, `mentions`
- `post_detail`: `id`, `code`, `url`, `text`, `author_username`, `author_name`, `author_is_verified`, `like_count`, `comment_count`, `repost_count`, `quote_count`, `share_count`, `view_count`, `posted_at`, `is_paid_partnership`, `author_id`, `author_avatar_url`, `image_count`, `image_urls`, `platform`, `media_url`, `hashtags`
- `comments`: `id`, `url`, `text`, `author_username`, `author_name`, `author_is_verified`, `like_count`, `comment_count`, `reply_to`, `posted_at`, `platform`
- `discover_profiles`: `username`, `display_name`, `bio`, `follower_count`, `is_verified`, `url`, `avatar_url`, `platform`, `emails`, `phones`, `external_links`
- `followers`: `id`, `username`, `url`, `follower_count`, `following_count`, `post_count`, `like_count`, `connection_count`, `precision`, `platform`

### Pricing

Pay per event, charged only when a run delivers data:

- `search`: $0.0046, one event per started block of 15 results.
- `profile`: $0.0017, one event per non-empty request, whatever the row count.
- `user_posts`: $0.0018, one event per started block of 10 results.
- `post_detail`: $0.0016, one event per non-empty request, whatever the row count.
- `comments`: $0.0023, one event per non-empty request, whatever the row count.
- `discover_profiles`: $0.0044, one event per started block of 10 results.
- `followers`: $0.0013, one event per non-empty request, whatever the row count.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by Threads or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

## `keyword` (type: `string`):

Used by `search` (required), `discover_profiles` (required). Specifies the search query to find public posts using search or creator profiles using discover_profiles. The discover_profiles action operates asynchronously, so the initial task status response must not be parsed as the final creator list.

## `username` (type: `string`):

Used by `profile` (required), `user_posts` (required), `followers` (required). Specifies the Threads handle (with or without @) for profile, user_posts, and followers actions. The profile and user_posts actions do not accept full profile URLs. The followers action returns aggregate follower counts rather than a user member list.

## `url` (type: `string`):

Used by `post_detail` (required), `comments` (required). Specifies the full post URL (e.g., https://www.threads.com/@username/post/POST_CODE) for post_detail and comments actions. The comments action does not guarantee extraction of all nested comment threads.

## `since` (type: `string`):

Used by `discover_profiles`. Provides a shared lower date bound parameter for discover_profiles. It is not guaranteed to filter discovered profiles, and it does not filter account creation dates.

## `until` (type: `string`):

Used by `discover_profiles`. Provides a shared upper date bound parameter for discover_profiles. It does not guarantee complete coverage of creators from that period and search has no date filter.

## `channel` (type: `string`):

Used by `followers`. Provides a compatibility fallback for specifying an account handle in the followers action. It takes lower precedence than username and returns follower counts rather than channel or group member lists.

## `limit` (type: `integer`):

How many results to request for list actions. Defaults and maximums per action: `search` 15 (max 50); `user_posts` 10 (max 50); `discover_profiles` 10 (max 50). Billing: `search` one event per started block of 15 results; `user_posts` one event per started block of 10 results; `discover_profiles` one event per started block of 10 results.

## `params` (type: `object`):

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "search",
  "keyword": "indie development"
}
```

# Actor output Schema

## `records` (type: `string`):

No description

# 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 = {
    "keyword": "indie development"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-threads-api").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 = { "keyword": "indie development" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-threads-api").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 '{
  "keyword": "indie development"
}' |
apify call blushing_parachute/everyinfra-threads-api --silent --output-dataset

```

## MCP server setup

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

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/PKAl1IMaHhP7knL9a/builds/hifVKFX4zxah7Xjqx/openapi.json
