Meta threads scraper ✅ FREE ✅ avatar
Meta threads scraper ✅ FREE ✅

No credit card required

View all Actors
Meta threads scraper ✅ FREE ✅

Meta threads scraper ✅ FREE ✅

curious_coder/threads-scraper

No credit card required

Scrape threads or posts from meta or instagram's new social media website "threads.net"

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "action": "scrapeThreads",
11    "scrapeThreads.profileUrl": "https://www.threads.net/@netflix",
12    "proxy": {
13        "useApifyProxy": true,
14        "apifyProxyGroups": [
15            "RESIDENTIAL"
16        ],
17        "apifyProxyCountry": "US"
18    },
19    "minDelay": 1,
20    "maxDelay": 3
21};
22
23(async () => {
24    // Run the Actor and wait for it to finish
25    const run = await client.actor("curious_coder/threads-scraper").call(input);
26
27    // Fetch and print Actor results from the run's dataset (if any)
28    console.log('Results from dataset');
29    const { items } = await client.dataset(run.defaultDatasetId).listItems();
30    items.forEach((item) => {
31        console.dir(item);
32    });
33})();
Developer
Community logoMaintained by Community
Actor metrics
  • 5 monthly users
  • 92.3% runs succeeded
  • Modified about 2 months ago
Categories

You might also like these Actors