Search APIs
Loading…
← API Store
Social

Instagram

Instagram

Search Instagram posts and reels

GET /instagram/v1/search
Test this endpoint

Every response includes credits_used: the credits this call cost.

Instagram's public keyword pages; includes related searches.

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

Parameters

NameTypeDescription
qrequiredstring Example: space
cursorstringValue of `next_cursor` from the previous page.

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

{
  "cached": false,
  "count": 12,
  "credits_used": 1,
  "description": null,
  "next_cursor": "AQHT-yExGfHoflqGNbKQg6buxegJdCbpGJAlOOYYi0O2S9CfT8w4k00a73EJAXDmI3i2",
  "page_info": {
    "end_cursor": "AQHT-yExGfHoflqGNbKQg6buxegJdCbpGJAlOOYYi0O2S9CfT8w4k00a73EJAXDmI3i2",
    "has_next_page": true,
    "start_cursor": "AQHTYVrId0aesesbhjeu7zAf2uSHPCVawGotm_gJ67ey2K_ULkdON7kzq5lbVd224CF4"
  },
  "query": "space",
  "related": [
    "the space cinema sestu",
    "how far away is space",
    "… 8 more"
  ],
  "results": [
    {
      "alt": null,
      "caption": "Zoom out far enough and every problem looks small.\n#reels #space #solarsystem #mindblown #earth",
      "carousel": [],
      "carousel_count": null,
      "coauthors": [],
      "comments": null,
      "comments_disabled": null,
      "duration_s": null,
      "fb_like_count": null,
      "fb_play_count": null,
      "has_audio": null,
      "hashtags": [
        "reels",
        "space",
        "… 3 more"
      ],
      "height": null,
      "id": "3973418477564958438",
      "ig_play_count": null,
      "images": [],
      "is_paid_partnership": null,
      "like_and_view_counts_disabled": null,
      "likes": null,
      "location": null,
      "media_id": "POLARIS_3973418477564958438",
      "media_type": null,
      "mentions": [],
      "owner": {
        "id": "37538805734",
        "name": null,
        "private": null,
        "profile_pic": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/818392170_18096993725253735_772294768163800707_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ca…",
        "username": "aiep1c",
        "verified": true
      },
      "pinned": false,
      "pk": "3973418477564958438",
      "play_count": 10313616,
      "plays": 10313616,
      "product_type": null,
      "shortcode": "Dckaw2jO5bm",
      "tagged_users": [],
      "taken_at": null,
      "taken_at_timestamp": null,
      "thumbnail": "https://scontent-cdg6-1.cdninstagram.com/v/t51.82787-15/782456414_18090730316253735_1508561294720040588_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_…",
      "type": "image",
      "url": "https://www.instagram.com/p/Dckaw2jO5bm/",
      "video_url": "https://scontent-cdg4-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwSG…",
      "videos": [
        {
          "height": null,
          "type": null,
          "url": "https://scontent-cdg4-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwSG…",
          "width": null
        },
        {
          "height": null,
          "type": null,
          "url": "https://scontent-cdg4-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwSG…",
          "width": null
        },
        "… 1 more"
      ],
      "view_count": null,
      "width": null,
      "…": "2 more fields"
    },
    {
      "alt": null,
      "caption": "The definitive 3D map of our universe ✨\n\nOn April 15, 2026, the Dark Energy Spectroscopic Instrument (DESI) officially completed its five-ye…",
      "carousel": [],
      "carousel_count": null,
      "coauthors": [],
      "comments": null,
      "comments_disabled": null,
      "duration_s": null,
      "fb_like_count": null,
      "fb_play_count": null,
      "has_audio": null,
      "hashtags": [
        "fyp",
        "space",
        "… 3 more"
      ],
      "height": null,
      "id": "3889805730759591134",
      "ig_play_count": null,
      "images": [],
      "is_paid_partnership": null,
      "like_and_view_counts_disabled": null,
      "likes": null,
      "location": null,
      "media_id": "POLARIS_3889805730759591134",
      "media_type": null,
      "mentions": [],
      "owner": {
        "id": "76512843875",
        "name": null,
        "private": null,
        "profile_pic": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-19/573538839_17857714944547876_1817406036855784695_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_c…",
        "username": "cass.nyuad",
        "verified": false
      },
      "pinned": false,
      "pk": "3889805730759591134",
      "play_count": 2484034,
      "plays": 2484034,
      "product_type": null,
      "shortcode": "DX7XbP7NETe",
      "tagged_users": [],
      "taken_at": null,
      "taken_at_timestamp": null,
      "thumbnail": "https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-15/684459346_17884792653547876_7558105054852873139_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_…",
      "type": "image",
      "url": "https://www.instagram.com/p/DX7XbP7NETe/",
      "video_url": "https://scontent-cdg4-2.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
      "videos": [
        {
          "height": null,
          "type": null,
          "url": "https://scontent-cdg4-2.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
          "width": null
        },
        {
          "height": null,
          "type": null,
          "url": "https://scontent-cdg4-2.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
          "width": null
        },
        "… 1 more"
      ],
      "view_count": null,
      "width": null,
      "…": "2 more fields"
    },
    "… 10 more"
  ]
}
Response fields (68)

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

$object
$.cachedboolean
$.countinteger
$.credits_usedinteger
$.descriptionnull
$.next_cursorstring
$.page_infoobject
$.page_info.end_cursorstring
$.page_info.has_next_pageboolean
$.page_info.start_cursorstring
$.querystring
$.relatedarray
$.related[]string
$.resultsarray
$.results[]object | string
$.results[].altnull
$.results[].captionstring
$.results[].carouselarray
$.results[].carousel_countnull
$.results[].coauthorsarray
$.results[].commentsnull
$.results[].comments_disablednull
$.results[].duration_snull
$.results[].fb_like_countnull
$.results[].fb_play_countnull
$.results[].has_audionull
$.results[].hashtagsarray
$.results[].hashtags[]string
$.results[].heightnull
$.results[].idstring
$.results[].ig_play_countnull
$.results[].imagesarray
$.results[].is_paid_partnershipnull
$.results[].like_and_view_counts_disablednull
$.results[].likesnull
$.results[].locationnull
$.results[].media_idstring
$.results[].media_typenull
$.results[].mentionsarray
$.results[].ownerobject
$.results[].owner.idstring
$.results[].owner.namenull
$.results[].owner.privatenull
$.results[].owner.profile_picstring
$.results[].owner.usernamestring
$.results[].owner.verifiedboolean
$.results[].pinnedboolean
$.results[].pkstring
$.results[].play_countinteger
$.results[].playsinteger
$.results[].product_typenull
$.results[].shortcodestring
$.results[].tagged_usersarray
$.results[].taken_atnull
$.results[].taken_at_timestampnull
$.results[].thumbnailstring
$.results[].typestring
$.results[].urlstring
$.results[].video_urlstring
$.results[].videosarray
$.results[].videos[]object | string
$.results[].videos[].heightnull
$.results[].videos[].typenull
$.results[].videos[].urlstring
$.results[].videos[].widthnull
$.results[].view_countnull
$.results[].widthnull
$.results[].…string