Scraper API
Instagraminstagram.postAvailable
Instagram post
Its caption, hashtags, like and comment counts, publication time, owner, and its photos and videos.
Give it an Instagram post's or reel's address, or its short code.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2
- Record
- 21 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/instagram.post/runs
sent, and answered
a record of the run21 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 21 fields are set down here; the whole record is below.

What it is used for
- Measure a post
- A public post's likes and comments, with its caption, hashtags, mentions, location and media.
- Report on a paid post
- Read the posts of a campaign by address and put the figures in one table.
coauthorsnames the accounts it was posted with. - Collect what was said
- Keep the caption, the hashtags and the accounts mentioned for the posts about your brand.
What you send
An Instagram post's or reel's address, or its short code. These are its 2 inputs, as its schema has them.
urlstring One of the two- The post's or reel's address, e.g. https://www.instagram.com/p/C0xFHGOrBN7/ or https://www.instagram.com/reel/<shortcode>/.
shortcodestring One of the two- The post's short code instead: the part of its address after /p/ or /reel/.
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/instagram.post/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://www.instagram.com/p/Df5ASbnCINp/"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("instagram.post", {
"url": "https://www.instagram.com/p/Df5ASbnCINp/",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("instagram.post", {
url: "https://www.instagram.com/p/Df5ASbnCINp/",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "instagram.post", map[string]any{"url": "https://www.instagram.com/p/Df5ASbnCINp/"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("instagram.post", Map.of("url", "https://www.instagram.com/p/Df5ASbnCINp/"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run instagram.post --input url=https://www.instagram.com/p/Df5ASbnCINp/Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Its caption, hashtags, like and comment counts, publication time, owner, and its photos and videos. A record has 21 fields. One we could not read is null, never an empty string or a zero.
{
"shortcode": "Df5ASbnCINp",
"url": "https://www.instagram.com/p/Df5ASbnCINp/",
"post_id": "4033256207883469673",
"type": "carousel",
"is_reel": false,
"caption": "Have you ever seen a bumblebee nest taking shape? In this image from our Pictures of the Year 2026, Nat Geo photographer Anand Varma photographed three common eastern bumblebees crawling around irregular beeswax cells, which colonies build … [truncated]",
"hashtags": [],
"mentions": [],
"taken_at": "2026-11-18T17:07:08Z",
"like_count": 4909,
"comment_count": 25,
"likes_hidden": false,
"owner_username": "natgeo",
"owner_full_name": "National Geographic",
"owner_id": "787132",
"owner_verified": true,
"coauthors": [],
"location_name": null,
"audio_title": null,
"media": [
{
"type": "photo",
"image_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/917538203_18720622468019133_1319102811738277293_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAzMzI1NjA3ODA5NjU5MDA5MQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMjA0OC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=qDFSyRYonsgQ7kNvwEqhHQb&_nc_oc=AdqnblPhiJyfDuooCZ6WcaI3-S2HvVVv2gR1FH2R2dApMvjgSlRRsCIQRhzKk_zS33Q&_nc_zt=23&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_gid=hv9y1U_g5fO44TXxh59qwA&_nc_ss=79689&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQS1IBE6eQ1bZNxoNxZGB0xzUflpgGHlwfBbOJZTK6GVJw&oe=6B03D754",
"video_url": null,
"width": 2048,
"height": 1488,
"alt_text": "Photo by National Geographic on November 18, 2026. May be an image of goldfish, paper weight, display case and text."
},
{
"type": "photo",
"image_url": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/910548122_18720622483019133_5794070247493813873_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=1&ig_cache_key=NDAzMzI1NjA4MjcwMTk0NzkxNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuNDA5Ni5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=DbS2X0e-5w0Q7kNvwHmTGXC&_nc_oc=AdrhHFlCjzeefHHXXqXvaaPo8SeUXbBKEjbKH4RwVjH-GD18NUcwjGWAg-a5zZKUX64&_nc_zt=23&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_gid=hv9y1U_g5fO44TXxh59qwA&_nc_ss=79689&_nc_ct=RQosPBUIFQIlBAAAAA&oh=00_AQRPpRFw_XPCFXXzVBDBj_VgfG0GHMfAIWV0VJz7NAO55g&oe=6B03ABB3",
"video_url": null,
"width": 4096,
"height": 2977,
"alt_text": "Photo by National Geographic on November 18, 2026. May be a graphic of fish, poster and text."
}
],
"fetched_at": "2026-11-19T18:07:40.833590Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: caption: 663 characters, the first 239 shown.
The fields of a record
shortcodestring- The post's short code: the part of its address after /p/ or /reel/.
urlstring- The post's address.
post_idstring or null- Instagram's numeric id of the post.
typestring- photo, video (a reel or a video post) or carousel (several photos or videos).
is_reelboolean or null- True when the post is a reel.
captionstring or null- The caption, as written; null when the post has none.
hashtagslist of strings- The hashtags written in the caption, without the #, in order.
mentionslist of strings- The handles written in the caption, without the @, in order.
taken_atdatetime or null- When the post was published, in UTC.
like_countinteger or null- Number of likes; null when the account hides like counts on this post.
comment_countinteger or null- Number of comments.
likes_hiddenboolean or null- True when the account hides like and view counts on this post.
owner_usernamestring or null- The handle of the account that published the post.
owner_full_namestring or null- That account's display name.
owner_idstring or null- Instagram's numeric id of that account.
owner_verifiedboolean or null- True when that account carries the verified badge.
coauthorslist of strings- The handles of the accounts the post is shared with as co-authors.
location_namestring or null- The place the post is tagged with, when it is tagged with one.
audio_titlestring or null- The title of a reel's audio, e.g. "Original audio" or a song's name.
medialist of objects- The post's photos and videos, in order: one for a photo or a video, several for a carousel.Each holds
type,image_url,video_url,width,height,alt_text. fetched_atdatetime- When the post's page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- Comments and the list of people who liked the post are not read.
- A post Instagram shows only to signed-in visitors ends as unsupported, with the reason login_required, and costs nothing.
Questions
What does Instagram post return?
Its caption, hashtags, like and comment counts, publication time, owner, and its photos and videos. A record has 21 fields, among them shortcode, url, post_id, type, is_reel and caption. A value that could not be read is null, never an empty string or a zero.
What do I send?
An Instagram post's or reel's address, or its short code. Of url and shortcode, send one of the two.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
What does it not do?
Comments and the list of people who liked the post are not read. A post Instagram shows only to signed-in visitors ends as unsupported, with the reason login_required, and costs nothing.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id instagram.post and the same input. It costs what the same API call costs.
Public Instagram accounts and their posts, as a visitor who is not signed in sees them.
Instagram profile
instagram.profileAn Instagram account's handle, or its profile address. Its names, bio, links, verified badge, follower, following and post counts, and its most recent posts.
Instagram reels of an account
instagram.reelsAn Instagram account's handle, or its profile address. The reels on its reels tab, in order: each reel's address with its play, like and comment counts.
- Industry
- Social and video
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.