Skip to main content

Instagram: stories and tagged posts

Two reads of the Instagram account connected to a profile: the stories it has live right now, and the public posts in which other accounts tagged it. Both work with any Instagram connection.

  • Authentication: API Key — Authorization: Apikey <YOUR_API_KEY>
  • Both take profile (the profile username; user is accepted too).

Stories live now​

GET /api/uploadposts/instagram/stories?profile=my-profile

The account's stories of the last 24 hours (not live videos, and not stories it reshared): id, media_type, media_product_type, media_url, thumbnail_url, permalink, timestamp, caption. Cached for 2 minutes.

curl "https://api.upload-post.com/api/uploadposts/instagram/stories?profile=my-profile" \
-H 'Authorization: Apikey your-api-key-here'
{
"success": true,
"items": [
{
"id": "17912345678901234",
"media_type": "VIDEO",
"media_product_type": "STORY",
"media_url": "https://scontent.cdninstagram.com/...",
"thumbnail_url": "https://scontent.cdninstagram.com/...",
"permalink": "https://www.instagram.com/stories/my_brand/3501234567890123456/",
"timestamp": "2026-11-24T07:30:12+0000"
}
],
"next_cursor": null,
"cached": false
}

Posts where the account is tagged​

GET /api/uploadposts/instagram/tagged?profile=my-profile[&limit=25][&after=]

Public media in which other accounts tagged this one: id, caption, media_type, media_url, permalink, timestamp, username (who posted it), like_count, comments_count. limit 1-50 (default 25); pass next_cursor back as after for the next page. Cached for 5 minutes.

curl "https://api.upload-post.com/api/uploadposts/instagram/tagged?profile=my-profile&limit=10" \
-H 'Authorization: Apikey your-api-key-here'

For the account's own posts, use the Media List. To tag accounts in your own Reels and video Stories when you publish, use user_tags on Upload Video.

Errors​

Statuserror_codeMeaning
400invalid_parameterInvalid limit or cursor.
400instagram_reconnect_requiredReconnect Instagram.
400instagram_api_errorInstagram refused the request.
403instagram_permission_missingMeta has not granted the permission this needs.
429instagram_rate_limitedInstagram is rate limiting the account.
502instagram_upstream_errorInstagram did not answer.