{
  "openapi": "3.0.1",
  "info": {
    "title": "Threads Scraper: Posts, Replies & Profiles, from $0.99/1K",
    "description": "From $0.99/1K replies, $1.49/1K posts, $1.99/1K profiles. Fastest Threads scraper in our head-to-head tests. No login, no start fee. Profiles, profile posts, post URLs with threaded replies, keyword & #tag search. Date, language & keyword filters, views, only-new.",
    "version": "0.3",
    "x-build-id": "2y1o9PnaGKZHFQwta"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~threads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-threads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/laptime~threads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-threads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/laptime~threads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-threads-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "Optional. Threads accounts: each returns its profile row (followers, bio, links, verified) and its latest posts, newest first, up to \"Max posts per source\". Accepts zuck, @zuck or a profile link (threads.com, threads.net or the same name on instagram.com). Usernames, Start URLs and Search terms can be combined: all run.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (profiles, posts, searches)",
            "type": "array",
            "description": "Optional. Any Threads link: a profile (https://www.threads.com/@zuck; a /@zuck/replies or /@zuck/reposts link reads that tab); a post (https://www.threads.com/@zuck/post/DfihFPxkaZ1, /t/CODE, share links, threads.net): the post plus its threaded replies, up to \"Max replies per post\"; or a search page (https://www.threads.com/search?q=coffee, &filter=recent = newest first, &serp_type=tags = a topic tag). Tracking parameters are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search terms",
            "type": "array",
            "description": "Optional. Words to search Threads posts for, one search per line, in any language or emoji (espresso, コーヒー, ☕). #latteart searches a topic tag; \"artificial intelligence\" in quotes = that exact phrase. Threads shows logged-out visitors ~20 posts per search; this Actor walks back through time for more (newest first with Search sort = Recent). A Threads link pasted here is scraped as a link.",
            "items": {
              "type": "string"
            }
          },
          "searchSort": {
            "title": "Search sort",
            "type": "string",
            "description": "top = the posts Threads ranks as most relevant for the term (default). recent = newest first, best for monitoring and for collecting many posts from a time range.",
            "default": "top"
          },
          "searchType": {
            "title": "Search for",
            "type": "string",
            "description": "posts (default) = Search terms return posts. profiles = Search terms return matching accounts (up to about 50 per term, with followers, bio and verified), charged as profiles.",
            "default": "posts"
          },
          "maxPostsPerSource": {
            "title": "Max posts per source",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum posts from each username, search term or search URL (not per run): 3 usernames × 20 = up to 60 posts that pass your filters. 0 = profile rows only for usernames (a Replies or Reposts tab you pick still returns its latest items); a search always returns at least 1. Also caps profiles per term when Search for = profiles. A post URL always returns its one post.",
            "default": 20
          },
          "maxReplies": {
            "title": "Max replies per post",
            "minimum": 0,
            "type": "integer",
            "description": "Replies loaded for each post URL (and for every post when \"Replies for all posts\" is on), threaded: each reply has depth, parent_post_id and root_post_id. The filters below (dates, likes, keywords, language) apply to these replies, so you may get fewer. 0 = no replies.",
            "default": 20
          },
          "repliesForAllPosts": {
            "title": "Replies for all posts",
            "type": "boolean",
            "description": "false (default) = replies are loaded only for post URLs. true = also load up to \"Max replies per post\" replies for every post from usernames (reposts included) and searches (one extra request per post with replies).",
            "default": false
          },
          "maxReplyDepth": {
            "title": "Max reply depth",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How deep nested replies are followed: 1 = only direct replies to the post, 2 = also replies to those replies, and so on. Folded sub-threads are opened up to this depth.",
            "default": 3
          },
          "maxItems": {
            "title": "Max rows per run",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on all rows of the run (posts + replies + profiles together). The run stops when it is reached; it is never exceeded.",
            "default": 1000
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Optional. Only posts and replies from this time on: a date (2026-11-01, UTC) or a relative time (\"24 hours\", \"7 days\", \"3 months\"). Searches send it to Threads as its own date filter; profiles stop paging once past it. Empty = no limit."
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Optional. Only posts and replies up to this time: a date (the whole day counts, UTC) or a relative time (\"30 days\"). Empty = up to now."
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Optional. Keep only posts and replies in these languages, as ISO 639-1 codes (en, es, pt, ja, de...), using Threads' own language detection (the \"language\" field, always a 2-letter code). Rows Threads couldn't detect a language for are left out when this is set. Empty = all languages.",
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Min likes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts and replies with at least this many likes. 0 = no minimum.",
            "default": 0
          },
          "minReplies": {
            "title": "Min replies",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts with at least this many direct replies (reply rows are not filtered by it). 0 = no minimum.",
            "default": 0
          },
          "minReposts": {
            "title": "Min reposts",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts reposted at least this many times (reply rows are not filtered by it). 0 = no minimum.",
            "default": 0
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Optional. Keep only posts and replies whose text (or link title or topic tag) contains at least one of these words or phrases (case- and accent-insensitive). Empty = keep all. Useful to drop loosely related search hits.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Optional. Drop posts and replies whose text contains any of these words or phrases (case- and accent-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "exactMatch": {
            "title": "Exact match (search)",
            "type": "boolean",
            "description": "Searches only: turns on Threads' own \"exact match\" option, which favours posts with your words together as typed (Top sort, \"espresso machine\": 20 of 20 posts held the phrase, 16 of 20 without; Recent sort changes little). To keep only posts that contain your words, also turn on \"Only posts that contain the search words\". A term typed in quotes (\"ai agents\") always gets this option.",
            "default": false
          },
          "requireKeywordInText": {
            "title": "Only posts that contain the search words",
            "type": "boolean",
            "description": "Searches only: keep only posts whose text (or link title or topic tag) contains every word of the search term (case- and accent-insensitive; #latteart also matches \"latte art\"). Threads also returns posts it matched on the author, topic or a translation; those are dropped before they are charged. Every search row carries keyword_match (true/false) either way.",
            "default": false
          },
          "searchFromUsername": {
            "title": "Search only posts from",
            "type": "string",
            "description": "Optional. Searches only: one username whose posts the search is limited to (Threads' own \"from\" filter), e.g. nasa. Empty = everyone."
          },
          "onlyNew": {
            "title": "Only new posts (monitoring)",
            "type": "boolean",
            "description": "Skip posts and replies earlier runs of this task (or of this Monitor name) already delivered; they are not charged. Schedule the run to get only new posts each time. A run with nothing new ends successfully and costs $0; only profile rows of usernames come back every run (fresh follower counts), unless \"Profile rows for usernames\" is off.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional name for the \"Only new posts\" memory. Runs with the same name share it. Empty = one memory per saved task (or per set of inputs)."
          },
          "includeProfileInfo": {
            "title": "Profile rows for usernames",
            "type": "boolean",
            "description": "true (default) = each username also returns one profile row (record_type \"profile\": followers, bio, bio links, verified, profile picture), charged as a profile. Post rows of that user get followers_count either way. With Max posts per source = 0 the profile row is always returned (it is the whole output).",
            "default": true
          },
          "profileTabs": {
            "title": "Profile tabs",
            "type": "array",
            "description": "Which tabs of each username's profile to read. posts = its own posts (deep paging, up to Max posts per source). replies = its replies, each with parent_text (the post it answered), charged as replies. reposts = the original posts it reposted, with reposted_by and reposted_at, charged as posts. Threads shows logged-out visitors the latest ~15 replies and ~25 reposts.",
            "items": {
              "type": "string",
              "enum": [
                "posts",
                "replies",
                "reposts"
              ],
              "enumTitles": [
                "Posts (the account's own posts)",
                "Replies (what the account answered, with the post it answered)",
                "Reposts (posts the account reposted)"
              ]
            },
            "default": [
              "posts"
            ]
          },
          "includeViews": {
            "title": "View counts",
            "type": "boolean",
            "description": "Add view_count to every post and reply. Threads shows views only on the post's own page, so this reads one extra page per post (slower). false (default) = view_count is null. \"Min views\" turns this on.",
            "default": false
          },
          "minViews": {
            "title": "Min views",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts and replies with at least this many views (loads view counts; see \"View counts\"). 0 = no minimum.",
            "default": 0
          },
          "replySort": {
            "title": "Reply order",
            "type": "string",
            "description": "Order in which replies are read: top (Threads' default ranking) or recent.",
            "default": "top"
          },
          "aiAnalysis": {
            "title": "AI labels (sentiment, intent, lead score)",
            "type": "boolean",
            "description": "true = every post and reply gets aiSentiment (positive, negative, neutral, mixed) with aiSentimentScore (-1 to 1), aiIntent (buying_intent, recommendation_request, question, complaint, praise, self_promotion, job_post, news, discussion), aiEmotion, aiLeadScore (0-100) with aiLeadReason, aiTopic, aiEntities (brands named), aiLanguage and aiSummary (long posts). Profile rows are never labelled. One \"ai-label\" event per labelled row ($0.30 per 1,000).",
            "default": false
          },
          "aiScope": {
            "title": "Label which rows",
            "enum": [
              "all",
              "posts",
              "replies"
            ],
            "type": "string",
            "description": "One of: all, posts, replies. \"posts\" labels only posts (the cheapest way to find leads); replies are still scraped.",
            "default": "all"
          },
          "aiContext": {
            "title": "What you sell or track",
            "type": "string",
            "description": "One or two sentences about your product, brand or competitors. The lead score and its reason are judged against this. Empty = general buying intent."
          },
          "aiFlags": {
            "title": "Yes/no flags",
            "type": "array",
            "description": "Ready-made questions answered for every labelled row, returned in aiLabels (e.g. aiLabels.wantsHelp = true). Each flag is one \"ai-custom-label\" event per row ($0.05 per 1,000). Turns on AI labels.",
            "items": {
              "type": "string",
              "enum": [
                "wantsHelp",
                "isVendor",
                "hasPain",
                "willingToPay",
                "mentionsPrice",
                "featureRequest",
                "isSwitching",
                "alreadySolved",
                "competitor",
                "painPoint"
              ],
              "enumTitles": [
                "wantsHelp: asks for help or recommendations",
                "isVendor: promotes their own product or company",
                "hasPain: describes a problem or frustration",
                "willingToPay: budget or ready to buy",
                "mentionsPrice: mentions a price, cost or budget",
                "featureRequest: asks for a missing feature",
                "isSwitching: wants to leave or replace a product",
                "alreadySolved: problem already solved",
                "competitor: the product they use or compare (text)",
                "painPoint: the main problem in a few words (text)"
              ]
            }
          },
          "aiCustomLabels": {
            "title": "Custom labels",
            "type": "object",
            "description": "Your own questions as {\"name\": \"instruction\"}, up to 10, returned in aiLabels.name. Start an instruction with \"yes/no:\" for a true/false answer; otherwise you get a short text answer (null for none). Each label is one \"ai-custom-label\" event per row ($0.05 per 1,000). Turns on AI labels."
          },
          "aiThreadSummary": {
            "title": "Reply summaries for post links",
            "type": "boolean",
            "description": "For each post link with at least 2 replies, reads the post and its replies (up to 40) and adds aiThreadSummary (what people are saying), aiThreadSentiment, aiThreadTopMentions (products discussed most) and aiThreadAnswered to the post row. Uses the replies you scrape (Max replies per post). One \"ai-thread-summary\" event per summary ($3 per 1,000).",
            "default": false
          },
          "aiApiKey": {
            "title": "Your own LLM API key (optional)",
            "type": "string",
            "description": "Bring your own key and pay no AI fees: the AI events above are not charged and your provider bills you for tokens (about $0.05-0.10 per 1,000 rows). Detected by prefix: OpenRouter (sk-or-...), Anthropic (sk-ant-...), Google Gemini (AIza...), anything else is treated as OpenAI. Stored encrypted."
          },
          "aiModel": {
            "title": "Model",
            "type": "string",
            "description": "Only with your own key: the model name at your provider. Defaults: meta/muse-ember (OpenRouter), gpt-4.1-nano (OpenAI), claude-haiku-5-5 (Anthropic), gemini-2.5-flash-lite (Gemini). Without your own key our tuned models are used and this field is ignored."
          },
          "aiBaseUrl": {
            "title": "OpenAI-compatible endpoint (advanced)",
            "type": "string",
            "description": "Optional base URL of any OpenAI-compatible chat completions API (Groq, Together, Azure, a self-hosted model). Use with your API key and Model. No AI fees are charged."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Proxy IPs used at the same time (each carries up to 4 requests). The default is fast and polite; raise it for many usernames or terms.",
            "default": 10
          },
          "mode": {
            "title": "mode (compatibility)",
            "type": "string",
            "description": "Accepted for compatibility with other Threads Actors (futurizerush, lergassy, automation-lab): user/posts = a profile's posts, profile = profile rows only, search = posts search, profiles/users = profile search, post_link/urls = the posts only, thread = posts with replies. With a mode set, only the fields that mode reads are used."
          },
          "search_filter": {
            "title": "search_filter (compatibility)",
            "type": "string",
            "description": "Same as Search sort (top or recent)."
          },
          "max_posts": {
            "title": "max_posts (compatibility)",
            "type": "integer",
            "description": "Same as Max posts per source."
          },
          "start_date": {
            "title": "start_date (compatibility)",
            "type": "string",
            "description": "Same as Posted after."
          },
          "end_date": {
            "title": "end_date (compatibility)",
            "type": "string",
            "description": "Same as Posted before."
          },
          "proxyTiers": {
            "title": "Proxy tiers (internal)",
            "type": "string",
            "description": "Internal: comma-separated Apify proxy tiers to use in order, e.g. DATACENTER,RESIDENTIAL (the default) or RESIDENTIAL."
          },
          "monitorStore": {
            "title": "Monitor store (internal)",
            "type": "string",
            "description": "Internal: which Actor's monitoring memory to use. Set by Laptime wrapper Actors."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}