# Quick Instagram Posts Checker (`apify/quick-instagram-posts-checker`) Actor

Fast Instagram stats (for profiles and post only) for bulk tracking and analytics

- **URL**: https://apify.com/apify/quick-instagram-posts-checker.md
- **Developed by:** [Apify](https://apify.com/apify) (Apify)
- **Categories:** Social media, E-commerce
- **Features:** Full permissions
- **Stats:** 1,502 total users, 2 monthly users, 100.0% runs succeeded, 24 bookmarks
- **User rating**: 4.78 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

### Features

Fastest tracking of Instagram web shareable data: get stats for any public post or profile.

### Usage Costs

Around 0.02CUs per 100 posts or profiles

### Input example

```json
{
  "startUrls": [
    {
      "url": "https://www.instagram.com/kimkardashian"
    },
    {
      "url": "https://www.instagram.com/p/CrzMaNlP_3G"
    }
  ]
}
```

### Output example

```json
[{
	"url": "https://www.instagram.com/kimkardashian",
	"followers_count": 354919225,
	"full_name": "Kim Kardashian",
  "graphql_media": [],
	"has_public_story": true,
	"is_verified": true,
	"owner_id": 18428658,
	"posts_count": 5841,
	"profile_link": "https://www.instagram.com/kimkardashian/?utm_source=ig_embed&ig_rid=68ddfaca-38d1-4370-9944-a6735aacbe62",
	"profile_link_ios": "user?username=kimkardashian&utm_source=ig_embed&ig_rid=68ddfaca-38d1-4370-9944-a6735aacbe62",
	"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/314397231_636674618202803_1672434101401302981_n.jpg?stp=dst-jpg_s240x240&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=tt2XwTDfqyUAX_8kZo5&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfBMbJoMPBV9-W-dU07uQrVoP2y24YVDeZCHMauIFQiwSg&oe=6460ED1E&_nc_sid=978cb9",
	"pronouns": [],
	"type": "Profile",
	"username": "kimkardashian",
	"verified": true
},
{
	"url": "https://www.instagram.com/p/CrzMaNlP_3G",
	"shortcode_media": {
		"__typename": "GraphSidecar",
		"id": "3094871946781785542",
		"shortcode": "CrzMaNlP_3G",
		"commenter_count": 5436,
		"dimensions": {
			"height": 1346,
			"width": 1080
		},
		"display_url": "https://scontent.cdninstagram.com/v/t51.2885-15/344530446_949085502911094_8765323194692383808_n.jpg?stp=dst-jpg_e35_p1080x1080&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=KLc0jhh_kmYAX-UgDpi&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDM3LxGwtdZND5SXXTMszqpgy9pCBkmYlqKyjl5O6x-Qw&oe=646101B7&_nc_sid=978cb9",
		"display_resources": [],
		"is_video": false,
		"media_overlay_info": null,
		"owner": {
			"id": "18428658",
			"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/314397231_636674618202803_1672434101401302981_n.jpg?stp=dst-jpg_s150x150&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=tt2XwTDfqyUAX_8WJ_U&edm=APs17CUBAAAA&ccb=7-5&oh=00_AfDz_Rcpz45V97KGb5XTQZKPfPpfPg-XC1QxZpkel73Uyg&oe=6460ED1E&_nc_sid=978cb9",
			"username": "kimkardashian",
			"followed_by_viewer": false,
			"has_public_story": true,
			"is_private": false,
			"is_unpublished": false,
			"is_verified": true,
			"edge_followed_by": {
				"count": 354916592
			},
			"edge_owner_to_timeline_media": {},
			"edge_owner_to_timeline_video_media": {}
		},
		"taken_at_timestamp": 1683157507,
		"edge_media_to_caption": {
			"edges": [
				{
					"node": {
						"text": "Thank you so much u0040schiaparelli and u0040danielroseberry for making my pearly Met dreams come true. 50,000 pearls!!! And to u0040lorraineschwartz for the prettiest diamonds"
					}
				}
			]
		},
		"edge_media_to_sponsor_user": {
			"edges": []
		},
		"is_affiliate": false,
		"is_paid_partnership": false,
		"like_and_view_counts_disabled": false,
		"media_preview": null,
		"location": null,
		"edge_media_to_comment": {
			"count": 6526
		},
		"edge_liked_by": {
			"count": 1686970
		},
		"coauthor_producers": [],
		"pinned_for_users": [],
		"edge_sidecar_to_children": {
			"edges": []
		}
	}
}]
```

### How much will scraping Quick Instagram Post Checker cost you?

When it comes to scraping, it can be challenging to estimate the resources needed to extract data as use cases may vary significantly. That's why the best course of action is to run a test scrape with a small sample of input data and limited output. You’ll get your price per scrape, which you’ll then multiply by the number of scrapes you intend to do.

[Watch this video](https://www.youtube.com/watch?v=-wyz2iscZ30) for a few helpful tips. And don't forget that choosing a higher plan will save you money in the long run.

### Integrations and Quick Instagram Posts Scraper

Last but not least, Instagram Quick Posts Scraper can be connected with almost any cloud service or web app thanks to  <a href="https://apify.com/integrations"  target="_blank"> integrations on the Apify platform</a>. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, <a href="https://docs.apify.com/integrations"  target="_blank"> and more</a>. Or you can use <a href="https://docs.apify.com/integrations/webhooks"  target="_blank"> webhooks</a> to carry out an action whenever an event occurs, e.g. get a notification whenever Quick Instagram Posts Scraper successfully finishes a run.

### Using Quick Instagram Posts Checker with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the <a href="https://docs.apify.com/api/v2"  target="_blank"> Apify API reference</a> docs for full details or click on the <a href="https://apify.com/alexey/quick-instagram-posts-checker/api"  target="_blank"> API tab</a> for code examples.

### Not your cup of tea? Build your own scraper

Quick Instagram Posts Checker doesn’t exactly do what you need? You can always build your own! We have various [scraper templates](https://apify.com/templates) in Python, JavaScript, and TypeScript to get you started. Alternatively, you can write it from scratch using our [open-source library Crawlee](https://crawlee.dev/). You can keep the scraper to yourself or make it public by adding it to Apify Store (and [find users](https://blog.apify.com/make-regular-passive-income-developing-web-automation-actors-b0392278d085/) for it).

Or let us know if you need a [custom scraping solution](https://apify.com/custom-solutions).

### **Your feedback**

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Quick Instagram Posts Checker or simply found a bug, please create an issue on the Actor’s [Issues tab](https://console.apify.com/actors/kSeqiCrezHumrvHF5/issues) in Apify Console.

# Actor input Schema

## `startUrls` (type: `array`):

Only URLs to public profiles or posts expected to work, everything else will return error

## `proxy` (type: `object`):

Either use an Apify residential proxy, or provide your own proxy servers. Datacenter proxies will not work.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.instagram.com/p/CeoM7sMsLIU/"
    }
  ],
  "proxy": {
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped profile and post stats

# 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 = {
    "startUrls": [
        {
            "url": "https://www.instagram.com/p/CeoM7sMsLIU/"
        }
    ],
    "proxy": {
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("apify/quick-instagram-posts-checker").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 = {
    "startUrls": [{ "url": "https://www.instagram.com/p/CeoM7sMsLIU/" }],
    "proxy": { "apifyProxyGroups": ["RESIDENTIAL"] },
}

# Run the Actor and wait for it to finish
run = client.actor("apify/quick-instagram-posts-checker").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 '{
  "startUrls": [
    {
      "url": "https://www.instagram.com/p/CeoM7sMsLIU/"
    }
  ],
  "proxy": {
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call apify/quick-instagram-posts-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apify/quick-instagram-posts-checker"
        }
    }
}
```

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/kSeqiCrezHumrvHF5/builds/LPBp0cfwaqO7KbazH/openapi.json
