Instagram Post Details (V2)

https://api.sandbase.ai/v1/api/instagram/v2/post-info

Returns detailed information for an Instagram post, including available media streams and video versions, using a post shortcode or full URL.

Price
$0.003USD / 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 or full URL
OutputExample
Responseoutputs · 29.0 KB · 502 lines
[
  {
    "data": {
      "data": {
        "accessibility_caption": null,
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_reshare": true,
        "can_save": true,
        "caption": {
          "created_at": 1764176515,
          "created_at_utc": 1764176515,
          "did_report_as_spam": false,
          "hashtags": [],
          "id": "3774507992167247878",
          "is_covered": false,
          "is_ranked_comment": false,
          "mentions": [
            "@sadiesink_",
            "@maya_hawke",
            "@strangerthingstv"
          ],
          "pk": "17844901506605283",
          "private_reply_status": 0,
          "share_enabled": false,
          "text": "@sadiesink_ (Sadie Sink) and @maya_hawke (Maya Hawke) are returning to Hawkins for one last adventure 🚲📺⁣\n ⁣\nThe duo sat down to talk about the final season of @strangerthingstv (“Stranger Things”), their fav hype songs (s/o to the “Hamilton” soundtrack) and the power of friendship in the latest Close Friends Only: Speed Round 🌟",
          "text_translation": "@sadiesink_ (Sadie Sink) and @maya_hawke (Maya Hawke) are returning to Hawkins for one last adventure 🚲📺  \n\n The duo sat down to talk about the final season of @strangerthingstv (“Stranger Things”), their fav hype songs (s/o to the “Hamilton” soundtrack) and the power of friendship in the latest Close Friends Only: Speed Round 🌟",
          "type": 1
        },
        "caption_is_edited": false,
        "clips_metadata": {
          "achievements_info": {
            "num_earned_achievements": null,
            "show_achievements": false
          },
          "additional_audio_info": {
            "additional_audio_username": null,
            "audio_reattribution_info": {
              "should_allow_restore": false
            }
          },
          "asset_recommendation_info": null,
          "audio_canonical_id": "18367181326095461",
          "audio_ranking_info": {
            "best_audio_cluster_id": "1490444716426084"
          },
          "audio_type": "original_sounds",
          "basel_template_info_for_ig_app": {
            "is_basel_template": null,
            "original_template_media_id": null,
            "should_show_reuse_setting_for_owner": false,
            "use_template_deeplink": null
          },
          "branded_content_tag_info": {
            "can_add_tag": false
          },
          "breaking_content_info": null,
          "breaking_creator_info": null,
          "challenge_info": null,
          "clips_creation_entry_point": "feed",
          "content_appreciation_info": null,
          "contextual_highlight_info": null,
          "cutout_sticker_info": [],
          "disable_use_in_clips_client_cache": false,
          "external_media_info": null,
          "featured_label": null,
          "is_fan_club_promo_video": false,
          "is_public_chat_welcome_video": false,
          "is_shared_to_fb": false,
          "mashup_info": {
            "can_toggle_mashups_allowed": false,
            "formatted_mashups_count": null,
            "has_been_mashed_up": false,
            "has_nonmimicable_additional_audio": false,
            "is_creator_requesting_mashup": false,
            "is_light_weight_check": true,
            "is_light_weight_reuse_allowed_check": false,
            "is_pivot_page_available": false,
            "is_reuse_allowed": false,
            "mashup_type": null,
            "mashups_allowed": false,
            "mashups_allowed_for_carousel": false,
            "non_privacy_filtered_mashups_media_count": 0,
            "original_media": null,
            "privacy_filtered_mashups_media_count": null
          },
          "may_have_template_info": null,
          "merchandising_pill_info": null,
          "music_info": null,
          "nux_info": null,
          "original_sound_info": {
            "allow_creator_to_rename": true,
            "attributed_custom_audio_asset_id": null,
            "audio_asset_start_time_in_ms": 0,
            "audio_filter_infos": null,
            "audio_id": "25354683684184014",
            "audio_parts": [
              {
                "audio_canonical_id": "18137429734075902",
                "audio_id": "2234111410209096",
                "audio_start_time_in_ms": 0,
                "audio_type": "licensed_music",
                "derived_content_start_time_in_composition_in_ms": 0,
                "display_artist": "Sajid-Wajid, Wajid, Amrita Kak",
                "display_title": "Tujhe Aksa Beach Ghuma Doon",
                "duration_in_ms": 30,
                "ig_artist": {
                  "full_name": "Sajid Wajid",
                  "id": "2096348837",
                  "is_private": false,
                  "is_verified": true,
                  "pk": "2096348837",
                  "profile_pic_id": "3608955314536255050",
                  "profile_pic_url": "https://scontent-arn2-1.cdninstagram.com/v/t51.2885-19/490214591_988685810079623_30752670767441087_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gHUsOHlshUK2jn65r86LzznQbTiWPZhLFTZ5ol6VLR5RF83Mn1EnaaEl4SPwdv6jUg&_nc_ohc=-12UvZLysqkQ7kNvwGOstZf&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&edm=ALQROFkBAAAA&ccb=7-5&ig_cache_key=GL8UOB2HF4FaNIMDAL-k-CBkQW0AbkULAAAB1501500j-ccb7-5&oh=00_AQP7D3GOUY6Gu5A56xxHsYqLzwjC7pOlqc3YK5sHUYAvUA&oe=6ACAD6C1&_nc_sid=fc8dfb",
                  "username": "thesajidwajid"
                },
                "is_bookmarked": false,
                "is_eligible_for_audio_effects": false,
                "is_explicit": false,
                "parent_start_time_in_ms": 0,
                "thumbnail_uri": "https://scontent-arn2-1.cdninstagram.com/v/t39.30808-6/418593727_1556263465215589_2068384793246318765_n.jpg?stp=dst-jpg_s168x128_tt6&_nc_cat=1&ccb=7-5&_nc_sid=2f2557&_nc_ohc=yznzcybHytQQ7kNvwFynKdK&_nc_oc=AdprMkmg_G41J5TDYxgn8zC4jXriG8H2vOpRKy2ujxlvT7awJpMKOhcbGDOi1NBIvkQ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7c39b&oh=00_AQOc-itWzHkevs-IFCx3QysW08A5VJ-Vy5FH218cifFKYw&oe=6ACAA361"
              }
            ],
            "audio_parts_by_filter": [
              {
                "audio_canonical_id": "18137429734075902",
                "audio_id": "2234111410209096",
                "audio_start_time_in_ms": 0,
                "audio_type": "licensed_music",
                "derived_content_start_time_in_composition_in_ms": 0,
                "display_artist": "Sajid-Wajid, Wajid, Amrita Kak",
                "display_title": "Tujhe Aksa Beach Ghuma Doon",
                "duration_in_ms": 30,
                "ig_artist": {
                  "full_name": "Sajid Wajid",
                  "id": "2096348837",
                  "is_private": false,
                  "is_verified": true,
                  "pk": "2096348837",
                  "profile_pic_id": "3608955314536255050",
                  "profile_pic_url": "https://scontent-arn2-1.cdninstagram.com/v/t51.2885-19/490214591_988685810079623_30752670767441087_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gHUsOHlshUK2jn65r86LzznQbTiWPZhLFTZ5ol6VLR5RF83Mn1EnaaEl4SPwdv6jUg&_nc_ohc=-12UvZLysqkQ7kNvwGOstZf&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&edm=ALQROFkBAAAA&ccb=7-5&ig_cache_key=GL8UOB2HF4FaNIMDAL-k-CBkQW0AbkULAAAB1501500j-ccb7-5&oh=00_AQP7D3GOUY6Gu5A56xxHsYqLzwjC7pOlqc3YK5sHUYAvUA&oe=6ACAD6C1&_nc_sid=fc8dfb",
                  "username": "thesajidwajid"
                },
                "is_bookmarked": false,
                "is_eligible_for_audio_effects": false,
                "is_explicit": false,
                "parent_start_time_in_ms": 0,
                "thumbnail_uri": "https://scontent-arn2-1.cdninstagram.com/v/t39.30808-6/418593727_1556263465215589_2068384793246318765_n.jpg?stp=dst-jpg_s168x128_tt6&_nc_cat=1&ccb=7-5&_nc_sid=2f2557&_nc_ohc=yznzcybHytQQ7kNvwFynKdK&_nc_oc=AdprMkmg_G41J5TDYxgn8zC4jXriG8H2vOpRKy2ujxlvT7awJpMKOhcbGDOi1NBIvkQ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7c39b&oh=00_AQOc-itWzHkevs-IFCx3QysW08A5VJ-Vy5FH218cifFKYw&oe=6ACAA361"
              }
            ],
            "can_remix_be_shared_to_fb": true,
            "can_remix_be_shared_to_fb_expansion": true,
            "consumption_info": {
              "display_labels": null,
              "display_labels_with_translations": null,
              "display_media_id": null,
              "inline_audio_label": null,
              "is_bookmarked": false,
              "is_trending_in_clips": false,
              "should_mute_audio_reason": "",
              "should_mute_audio_reason_type": null,
              "user_notes": null
            },
            "derived_content_start_time_in_composition_in_ms": 0,
            "duration_in_ms": 176840,
            "fb_downstream_use_xpost_metadata": {
              "downstream_use_xpost_deny_reason": "NONE"
            },
            "formatted_clips_media_count": null,
            "hide_remixing": false,
            "ig_artist": {
              "full_name": "Instagram",
              "id": "25025320",
              "is_private": false,
              "is_verified": true,
              "pk": "25025320",
              "profile_pic_id": "3725434617063385984",
              "profile_pic_url": "https://scontent-arn2-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gHUsOHlshUK2jn65r86LzznQbTiWPZhLFTZ5ol6VLR5RF83Mn1EnaaEl4SPwdv6jUg&_nc_ohc=ktjOB0w7U-YQ7kNvwEBk0X5&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&edm=ALQROFkBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&oh=00_AQPgP-3_TdW4f9XLIeoJoK4WarTFxXL_pjgYZdXVy7PxOg&oe=6ACAA3E7&_nc_sid=fc8dfb",
              "username": "instagram"
            },
            "is_audio_automatically_attributed": true,
            "is_eligible_for_audio_effects": false,
            "is_eligible_for_vinyl_sticker": true,
            "is_explicit": false,
            "is_original_audio_download_eligible": false,
            "is_reuse_disabled": false,
            "is_xpost_from_fb": false,
            "oa_owner_is_music_artist": true,
            "original_audio_subtype": "contains",
            "original_audio_title": "Original audio",
            "original_media_id": "3774507992167247878",
            "overlap_duration_in_ms": 0,
            "previous_trend_rank": null,
            "progressive_download_url": "https://scontent-arn2-1.cdninstagram.com/o1/v/t2/f2/m69/AQMdZO6Jn5ffdjM4RGN0BhtgXGDF8fMMpyYOVWDFdWe4bR99LFfpKK2r5Xv2mmdqaMRKIIJyUbeGGOwPJ3LY6MJM.mp4?strext=1&_nc_cat=106&_nc_sid=ef5aa3&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_ohc=G7X8XrHlKUYQ7kNvwHUDeTX&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuMC5wcm9ncmVzc2l2ZV9hdWRpbyIsInhwdl9hc3NldF9pZCI6NDQ3NTM0NjU4Mjc1MTQ5MSwiYXNzZXRfYWdlX2RheXMiOjMxMywidmlfdXNlY2FzZV9pZCI6MTAwOTksImR1cmF0aW9uX3MiOjE3NiwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7c3ba&_nc_zt=28&oh=00_AQMCpsJ3-wqwB1_LsWvrzUmF2xwIb3yIiml3R_nywIoxKQ&oe=6ACAAF1C",
            "should_mute_audio": false,
            "time_created": 1764176516,
            "trend_rank": null,
            "xpost_fb_creator_info": null
          },
          "originality_info": null,
          "professional_clips_upsell_type": 0,
          "reels_on_the_rise_info": null,
          "reusable_text_attribute_string": null,
          "reusable_text_info": null,
          "shopping_info": null,
          "show_achievements": false,
          "show_tips": null,
          "template_info": null,
          "viewer_interaction_settings": null
        },
        "clips_tab_pinned_user_ids": [],
        "coauthor_producer_can_see_organic_insights": false,
        "coauthor_producers": [],
        "code": "DRhvwVLAHAG",
        "collaborator_edit_eligibility": false,
        "comment_inform_treatment": {
          "action_type": null,
          "should_have_inform_treatment": false,
          "text": "",
          "url": null
        },
        "comment_likes_enabled": true,
        "comments_disabled": null,
        "community_notes_info": {
          "enable_submission_friction": false,
          "has_viewer_submitted_note": false,
          "is_eligible_for_request_a_note": true,
          "note_submission_disabled": false
        },
        "creative_config": null,
        "creator_is_in_premium_reactions_alpha": false,
        "crosspost_metadata": {
          "fb_downstream_use_xpost_metadata": {
            "downstream_use_xpost_deny_reason": "NONE"
          }
        },
        "cutout_sticker_info": [],
        "deleted_reason": 0,
        "device_timestamp": 1764176402448728,
        "disable_caption_and_comment": false,
        "eligible_insights_entrypoints": "NONE",
        "fb_user_tags": {
          "in": []
        },
        "fbid": "17844901329605283",
        "featured_products": [],
        "filter_type": 0,
        "floating_context_items": [],
        "fundraiser_tag": {
          "has_standalone_fundraiser": false
        },
        "gen_ai_detection_method": {
          "detection_method": "NONE"
        },
        "has_audio": true,
        "has_high_risk_gen_ai_inform_treatment": false,
        "has_liked": false,
        "has_privately_liked": false,
        "has_shared_to_fb": 0,
        "has_tagged_users": true,
        "has_views_fetching": true,
        "hidden_likes_string_variant": -1,
        "hide_stickers_for_original_language": false,
        "id": "3774507992167247878",
        "ig_media_sharing_disabled": false,
        "igbio_product": null,
        "image_versions": {
          "additional_items": {
            "first_frame": {
              "height": 639,
              "is_spatial_image": false,
              "url": "https://scontent-arn2-1.cdninstagram.com/v/t51.71878-15/587904613_1415817649873982_1209127805626018811_n.jpg?stp=dst-jpg_e15_p360x360_tt6&_nc_cat=101&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fYWRkaXRpb25hbF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=5XcUIxrrjIkQ7kNvwGmbkgU&_nc_oc=AdpTAZ6-rG7FR7BR0RoyyI0wBojrCdk1iiGZtkcYBNWHTLxkMMvMLV6NELBUBtCdukQ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7a3ba&oh=00_AQOC3oBH_i1wEuaeHiDtiVdRDJkeA04toMFw6L8sYAyHgw&oe=6ACAD787",
              "width": 360
            },
            "igtv_first_frame": {
              "height": 639,
              "is_spatial_image": false,
              "url": "https://scontent-arn2-1.cdninstagram.com/v/t51.71878-15/587904613_1415817649873982_1209127805626018811_n.jpg?stp=dst-jpg_e15_p360x360_tt6&_nc_cat=101&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fYWRkaXRpb25hbF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=5XcUIxrrjIkQ7kNvwGmbkgU&_nc_oc=AdpTAZ6-rG7FR7BR0RoyyI0wBojrCdk1iiGZtkcYBNWHTLxkMMvMLV6NELBUBtCdukQ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7a3ba&oh=00_AQOC3oBH_i1wEuaeHiDtiVdRDJkeA04toMFw6L8sYAyHgw&oe=6ACAD787",
              "width": 360
            },
            "smart_frame": null
          },
          "items": [
            {
              "height": 640,
              "is_spatial_image": false,
              "url": "https://scontent-arn2-1.cdninstagram.com/v/t51.82787-15/585041191_18682923367001321_6936326348487840167_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_cat=102&ig_cache_key=Mzc3NDUwNzk5MjE2NzI0Nzg3ODE4NjgyOTIzMzY0MDAxMzIx.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjM3ODAuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=dE9P5ZhEZYAQ7kNvwGFCF4u&_nc_oc=Adqv1xIpO0djZoWh1ZDWvqdYh1DDvuqV-mVwePhP8iFEBqUTrPcabIAncrc41yMwTtw&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&_nc_ss=7a3ba&oh=00_AQMmwvn7hCJRx3p47AoCOz5OSV4Oqe9cOVK04TXIWAzf9g&oe=6ACAC9DF",
              "width": 360
            }
          ],
          "scrubber_spritesheet_info_candidates": {
            "default": {
              "file_size_kb": 348,
              "max_thumbnails_per_sprite": 105,
              "rendered_width": 96,
              "sprite_height": 1232,
              "sprite_urls": [
                "https://scontent-arn2-1.cdninstagram.com/v/t51.71878-15/587817718_1417711273694208_5050610672967797627_n.jpg?_nc_ht=scontent-arn2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHUsOHlshUK2jn65r86LzznQbTiWPZhLFTZ5ol6VLR5RF83Mn1EnaaEl4SPwdv6jUg&_nc_ohc=lQNT4S9D4PcQ7kNvwHemauY&_nc_gid=JeEpZC0v3slNkGYC7oq4fA&edm=ALQROFkBAAAA&ccb=7-5&oh=00_AQNljP8bjd-2paniBEgTqi_I6-6ZDF1ewOyyuA33s8QWuA&oe=6ACAD3D1&_nc_sid=fc8dfb"

Examples

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

Model card

Specifications

Pricing

Base price
$0.003 / 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_or_url
string · required

Access

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

API README

Instagram Post Details (V2) API

Retrieve detailed Instagram post data by providing the target post shortcode or full link in code_or_url.

Use cases

  • Extract media asset URLs for a specific Instagram post.
  • Inspect post metadata using a post shortcode or direct URL.
  • Verify video versions and source links for Instagram content.

Request

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

Parameters

NameTypeRequiredDescription
code_or_urlstringYesPost shortcode or full URL

Example response

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

{
  "data": {
    "video_versions": [
      {
        "id": "1961917128003357v",
        "type": 101,
        "url": "https://scontent-arn2-1.cdninstagram.com/o1/v/t2/f2/m86/AQM5-tU7kYwNnMkDKY2gOnuG…"
      }
    ]
  }
}

Notes

  • Accepts either a post shortcode or a complete URL in code_or_url.

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/v2/post-info
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/v2/post-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "code_or_url": "DRhvwVLAHAG"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

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

Questions

FAQ

How do I use the Instagram Post Details (V2) API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v2/post-info 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 Details (V2) API cost?

$0.003 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 Details (V2) API accept?

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

What does the Instagram Post Details (V2) 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 Details (V2) 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.