Instagram Post Scraper (Pay Per Request) avatar
Instagram Post Scraper (Pay Per Request)

Pricing

$1.40 / 1,000 results

Go to Store
Instagram Post Scraper (Pay Per Request)

Instagram Post Scraper (Pay Per Request)

Developed by

S K I E D

S K I E D

Maintained by Community

Instagram Post Scraper - Grab View data from any post

0.0 (0)

Pricing

$1.40 / 1,000 results

0

Total users

5

Monthly users

5

Runs succeeded

95%

Last modified

10 days ago

You can access the Instagram Post Scraper (Pay Per Request) programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, youโ€™ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "startUrls": [
12 {
13 "url": "https://www.instagram.com/p/example/"
14 }
15 ],
16 "manualSession": `{
17 "sessionid": "your_session_id_here",
18 "csrftoken": "your_csrf_token_here",
19 "ds_user_id": "your_user_id_here",
20 "mid": "your_mid_here",
21 "ig_did": "your_ig_did_here",
22 "datr": "your_datr_here"
23 }`,
24 "proxyConfiguration": {
25 "useApifyProxy": true,
26 "apifyProxyGroups": [
27 "RESIDENTIAL"
28 ],
29 "apifyProxyCountry": "US"
30 },
31 "brightDataConfig": `{
32 "host": "brd.superproxy.io",
33 "port": 22225,
34 "username": "your_username",
35 "password": "your_password",
36 "country": "US"
37 }`
38};
39
40// Run the Actor and wait for it to finish
41const run = await client.actor("clip-forge/instagram-post-scraper-pay-per-request").call(input);
42
43// Fetch and print Actor results from the run's dataset (if any)
44console.log('Results from dataset');
45console.log(`๐Ÿ’พ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
46const { items } = await client.dataset(run.defaultDatasetId).listItems();
47items.forEach((item) => {
48 console.dir(item);
49});
50
51// ๐Ÿ“š Want to learn more ๐Ÿ“–? Go to โ†’ https://docs.apify.com/api/client/js/docs

Instagram Post Scraper (Pay Per Request) API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Instagram Post Scraper (Pay Per Request) API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

$npm install apify-client

Other API clients include: