curl --request GET \
--url https://api.sociavault.com/v1/scrape/instagram/posts \
--header 'X-API-Key: <api-key>'Get a public profile’s public posts. Play counts can sometimes be inaccurate Play counts are Instagram-only. When a Reel is also cross-posted to Facebook, Instagram (behind login) shows you the combined IG + FB views. But this API will only return the Instagram views.
curl --request GET \
--url https://api.sociavault.com/v1/scrape/instagram/posts \
--header 'X-API-Key: <api-key>'Instagram handle
Cursor to get next page of results.
Set to true to get a trimmed response
Successful response
Key Response Fields:
data.num_results: Number of posts returned in this pagedata.more_available: Whether more posts exist — use next_max_id to paginatedata.next_max_id: Cursor for the next page of postsdata.user.username: The queried profile's usernamedata.user.is_verified: Whether the account is verifieddata.items[0].pk: Unique post IDdata.items[0].code: Post shortcode (used in the URL as instagram.com/p/{code})data.items[0].play_count: View/play count for reels and videosdata.items[0].video_duration: Duration of the video in secondsdata.items[0].has_audio: Whether the post has audiodata.items[0].image_versions2.candidates[0].url: Thumbnail image URLdata.items[0].video_versions[0].url: Video download URL (only present for video posts)