Search APIs
Loading…
← API Store
Social

Instagram

Instagram

Instagram embed card

GET /instagram/v1/post/embed
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
urlrequiredstring Example: https://www.instagram.com/p/DeAYvsnn4la/

Every endpoint also takes: raw、fields、fresh、output、records

{
  "alt": null,
  "cached": false,
  "caption": "Swipe for countless stars\n\nSagittarius B2 is the most massive and most active star-forming region in the Milky Way. It produces half of the …",
  "carousel": [
    {
      "alt": null,
      "height": 1350,
      "id": "3999304758001953198",
      "image": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/831222439_18653890615049152_5346150317938845760_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=11…",
      "is_video": false,
      "shortcode": "DeAYnz5PGmu",
      "video": null,
      "width": 1080
    },
    {
      "alt": null,
      "height": 1350,
      "id": "3999304758346117128",
      "image": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/830418338_18653890612049152_312587861543217627_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=100…",
      "is_video": false,
      "shortcode": "DeAYn0Nv_AI",
      "video": null,
      "width": 1080
    },
    "… 1 more"
  ],
  "comments": 5376,
  "comments_text": "View all 5,376 comments",
  "copyright_blocked": false,
  "credits_used": 1,
  "display_url": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/831222439_18653890615049152_5346150317938845760_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=11…",
  "embed_url": "https://www.instagram.com/p/DeAYvsnn4la/embed/captioned/",
  "followers_text": "104M followers",
  "height": 1350,
  "html": "<!DOCTYPE html>\n<html lang=\"en\" id=\"facebook\" class=\"no_js\">\n<head><meta charset=\"utf-8\" /><meta name=\"referrer\" content=\"origin-when-crosso…",
  "iframe": "<iframe src=\"https://www.instagram.com/p/DeAYvsnn4la/embed/captioned/\" width=\"400\" height=\"600\" frameborder=\"0\" scrolling=\"no\" allowtranspar…",
  "image": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/831222439_18653890615049152_5346150317938845760_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=11…",
  "images": [
    {
      "height": 1350,
      "url": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/831222439_18653890615049152_5346150317938845760_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=11…",
      "width": 1080
    },
    {
      "height": 900,
      "url": "https://instagram.ffor42-1.fna.fbcdn.net/v/t51.82787-15/831222439_18653890615049152_5346150317938845760_n.jpg?stp=dst-jpg_e35_p720x720_sh2.0…",
      "width": 720
    },
    "… 11 more"
  ],
  "is_video": false,
  "likes": 1311571,
  "media_id": "3999305299946080602",
  "owner": {
    "followers": 104353030,
    "id": "528817151",
    "profile_pic": "https://scontent.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068159029641216_n.jpg?stp=dst-jpg_s100x100_tt6&_nc_cat=102&ccb=…",
    "username": "nasa",
    "verified": true
  },
  "page_data": {
    "meta": {
      "bingbot": "noarchive",
      "referrer": "origin-when-crossorigin",
      "refresh": "0; URL=/p/DeAYvsnn4la/embed/captioned/?_fb_noscript=1",
      "title": "Instagram"
    }
  },
  "shortcode": "DeAYvsnn4la",
  "taken_at": null,
  "type": "GraphSidecar",
  "username": "nasa",
  "video_url": null,
  "video_views": null,
  "width": 1080
}
Response fields (52)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.altnull
$.cachedboolean
$.captionstring
$.carouselarray
$.carousel[]object | string
$.carousel[].altnull
$.carousel[].heightinteger
$.carousel[].idstring
$.carousel[].imagestring
$.carousel[].is_videoboolean
$.carousel[].shortcodestring
$.carousel[].videonull
$.carousel[].widthinteger
$.commentsinteger
$.comments_textstring
$.copyright_blockedboolean
$.credits_usedinteger
$.display_urlstring
$.embed_urlstring
$.followers_textstring
$.heightinteger
$.htmlstring
$.iframestring
$.imagestring
$.imagesarray
$.images[]object | string
$.images[].heightinteger
$.images[].urlstring
$.images[].widthinteger
$.is_videoboolean
$.likesinteger
$.media_idstring
$.ownerobject
$.owner.followersinteger
$.owner.idstring
$.owner.profile_picstring
$.owner.usernamestring
$.owner.verifiedboolean
$.page_dataobject
$.page_data.metaobject
$.page_data.meta.bingbotstring
$.page_data.meta.referrerstring
$.page_data.meta.refreshstring
$.page_data.meta.titlestring
$.shortcodestring
$.taken_atnull
$.typestring
$.usernamestring
$.video_urlnull
$.video_viewsnull
$.widthinteger