{
  "openapi": "3.0.1",
  "info": {
    "title": "Threads Scraper | No Login | Only-New Posts Monitor",
    "description": "Scrape public Threads posts by keyword or hashtag, single posts with replies, and profiles with follower counts, replies and reposts. Filters run before you pay; monitoring mode returns only new posts. No login or cookies. Never a silent empty run.",
    "version": "0.1",
    "x-build-id": "1bxbCSFzbKAMVcp1i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidrows~threads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidrows-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/solidrows~threads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidrows-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/solidrows~threads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidrows-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords, hashtags or phrases to search on Threads, one per line (e.g. marketing, #ai, espresso machine). With the default settings each keyword returns about 90–150 unique posts: Top, Recent and Tags views for the keyword and its hashtag, re-read to catch the alternating result sets Threads serves.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search tabs",
            "enum": [
              "top",
              "recent",
              "both"
            ],
            "type": "string",
            "description": "Which Threads search tabs to read: Top (most relevant), Recent (newest first) or both. For monitoring fresh mentions choose Recent or both.",
            "default": "both"
          },
          "searchHashtag": {
            "title": "Also search as hashtag",
            "type": "boolean",
            "description": "Also search each keyword as a hashtag (e.g. \"ai agents\" → #aiagents). Threads returns a different set of posts for hashtags, so you get roughly twice as many unique posts per keyword. Duplicates are removed.",
            "default": true
          },
          "searchTagsTab": {
            "title": "Also read the Tags view",
            "type": "boolean",
            "description": "Also read the tag/topic view of the search for each keyword (posts filed under the matching Threads topic). Adds posts that the Top and Recent tabs do not show.",
            "default": true
          },
          "extraSearchPasses": {
            "title": "Extra search passes",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Threads alternates between different result sets when a visitor re-opens the Top and Tags views. Each extra pass opens them again and keeps only posts not seen yet. In our tests 2–3 passes added 30–60% more unique posts per keyword. 0 = open every view once (fastest).",
            "default": 2
          },
          "maxPostsPerQuery": {
            "title": "Max posts per keyword",
            "minimum": 0,
            "type": "integer",
            "description": "Stop saving posts for a keyword after this many. 0 = no per-keyword limit (the total limit below still applies).",
            "default": 0
          },
          "profiles": {
            "title": "Profiles",
            "type": "array",
            "description": "Threads usernames or profile URLs, e.g. nasa, @nasa or https://www.threads.com/@nasa. Returns the profile (bio, follower count, verification, links, topics) for free, plus its latest public posts.",
            "items": {
              "type": "string"
            }
          },
          "profileTabs": {
            "title": "Profile tabs",
            "type": "array",
            "description": "Which tabs of each profile to read. Threads shows logged-out visitors the latest ~5 posts, ~4 replies and the latest reposts per account.",
            "items": {
              "type": "string",
              "enum": [
                "threads",
                "replies",
                "reposts"
              ],
              "enumTitles": [
                "Threads (own posts)",
                "Replies (what the account replied, with a link to the parent post)",
                "Reposts (what the account reposted, and when)"
              ]
            },
            "default": [
              "threads"
            ]
          },
          "postUrls": {
            "title": "Post URLs",
            "type": "array",
            "description": "Links to single Threads posts, e.g. https://www.threads.com/@nasa/post/DfkLby7DLkp. Short share links like https://www.threads.com/t/DfkLby7DLkp work too. Returns each post with fresh counters and the replies visible under it (typically 8–13, including nested replies).",
            "items": {
              "type": "string"
            }
          },
          "includeReplies": {
            "title": "Include replies of collected posts",
            "type": "boolean",
            "description": "Also open every post collected from search and profiles that has replies, and save the replies Threads shows publicly (typically 8–13 per post, including nested ones). Replies are saved as posts with source = replies, replyToPostUrl, rootPostUrl and replyDepth. Posts given in \"Post URLs\" always include their replies.",
            "default": false
          },
          "maxRepliesPerPost": {
            "title": "Max replies per post",
            "minimum": 0,
            "type": "integer",
            "description": "Save at most this many replies per post. 0 = all visible replies.",
            "default": 0
          },
          "includeAuthorProfiles": {
            "title": "Add follower counts of post authors",
            "type": "boolean",
            "description": "Open the profile of every author of the saved posts and add authorFollowerCount to each post, plus one free profile row per author (bio, followers, verification, links, topics). Use it to find influencers and accounts by keyword. One extra page per unique author, so runs take longer; rows are written at the end of the run.",
            "default": false
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Skip posts with fewer likes. 0 = keep all.",
            "default": 0
          },
          "newerThanDays": {
            "title": "Only posts from the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Skip posts older than this many days. 0 = no limit.",
            "default": 0
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Keep only posts published on or after this date (UTC). A date like 2026-11-01 or a relative value like \"7 days\". Threads search has no date filter for logged-out visitors, so this filters the collected posts; combine it with the Recent tab."
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Keep only posts published on or before this date (UTC). A date like 2026-11-30 or a relative value like \"2 days\"."
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Keep only posts in these languages, as two-letter codes (en, es, de, ja…). Uses the language Threads detected for each post; posts without a detected language (very short or emoji-only) are skipped when this filter is set. Empty = all languages.",
            "items": {
              "type": "string"
            }
          },
          "applyFiltersToReplies": {
            "title": "Apply filters to replies too",
            "type": "boolean",
            "description": "On (default): a reply is saved and charged only if it passes the same filters (minimum likes, dates, languages). Off: replies are saved (and charged) regardless of the filters, so you get whole conversations. Without any filter set this switch changes nothing.",
            "default": true
          },
          "onlyNewPosts": {
            "title": "Only new posts (monitoring mode)",
            "type": "boolean",
            "description": "Remember posts returned in previous runs with the same keywords, profiles and post URLs, and return only posts you have not received yet. Ideal for scheduled brand or keyword monitoring: you pay only for new posts.",
            "default": false
          },
          "maxItems": {
            "title": "Max posts",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of posts (including replies) to save in total. Profile rows are always free and not counted. 0 = no limit.",
            "default": 200
          },
          "addSummaryRecord": {
            "title": "Add a summary row",
            "type": "boolean",
            "description": "Append one free row with type = summary at the end of the dataset: totals, posts per keyword, top authors, top hashtags, top mentions, languages and the most engaging posts. The same summary is always saved to the key-value store under the key SUMMARY, which is handy for webhooks and integrations.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy (datacenter) is used by default and is enough for Threads.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}