actions, forEach or an AI instruction. Those URLs use the normal browser flow.
Page types
Links work as you copy them, including share links with
?igsh= and post links that have the username in front (instagram.com/nasa/p/...).
Fields you get
Every field is optional on Instagram’s side, so a missing value comes back asnull or an empty list, never a guess.
A few notes on coverage:
recentPostsholds the 12 posts Instagram shows on the profile. Instagram shows older posts only to signed-in members, so to read a specific older post, send its link.topCommentsholds the comments Instagram includes with the post, usually about 10. The full comment thread needs a signed-in member.musicappears on reels that use a track.carousellists each image or video of a multi-image post.- Instagram doesn’t show business email addresses, phone numbers or categories to visitors who aren’t signed in, so profiles don’t include them.
What comes back
output: "json"with nopromptorschema: the structured data as is. No AI is used, so the cost is the base credit only.output: "markdown": the whole page as markdown, followed by the structured data.- With a
promptorschema: the AI reads a compact copy of the structured data instead of the whole page. A profile with a four-field schema cost 3 credits in testing.
Limits you should know about
- Signed-in pages are refused. Followers and following lists, stories, search, explore and messages need a signed-in member. Those requests fail straight away with a message and are not charged.
- Private accounts keep their posts for followers, so
recentPostscomes back empty for them. - A profile Instagram won’t show fails with a message and is not charged. Instagram answers a missing account and a restricted one the same way, so the message can’t say which it was.
- A deleted post fails with a message and is not charged.
Check Instagram’s terms and the data protection laws that apply to you before you scrape it. Profiles contain personal data, which laws such as GDPR protect even when it is public. You are responsible for how you use the data you collect. Spidra is not affiliated with Instagram or Meta.

