Instagram Scraper
Get Instagram Posts
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`. This endpoint does not currently return the media-level `fbid` field. 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.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| handlestring · required | string | required | Instagram handle |
| trimboolean · optional | boolean | optional | Set to true to get a trimmed response |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| next_max_idstring · optional | string | optional | Cursor to get next page of results. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"user": {
"type": "object",
"additionalProperties": {}
},
"items": {
"type": "array"
},
"next_max_id": {
"type": "string"
},
"num_results": {
"type": "number"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"more_available": {
"type": "boolean"
}
},
"additionalProperties": true
}