← API Store
SocialInstagram
Top Instagram posts for a hashtag
GET /instagram/v1/search/hashtagEvery 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
| 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,
"hashtag": "space",
"next_cursor": "AQHT-yExGfHoflqGNbKQg6buxegJdCbpGJAlOOYYi0O2S9CfT8w4k00a73EJAXDmI3i2",
"posts": [
{
"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-lhr11-1.cdninstagram.com/v/t51.82787-19/818392170_18096993725253735_772294768163800707_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_c…",
"username": "aiep1c",
"verified": true
},
"pinned": false,
"pk": "3973418477564958438",
"play_count": 10313086,
"plays": 10313086,
"product_type": null,
"shortcode": "Dckaw2jO5bm",
"tagged_users": [],
"taken_at": null,
"taken_at_timestamp": null,
"thumbnail": "https://scontent-lhr11-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-lhr11-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwS…",
"videos": [
{
"height": null,
"type": null,
"url": "https://scontent-lhr11-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwS…",
"width": null
},
{
"height": null,
"type": null,
"url": "https://scontent-lhr11-1.cdninstagram.com/o1/v/t2/f2/m86/AQORfKy3nEkmNAglr18l6i-2qwJ4GMqJjNY5kojVnV6SBShAlS93RbHVTTUx9xciJrfWSRUm3T_ve9BBHwS…",
"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-lhr6-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": 2483976,
"plays": 2483976,
"product_type": null,
"shortcode": "DX7XbP7NETe",
"tagged_users": [],
"taken_at": null,
"taken_at_timestamp": null,
"thumbnail": "https://scontent-lhr6-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-lhr6-1.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
"videos": [
{
"height": null,
"type": null,
"url": "https://scontent-lhr6-1.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
"width": null
},
{
"height": null,
"type": null,
"url": "https://scontent-lhr6-1.cdninstagram.com/o1/v/t2/f2/m86/AQPuaAaIdpG4r5WvAhs5D1E3TyKSoS_-lBE_8TUTsV3ScTGnsqRB2wuuDjasWalIgsiLGNWHAom2PiGFBUL4…",
"width": null
},
"… 1 more"
],
"view_count": null,
"width": null,
"…": "2 more fields"
},
"… 10 more"
],
"related": [
"the space cinema sestu",
"how far away is space",
"… 8 more"
],
"url": "https://www.instagram.com/explore/tags/space/"
} Response fields (65)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.cached | boolean |
$.count | integer |
$.credits_used | integer |
$.description | null |
$.hashtag | string |
$.next_cursor | string |
$.posts | array |
$.posts[] | object | string |
$.posts[].alt | null |
$.posts[].caption | string |
$.posts[].carousel | array |
$.posts[].carousel_count | null |
$.posts[].coauthors | array |
$.posts[].comments | null |
$.posts[].comments_disabled | null |
$.posts[].duration_s | null |
$.posts[].fb_like_count | null |
$.posts[].fb_play_count | null |
$.posts[].has_audio | null |
$.posts[].hashtags | array |
$.posts[].hashtags[] | string |
$.posts[].height | null |
$.posts[].id | string |
$.posts[].ig_play_count | null |
$.posts[].images | array |
$.posts[].is_paid_partnership | null |
$.posts[].like_and_view_counts_disabled | null |
$.posts[].likes | null |
$.posts[].location | null |
$.posts[].media_id | string |
$.posts[].media_type | null |
$.posts[].mentions | array |
$.posts[].owner | object |
$.posts[].owner.id | string |
$.posts[].owner.name | null |
$.posts[].owner.private | null |
$.posts[].owner.profile_pic | string |
$.posts[].owner.username | string |
$.posts[].owner.verified | boolean |
$.posts[].pinned | boolean |
$.posts[].pk | string |
$.posts[].play_count | integer |
$.posts[].plays | integer |
$.posts[].product_type | null |
$.posts[].shortcode | string |
$.posts[].tagged_users | array |
$.posts[].taken_at | null |
$.posts[].taken_at_timestamp | null |
$.posts[].thumbnail | string |
$.posts[].type | string |
$.posts[].url | string |
$.posts[].video_url | string |
$.posts[].videos | array |
$.posts[].videos[] | object | string |
$.posts[].videos[].height | null |
$.posts[].videos[].type | null |
$.posts[].videos[].url | string |
$.posts[].videos[].width | null |
$.posts[].view_count | null |
$.posts[].width | null |
$.posts[].… | string |
$.related | array |
$.related[] | string |
$.url | string |