MCP + API · kestrel/instagram-post-details

Instagram Posts - Captions, Likes & Reels

Read public Instagram posts and reels by post URL. One row per post: caption, author, date, likes, comment count, media type and hashtags. Filter caption text, dates, media types or likes; skip saved IDs or hashes for monitoring. URL lookup only; no profile feeds, comments or downloads.

Open Actor Download MCP config

Connect this tool

Add this URL as a remote MCP server in your client, then sign in to Apify. For a client-specific setup, use Apify's configurator.

https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/instagram-post-details
Generic MCP client configuration
{
  "mcpServers": {
    "kestrel-instagram-post-details": {
      "url": "https://mcp.apify.com?tools=call-actor,fetch-actor-details,kestrel/instagram-post-details"
    }
  }
}

Understand the output before you run

Declared dataset fields and row types · Output locations and dataset links

Use the declared dataset schema for item fields; the output schema describes where results are stored. Optional fields may be null or absent. If an integration shows a sampled schema without an optional field, check this declaration, the Actor instructions and actual returned rows before concluding that the field is unsupported.

Inspect 23 declared output fields
FieldTypeMeaning
idstring / null
typestring / null
platformstring / null
shortcodestring / null
titlestring / null
textstring / null
urlstring / null
author_usernamestring / null
author_namestring / null
author_verifiedboolean / null
published_atstring / null
media_typestring / null
likesnumber / null
commentsnumber / null
viewsnumber / null
slide_countnumber / null
hashtagsarray / null
mentionsarray / null
location_namestring / null
image_urlstring / null
source_urlstring / null
content_hashstring / null
fetched_atstring / null

Read an observed output example and its input, observation date and limits. These are historical source values, not a current quote or a promise of the same result.

Start with a small sample

Use call-actor with the JSON below. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Change the target to match your request. This input validates against build 1.0.4; it is not a promise that the source has matching rows today.

{
  "actor": "kestrel/instagram-post-details",
  "input": {
    "postUrls": [
      "https://www.instagram.com/p/Dfc1mYxFevS/"
    ],
    "maxResults": 3,
    "maxSources": 3
  },
  "callOptions": {
    "maxTotalChargeUsd": 0.25,
    "timeout": 300
  },
  "waitSecs": 30
}

After completion, use get-dataset-items with storages.datasets.default.id. If still running, poll get-actor-run using the returned runId. Check status rows and errors before treating an empty dataset as no matches.

Call from Python, JavaScript or REST

Python SDK 3 example · JavaScript SDK 2 example · curl + jq example. Each uses this same small input, reads APIFY_TOKEN from your environment, sets a five-minute run timeout and exports all dataset row types as JSON Lines. The $0.25 run ceiling is separate from the Actor input and may stop the sample early. Inspect the run and source status before treating results as complete. Installation and usage.

Pricing and limits

Current listed event prices in USD. Some Actors charge for successful source checks even when no output rows match. The event descriptions below define those differences.

EventUSD eachWhat is charged
source-checked$0.002One valid public source check (one post/video URL), $2 per 1,000 checks. Paid when filters, exclusions or a recognized empty response leave no rows. Failed, blocked and unavailable sources or invalid input are not charged. No start fee; proxy and compute are included. maxSources limits attempted targets. maxTotalChargeUsd is the Apify run option for a dollar cap, not an input.
post$0.002One delivered post; row keys shortcode, text, author_username, published_at, likes, comments, media_type, hashtags. $2 per 1,000 rows plus checked-source fees. Filtered, duplicate and excluded rows have no row fee. No start fee; proxy and compute are included. One valid source with one row costs $0.004. Missing values remain null; no separate fee for filters or output fields.

Contracts for agents

Public contract checked 2026-11-11. Active build: 1.0.4. Refresh live details before a large or recurring run.