Posts
instagram_postsFetch a public Instagram user's paginated posts, including reels, photos, videos, and carousels, with captions, likes, comments, and media URLs.
Instructions
Returns a paginated feed of a user's public Instagram posts, including reels, photos, videos, and carousels. Each item includes media type, shortcode, caption text, like count, comment count, play count, video URLs, image URLs, tagged users, and the published time in items[].created_at as an ISO 8601 UTC date. The original Unix timestamp remains available in items[].taken_at. Play counts reflect Instagram-only views and exclude cross-posted Facebook views. Supports cursor-based pagination via next_max_id for scrolling through the full timeline.
Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | Set to true to get a trimmed response | |
| handle | Yes | Instagram handle | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| next_max_id | No | Cursor to get next page of results. |