Instagram Post Info by Shortcode

https://api.sandbase.ai/v1/api/instagram/v3/post-info-by-code

Retrieves detailed post information and media items for an Instagram post using its shortcode. Provides carousel media details, accessibility captions, and post identifiers.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
Post shortcode (e.g., DUajw4YkorV, required)
OutputExample
Responseoutputs · 49.1 KB · 823 lines
[
  {
    "data": {
      "_rid": "18909d626f419",
      "auto_load_more_enabled": false,
      "items": [
        {
          "accessibility_caption": "Photo by Gigi on February 06, 2026.",
          "all_previous_submitters": [],
          "boost_unavailable_identifier": null,
          "boost_unavailable_reason": null,
          "boost_unavailable_reason_v2": null,
          "can_modify_carousel": false,
          "can_see_insights_as_brand": false,
          "can_view_more_preview_comments": false,
          "can_viewer_reshare": true,
          "can_viewer_save": true,
          "caption": {
            "bit_flags": 0,
            "content_type": "comment",
            "created_at": 1770377722,
            "created_at_utc": 1770377722,
            "did_report_as_spam": false,
            "is_covered": false,
            "is_ranked_comment": false,
            "media_id": "3826528124109228757",
            "pk": "18066362081641928",
            "private_reply_status": 0,
            "share_enabled": false,
            "status": "Active",
            "strong_id__": "18066362081641928",
            "text": "breeze breeze breeze 🌀🌀🌀",
            "type": 1,
            "user": {
              "fbid_v2": "17841464450204076",
              "full_name": "Gigi",
              "id": "64352612340",
              "is_private": false,
              "is_unpublished": false,
              "is_verified": false,
              "pk": "64352612340",
              "pk_id": "64352612340",
              "profile_pic_id": "3946880307500807853_64352612340",
              "profile_pic_url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-19/754250350_17963106291148341_7483633330144180762_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42NTkuYzIifQ&_nc_ht=instagram.flas1-1.fna.fbcdn.net&_nc_cat=109&_nc_oc=Q6cZ2gGS4yy-2SAvjjDs6JkhMg-wdG9vkCtyPfoiGrEfQ8TqvWTuirRhjiMKwQ2Be6Tslfs&_nc_ohc=SyAuLgQwxYAQ7kNvwEkgqZk&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&edm=ALQROFkBAAAA&ccb=7-5&oh=00_AQPMmiNJv3Kl1ABAw_9CBby8jSUHV9Mq269fHCS_vp69ew&oe=6ACAC23F&_nc_sid=fc8dfb",
              "strong_id__": "64352612340",
              "username": "hiyroze"
            },
            "user_id": "64352612340"
          },
          "caption_is_edited": false,
          "carousel_media": [
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",
              "commerciality_status": "not_commercial",
              "creative_config": null,
              "explore_pivot_grid": false,
              "fb_user_tags": {
                "in": []
              },
              "featured_products": [],
              "id": "3826527467373490175_64352612340",
              "image_versions2": {
                "candidates": [
                  {
                    "estimated_scans_sizes": [],
                    "height": 1440,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/627237673_17936467476148341_7378962714631806216_n.jpg?stp=dst-jpg_e35_p1080x1080_tt6&_nc_cat=111&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ2NzM3MzQ5MDE3NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=MJc_en0nB9oQ7kNvwEE-Mh3&_nc_oc=AdpAO5Lv8KQ2QUw-snHCj-5ya6p4s2D7w-wzk25S-hc_o7vaQvgY8CwfqGmpubPZJr0&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQNbyTO61cf0Hz8GMf7rUyds1NHm8oPhALa7nGZ24rWwJQ&oe=6ACAC720",
                    "width": 1080
                  },
                  {
                    "estimated_scans_sizes": [],
                    "height": 480,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/627237673_17936467476148341_7378962714631806216_n.jpg?stp=dst-jpg_e35_s480x480_tt6&_nc_cat=111&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ2NzM3MzQ5MDE3NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=MJc_en0nB9oQ7kNvwEE-Mh3&_nc_oc=AdpAO5Lv8KQ2QUw-snHCj-5ya6p4s2D7w-wzk25S-hc_o7vaQvgY8CwfqGmpubPZJr0&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQOKVVtZmaaI5nYGple1QSOGC_cuXy15gkEsKkYGto4mMw&oe=6ACAC720",
                    "width": 360
                  }
                ]
              },
              "media_overlay_info": null,
              "media_type": 1,
              "original_height": 1920,
              "original_width": 1440,
              "pk": "3826527467373490175",
              "product_suggestions": [],
              "product_type": "carousel_item",
              "sharing_friction_info": {
                "bloks_app_url": null,
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "shop_routing_user_id": null,
              "strong_id__": "3826527467373490175_64352612340",
              "taken_at": 1770377719,
              "tappable_elements": []
            },
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",
              "commerciality_status": "not_commercial",
              "creative_config": null,
              "explore_pivot_grid": false,
              "fb_user_tags": {
                "in": []
              },
              "featured_products": [],
              "id": "3826527480602347118_64352612340",
              "image_versions2": {
                "candidates": [
                  {
                    "estimated_scans_sizes": [],
                    "height": 1440,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/625621111_17936467494148341_1630710145605222640_n.jpg?stp=dst-jpg_e35_p1080x1080_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4MDYwMjM0NzExOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=JBsxb7Ms9_0Q7kNvwFtLS9j&_nc_oc=AdoivouTTKuNoHUcYO4IEhM5ZjUSWnBEsulM91Dl92ef235xIl3yvCls41MIdVCZosY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQN04mig17U-Py0qztShA3LGp6tfX5MgCvHRszw2RcNSlg&oe=6ACACACE",
                    "width": 1080
                  },
                  {
                    "estimated_scans_sizes": [],
                    "height": 480,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/625621111_17936467494148341_1630710145605222640_n.jpg?stp=dst-jpg_e35_s480x480_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4MDYwMjM0NzExOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=JBsxb7Ms9_0Q7kNvwFtLS9j&_nc_oc=AdoivouTTKuNoHUcYO4IEhM5ZjUSWnBEsulM91Dl92ef235xIl3yvCls41MIdVCZosY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQNS1U02JIfamG8N0RMHa_bAm_12Pql-aNinumc8oH0BwQ&oe=6ACACACE",
                    "width": 360
                  }
                ]
              },
              "media_overlay_info": null,
              "media_type": 1,
              "original_height": 1920,
              "original_width": 1440,
              "pk": "3826527480602347118",
              "product_suggestions": [],
              "product_type": "carousel_item",
              "sharing_friction_info": {
                "bloks_app_url": null,
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "shop_routing_user_id": null,
              "strong_id__": "3826527480602347118_64352612340",
              "taken_at": 1770377719,
              "tappable_elements": []
            },
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",
              "commerciality_status": "not_commercial",
              "creative_config": null,
              "explore_pivot_grid": false,
              "fb_user_tags": {
                "in": []
              },
              "featured_products": [],
              "id": "3826527483555113639_64352612340",
              "image_versions2": {
                "candidates": [
                  {
                    "estimated_scans_sizes": [],
                    "height": 1440,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-15/625981728_17936467509148341_2880925622845885270_n.jpg?stp=dst-jpg_e35_p1080x1080_tt6&_nc_cat=107&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4MzU1NTExMzYzOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=4Ya28dlG3SQQ7kNvwGm9iSd&_nc_oc=AdoXg0a2KyA3WNQNAIQq3mW6EMWSVsfA7nSP-RaanZooRFQzUDr_6wzUjKzecW29O9s&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-1.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQN9vBYFEaTTb6xeWPjS3-PcVt1tXaho5QWiOzfyWN6VKg&oe=6ACAC6E6",
                    "width": 1080
                  },
                  {
                    "estimated_scans_sizes": [],
                    "height": 480,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-15/625981728_17936467509148341_2880925622845885270_n.jpg?stp=dst-jpg_e35_s480x480_tt6&_nc_cat=107&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4MzU1NTExMzYzOQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=4Ya28dlG3SQQ7kNvwGm9iSd&_nc_oc=AdoXg0a2KyA3WNQNAIQq3mW6EMWSVsfA7nSP-RaanZooRFQzUDr_6wzUjKzecW29O9s&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-1.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQOHE7jq7QrH_XjsOBQmqI-FCCSyy3xAv_q4cykdd8Br_w&oe=6ACAC6E6",
                    "width": 360
                  }
                ]
              },
              "media_overlay_info": null,
              "media_type": 1,
              "original_height": 1920,
              "original_width": 1440,
              "pk": "3826527483555113639",
              "product_suggestions": [],
              "product_type": "carousel_item",
              "sharing_friction_info": {
                "bloks_app_url": null,
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "shop_routing_user_id": null,
              "strong_id__": "3826527483555113639_64352612340",
              "taken_at": 1770377719,
              "tappable_elements": []
            },
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",
              "commerciality_status": "not_commercial",
              "creative_config": null,
              "explore_pivot_grid": false,
              "fb_user_tags": {
                "in": []
              },
              "featured_products": [],
              "id": "3826527485501276727_64352612340",
              "image_versions2": {
                "candidates": [
                  {
                    "estimated_scans_sizes": [],
                    "height": 1440,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/626687221_17936467524148341_949362063027344098_n.jpg?stp=dst-jpg_e35_p1080x1080_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4NTUwMTI3NjcyNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=1AnQA4Y7zEMQ7kNvwHz0fSJ&_nc_oc=AdquviCh9-oqZhv8XTHGvtoenq9e2s89PFjgrKyorjMpJn2PBaXtUajZBdgbjgVD8FY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQNFA7jo7BT70-4lB0OsS-qzSzrpEJw3KdoyX-U8VcR6aw&oe=6ACABF05",
                    "width": 1080
                  },
                  {
                    "estimated_scans_sizes": [],
                    "height": 480,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/626687221_17936467524148341_949362063027344098_n.jpg?stp=dst-jpg_e35_s480x480_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4NTUwMTI3NjcyNw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=1AnQA4Y7zEMQ7kNvwHz0fSJ&_nc_oc=AdquviCh9-oqZhv8XTHGvtoenq9e2s89PFjgrKyorjMpJn2PBaXtUajZBdgbjgVD8FY&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQMG7UQwJ5Uv7Mcxlari6y8CH2kl8K3VYx5iA8Djdk5HTg&oe=6ACABF05",
                    "width": 360
                  }
                ]
              },
              "media_overlay_info": null,
              "media_type": 1,
              "original_height": 1920,
              "original_width": 1440,
              "pk": "3826527485501276727",
              "product_suggestions": [],
              "product_type": "carousel_item",
              "sharing_friction_info": {
                "bloks_app_url": null,
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "shop_routing_user_id": null,
              "strong_id__": "3826527485501276727_64352612340",
              "taken_at": 1770377719,
              "tappable_elements": []
            },
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",
              "commerciality_status": "not_commercial",
              "creative_config": null,
              "explore_pivot_grid": false,
              "fb_user_tags": {
                "in": []
              },
              "featured_products": [],
              "id": "3826527489838154618_64352612340",
              "image_versions2": {
                "candidates": [
                  {
                    "estimated_scans_sizes": [],
                    "height": 1440,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/625877696_17936467533148341_593673839342597355_n.jpg?stp=dst-jpg_e35_p1080x1080_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4OTgzODE1NDYxOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=dEgIbbeeOXgQ7kNvwEUpyyq&_nc_oc=AdqEvywVFS3bbqRJQazAqDPAEePlaDn0dADtMY2OapBdNUiY1OkeAB9MthzCCnCgE9Q&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQMLDGWPb0FratqT2wKVdiPmMYtaWoHPJ05agMQUfkvhOg&oe=6ACAB488",
                    "width": 1080
                  },
                  {
                    "estimated_scans_sizes": [],
                    "height": 480,
                    "is_spatial_image": false,
                    "scans_profile": null,
                    "url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-15/625877696_17936467533148341_593673839342597355_n.jpg?stp=dst-jpg_e35_s480x480_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ig_cache_key=MzgyNjUyNzQ4OTgzODE1NDYxOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=dEgIbbeeOXgQ7kNvwEUpyyq&_nc_oc=AdqEvywVFS3bbqRJQazAqDPAEePlaDn0dADtMY2OapBdNUiY1OkeAB9MthzCCnCgE9Q&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=instagram.flas1-2.fna&_nc_gid=_AZbmXbl-BvTgnOlCeZGDg&_nc_ss=7a22e&oh=00_AQMhjp4uCE_HlF1jXJ0alTTMiti4Rk_5oAH6nPNIFsaq1Q&oe=6ACAB488",
                    "width": 360
                  }
                ]
              },
              "media_overlay_info": null,
              "media_type": 1,
              "original_height": 1920,
              "original_width": 1440,
              "pk": "3826527489838154618",
              "product_suggestions": [],
              "product_type": "carousel_item",
              "sharing_friction_info": {
                "bloks_app_url": null,
                "sharing_friction_payload": null,
                "should_have_sharing_friction": false
              },
              "shop_routing_user_id": null,
              "strong_id__": "3826527489838154618_64352612340",
              "taken_at": 1770377719,
              "tappable_elements": []
            },
            {
              "accessibility_caption": "Photo by Gigi on February 06, 2026.",
              "caption": null,
              "carousel_parent_id": "3826528124109228757_64352612340",

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

code
string · required

Access

Provider
Instagram
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/instagram/v3/post-info-by-code
Authentication
Bearer API key

API README

Instagram Post Info by Shortcode API

Query detailed Instagram post data by supplying the post shortcode in the code parameter. The response returns post items including carousel elements and accessibility details.

Use cases

  • Inspect carousel items and media assets associated with an Instagram post.
  • Extract post accessibility captions and metadata for analytics.
  • Retrieve specific post data using known shortcodes from Instagram URLs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-info-by-code" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "DUajw4YkorV"}'

Parameters

NameTypeRequiredDescription
codestringYesPost shortcode (e.g., DUajw4YkorV, required)

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "items": [
    {
      "carousel_media": [
        {
          "accessibility_caption": "Photo by Gigi on February 06, 2026.",
          "carousel_parent_id": "3826528124109228757_64352612340",
          "commerciality_status": "not_commercial",
          "id": "3826527467373490175_64352612340",
          "media_type": 1,
          "product_type": "carousel_item"
        }
      ]
    }
  ]
}

Notes

  • The code parameter accepts an Instagram post shortcode, such as DUajw4YkorV.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/instagram/v3/post-info-by-code
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-info-by-code" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "code": "DUajw4YkorV"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.003 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram Post Info by Shortcode API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v3/post-info-by-code with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Instagram Post Info by Shortcode API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Instagram Post Info by Shortcode API accept?

Required: code (string). The Parameters table and the Playground on this page list every field.

What does the Instagram Post Info by Shortcode API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Instagram developer account or API key?

No. Instagram Post Info by Shortcode runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.