Instagram Get User Posts
PythonSocial MediaPOST api.upapi.io/instagram-get-user-posts.postGet a user's recent posts with engagement metrics. Rate-limited — use proxy rotation for bulk. No auth needed.
instagrampostsfeedscrapingsocial
AuthAPI key
Cost15 units
Timeout30s
Cache600s
Request schema
| Field | Type | Description |
|---|---|---|
count | integer | Posts per page (max 33)· default: 12 |
maxId | Pagination cursor (next_max_id from previous call)· default: null | |
userIdreq | string | Instagram user PK (numeric ID, from get-user-profile) |
proxyUrl | Optional proxy URL (recommended — endpoint rate-limits aggressively)· default: null | |
sessionCookies | JSON-serialized dict of web session cookies for authenticated reads· default: null |
Response schema
| Field | Type | Description |
|---|---|---|
postsreq | array | |
userIdreq | string | |
successreq | boolean | |
elapsedMsreq | integer | |
fetchedAtreq | string | |
nextMaxId | · default: null | |
moreAvailablereq | boolean |
Try it
Try it
Instagram user PK (numeric ID, from get-user-profile)
Posts per page (max 33)
Pagination cursor (next_max_id from previous call)
Optional proxy URL (recommended — endpoint rate-limits aggressively)
JSON-serialized dict of web session cookies for authenticated reads
Run this endpoint live
Jump in as a guest — no signup — and run instagram-get-user-posts.post with your own inputs. Create a free account anytime to get your own API key.
Code examples
curl -X POST https://api.upapi.io/instagram-get-user-posts.post \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "count": 12, "userId": "example" }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.