Returns a paginated list of a Instagram creator's posts from the persisted database, each with its publish time, caption and engagement counters. Ideal for building performance timelines or picking representative content.
GET
/api/v1/instagram/user/mediasQuota usage: Each successful request to this endpoint deducts 1 quota units from your plan.
Request Parameters
Required Parameters
| Name | In | Type | Description |
|---|---|---|---|
username | query | string | username example: nike |
Optional Parameters
| Name | In | Type | Description |
|---|---|---|---|
publish_at_start | query | string | Publish time from example: 2025-01-01 |
publish_at_end | query | string | Publish time to example: 2025-01-31 |
media_code | query | string | Post code example: DFdDk_eRYU3 |
media_type | query | string | Post type (video, sidecar = carousel, image = single image) example: video |
is_paid | query | string | Sponsored post (1 = yes) example: 1 |
sort_by | query | string | Sort field (publish_at, like_count, engagement_rate) example: publish_at |
sort_order | query | string | Sort direction (asc, desc), default desc example: desc |
page | query | integer | Page number |
page_size | query | integer | Page size |
Response Fields
| Name | Type | Description |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.items | array<object> | Items |
data.total | integer | Total |
data.page | integer | Page |
data.page_size | integer | Page Size |
data.total_pages | integer | Total Pages |
Try It
https://openapi.scdata.cc/api/v1/instagram/user/medias
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard
Query Params
username*publish_at_startpublish_at_endmedia_codemedia_typeis_paidsort_bysort_orderpagepage_sizecURL Example
bash
curl -X GET "https://openapi.scdata.cc/api/v1/instagram/user/medias?username=nike" \-H "Authorization: YOUR_API_KEY"
Response Example (200 application/json)
json
{"success": true,"code": 200,"message": "Request successful","data": {"items": [{"media_code": "DKruTaYRac_","media_url": "https://www.instagram.com/p/DKruTaYRac_/","description": "The future of tennis is in good hands.","cover_url": "https://img.scrumball.cn/instagram/Fpr2ndmGyZJECypIFBKcbklDFT3B?imageView2/2/w/300","publish_at": "2025-06-09 22:20:35","like_count": 144865,"comment_count": 376,"view_count": 0,"media_type": "sidecar","engagement_rate": "0.05","media_username": "nike","media_user_url": "https://www.instagram.com/nike/","media_user_follower_count": 300572085,"last_update_at": "2025-06-10 09:32:48"}],"total": 765,"page": 1,"page_size": 1,"total_pages": 765}}
Use Cases
- Content performance review — Compare engagement across a creator's latest posts to see which formats and topics resonate with their audience.
- Brand-safety screening — Scan recent captions and topics before a partnership to make sure the creator's content fits the brand.