ssh.autos

Catalog / Social, content & reviews

SOCIAL, CONTENT & REVIEWS

Instagram Post (No Login): Captions, Likes & Media

Scrape public Instagram posts from any profile or post link without logging in.

PER CALL · X402 / MPP Not yet Not available per call yet. Use the Apify actor meanwhile. Ask for it per call
APIFY STORE Public actor From $0.0025 per item. Open on Apify

Input options

FieldTypeDescriptionDefault
maxItems integer Total output rows across all sources, for example 50. Post links are collected before profiles. A large value is a cap, not a guarantee of available history. 20
maxPagesPerProfile integer Bound profile history collection; for example 20 pages of up to 12 items each. Collection can stop earlier when Instagram stops serving public items. 20
maxPostsPerProfile integer Optional cap on rows from each profile, so one busy account cannot use up the whole run. For example 25. Does not limit post links.
mediaTypes array Keep selected types, for example image and carousel. Leave empty to include all post types, including reels. Video means non-reel video.
postUrls array Individual public post or reel links, for example https://www.instagram.com/p/DeTUk4sDSp-/. Post links are always collected first, then profiles.
publishedAfter string Optional. Keep posts published on or after this UTC date: an exact date such as 2026-10-01, an ISO timestamp, or a relative window such as 7 days, 24 hours, 2 weeks or 3 months. Profile collection stops once it reaches older posts; pinned posts are checked individually. Posts without a public date are skipped.
usernames array Profile usernames or links, for example nasa or https://www.instagram.com/nasa/. Collects their public posts, newest first after any pinned posts.

Output schema

FieldTypeDescription
altText string, null Instagram's accessibility caption for the post.
caption string, null
carouselChildren array
coauthors array, null Collaborator accounts on a collab post, excluding the owner; null when not shown.
commentsCount number, null
detailsAvailable boolean
displayUrl string, null Largest public image of the post (cover image for videos and carousels).
hashtags array
height integer, null Original media height in pixels.
id string
imageUrls array One URL per distinct image: the largest version of the post image, or of each carousel item.
inputUrl string, null
isPinned boolean, null True when the post is pinned at the top of the profile grid; null for individual post links.
likesCount number, null Public like count; null when the owner hides likes.
locationName string, null
mentions array Usernames mentioned in the caption, lower-case, without trailing punctuation.
ownerFullName string, null Display name of the posting account, when shown.
ownerId string, null
ownerUsername string, null
scrapedAt string, null
shortcode string
taggedUsers array, null Accounts tagged in the post; null when Instagram does not show tags.
timestamp string, null
type
url string
videoDurationSeconds number, null Video length for videos and reels; null for images and carousels.
videoUrls array
width integer, null Original media width in pixels.

About this data

Scrape public Instagram posts from any profile or post link without logging in. Get captions, hashtags, likes, comments, dates, carousel images and video URLs, with deep post history per profile. Export to JSON, CSV or Excel.

Run it on Apify

This data source is a public actor on the Apify Store: Instagram Post Scraper (No Login): Captions, Likes & Media. Run it with your Apify account and plan for larger, scheduled or exported runs.

Run command

# MCP prompt for Claude/Cursor/Muse
Use the Apify connector to run automatic/instagram-post-scraper with the input schema defined on Apify.

# Apify CLI / curl
apify call automatic/instagram-post-scraper -i '{"maxItems":{"default":20,"description":"Total output rows across all sources, for example 50. Post links are collected before profiles. A large value is a cap, not a guarantee of available history.","editor":"number","maximum":10000,"minimum":1,"prefill":10,"title":"Maximum posts","type":"integer"},"maxPagesPerProfile":{"default":20,"description":"Bound profile history collection; for example 20 pages of up to 12 items each. Collection can stop earlier when Instagram stops serving public items.","editor":"number","maximum":100,"minimum":1,"prefill":20,"sectionCaption":"Advanced options","title":"Maximum pages per profile","type":"integer"},"maxPostsPerProfile":{"description":"Optional cap on rows from each profile, so one busy account cannot use up the whole run. For example 25. Does not limit post links.","editor":"number","maximum":10000,"minimum":1,"title":"Maximum posts per profile","type":"integer"},"mediaTypes":{"description":"Keep selected types, for example image and carousel. Leave empty to include all post types, including reels. Video means non-reel video.","editor":"select","items":{"enum":["image","video","carousel","reel"],"type":"string"},"maxItems":100,"title":"Media types","type":"array"},"postUrls":{"description":"Individual public post or reel links, for example https://www.instagram.com/p/DeTUk4sDSp-/. Post links are always collected first, then profiles.","editor":"stringList","items":{"maxLength":2048,"type":"string"},"maxItems":100,"title":"Post URLs","type":"array"},"publishedAfter":{"description":"Optional. Keep posts published on or after this UTC date: an exact date such as 2026-10-01, an ISO timestamp, or a relative window such as 7 days, 24 hours, 2 weeks or 3 months. Profile collection stops once it reaches older posts; pinned posts are checked individually. Posts without a public date are skipped.","editor":"textfield","maxLength":64,"title":"Published on or after","type":"string"},"usernames":{"description":"Profile usernames or links, for example nasa or https://www.instagram.com/nasa/. Collects their public posts, newest first after any pinned posts.","editor":"stringList","items":{"maxLength":2048,"type":"string"},"maxItems":100,"prefill":["nasa"],"title":"Usernames or profile URLs","type":"array"}}'

Open on Apify

Machine-readable: openapi.json · llms.txt

Some links to Apify are affiliate links. We may earn a commission if you sign up and become a paying customer.