Media
One row per published media of the account: type, permalink, caption, like and comment counts.
dateFrom and dateTo filter by media_timestamp (inclusive days, YYYY-MM-DD).
Rows are sorted by media_timestamp, media_id, integration_id, inserted_at and paginated with page/limit; meta.hasNextPage says whether another page exists.
Responses are cached for 30 minutes.
ClientIdAuthClientSecretAuthx-client-id<token>Client ID
x-client-secret<token>Client secret
organizationId*stringOrganization that owns the connected accounts.
uuidintegrationId?stringOne connected account of this integration (integration_id of the rows). Omit it to read every account of the organization.
length <= 255dateFrom?stringFirst day (inclusive) of media_timestamp, YYYY-MM-DD.
datedateTo?stringLast day (inclusive) of media_timestamp, YYYY-MM-DD. Must not be before dateFrom.
datepage?integerPage number, starting at 1.
1 <= value <= 10000001limit?integerRows per page (max 5000).
1 <= value <= 5000500One page of rows
application/json- response
data*array<>meta*curl -X GET "https://example.com/v1/instagram-insights/media?organizationId=3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b&dateFrom=2026-10-01&dateTo=2026-10-31"{ "data": [ { "organization_id": "3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b", "integration_id": "17841400000000000", "user_id": "123456", "document_id": "123456", "integration_name": "example", "media_id": "123456", "ig_id": "123456", "media_timestamp": "2026-10-01T12:00:00.000Z", "caption": "example", "media_type": "example", "media_product_type": "example", "permalink": "example", "shortcode": "example", "media_url": "example", "thumbnail_url": "example", "like_count": "1250", "comments_count": "1250", "inserted_at": "2026-10-01T12:00:00.000Z" } ], "meta": { "page": 1, "limit": 500, "hasNextPage": false, "hasPreviousPage": false }}