← API Store
SocialInstagram
Search Instagram posts and reels
GET /instagram/v1/searchEvery 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
| Name | Type | Description |
|---|---|---|
qrequired | string | Example: space |
cursor | string | Value 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 |
$.cached | boolean |
$.count | integer |
$.credits_used | integer |
$.description | null |
$.next_cursor | string |
$.page_info | object |
$.page_info.end_cursor | string |
$.page_info.has_next_page | boolean |
$.page_info.start_cursor | string |
$.query | string |
$.related | array |
$.related[] | string |
$.results | array |
$.results[] | object | string |
$.results[].alt | null |
$.results[].caption | string |
$.results[].carousel | array |
$.results[].carousel_count | null |
$.results[].coauthors | array |
$.results[].comments | null |
$.results[].comments_disabled | null |
$.results[].duration_s | null |
$.results[].fb_like_count | null |
$.results[].fb_play_count | null |
$.results[].has_audio | null |
$.results[].hashtags | array |
$.results[].hashtags[] | string |
$.results[].height | null |
$.results[].id | string |
$.results[].ig_play_count | null |
$.results[].images | array |
$.results[].is_paid_partnership | null |
$.results[].like_and_view_counts_disabled | null |
$.results[].likes | null |
$.results[].location | null |
$.results[].media_id | string |
$.results[].media_type | null |
$.results[].mentions | array |
$.results[].owner | object |
$.results[].owner.id | string |
$.results[].owner.name | null |
$.results[].owner.private | null |
$.results[].owner.profile_pic | string |
$.results[].owner.username | string |
$.results[].owner.verified | boolean |
$.results[].pinned | boolean |
$.results[].pk | string |
$.results[].play_count | integer |
$.results[].plays | integer |
$.results[].product_type | null |
$.results[].shortcode | string |
$.results[].tagged_users | array |
$.results[].taken_at | null |
$.results[].taken_at_timestamp | null |
$.results[].thumbnail | string |
$.results[].type | string |
$.results[].url | string |
$.results[].video_url | string |
$.results[].videos | array |
$.results[].videos[] | object | string |
$.results[].videos[].height | null |
$.results[].videos[].type | null |
$.results[].videos[].url | string |
$.results[].videos[].width | null |
$.results[].view_count | null |
$.results[].width | null |
$.results[].… | string |