Scrape public Instagram posts, reels, and profile details (anonymous-only)
What it does
Pulls public Instagram data — posts, reels, and profile metadata — from pages that are visible without logging in. Returns structured results you can read in chat or in the playground output panel.
How it works
Instagram is a native connector. No Instagram account, login, or API app is required. AINexLayer reads only public, logged-out pages.
Hashtag feeds, place feeds, and comment text are login-walled on Instagram, so the scraper focuses on profiles, posts, and reels. Comment counts are returned; comment text is not.
- Chat — describe a profile, post URL, or discovery keyword. The agent runs the Instagram scraper automatically.
- API Playground — open API Playground → Instagram, pick a verb, fill in the form, and click Run.
Use in API Playground
Scrape posts and reels
- Open API Playground → Instagram → Scrape
- Provide exactly one source type:
- URLs — a profile, post (
/p/…), or reel (/reel/…) URL - Search queries — keywords that resolve to public profiles
- URLs — a profile, post (
- Set Result type to
postsorreels - Set Max items to 10 for a first run
- Click Run
Fetch profile details
- Open API Playground → Instagram → Details
- Add profile URLs or Search queries
- Set Max items to 10 for a first run
- Click Run
Useful options
| Option | What it does |
|---|---|
| Result type | Return posts or reels from a profile |
| Newer than | Only posts after a date (YYYY-MM-DD, ISO timestamp, or relative like 2 months) |
| Skip pinned posts | Exclude pinned posts when scraping a profile |
| Max per target | Max results per URL or discovered profile |
What you get back
Scrape returns media items with caption, hashtags, mentions, like and comment counts, media URLs, owner, carousel children, and location. Details returns profile metadata — follower count, post count, and bio.
Runs are billed per item returned. The price per item is shown on the Instagram card in API Playground.
