Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Instagram Hashtag Posts (V1)

Dokumentacja API
https://api.sandbase.ai/v1/api/instagram/v1/hashtag-posts

Returns public Instagram posts associated with a specific hashtag. Filter by hashtag name and paginate through media results using a cursor.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Hashtag name (without #)
Pagination cursor, omit for first request
WyjściePrzykład
Odpowiedźoutputs · 16.3 KB · 206 wierszy
[
  {
    "data": {
      "attempts": "557",
      "data": {
        "hashtag": {
          "allow_following": false,
          "edge_hashtag_to_content_advisory": {
            "count": 0,
            "edges": []
          },
          "edge_hashtag_to_media": {
            "count": 9249683,
            "edges": [
              {
                "node": {
                  "__typename": "GraphImage",
                  "accessibility_caption": "Photo by Chrisantha Garcia on September 30, 2026. May be an image of tofu, vegetable and text.",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 1440,
                    "width": 1080
                  },
                  "display_url": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701497_18104765510120220_650334803048372265_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=BFLDK8B7pYQQ7kNvwGyZvzl&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5ODAwMjE0MDk3ODQzMDAxNQ%3D%3D.3-ccb7-5&oh=00_AQM_cDsCtxRI4t2NJ50Dk5lwIn5C9h4NeJkkEt40dg1_cQ&oe=6AC37B0D&_nc_sid=49ed71",
                  "edge_liked_by": {
                    "count": 0
                  },
                  "edge_media_preview_like": {
                    "count": 0
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "text": "🔥 This teriyaki tofu is sweet, savory & smoky!\n\n🌱 Vegan Teriyaki Tofu 🌱\n\n0–2 sec\n“THIS tofu is packed with flavor 🔥”\n\n2–5 sec\n“Soy sauce + maple + garlic + ginger + turmeric”\n\n5–8 sec\n“Marinate 1–4 hours”\n\n8–11 sec\n“Smoke at 225–250°F for 45–60 min”\n\n11–13 sec\n“Brush with extra teriyaki glaze 🔥”\n\n13–15 sec\n“Sticky. Smoky. Sweet. SAVORY. 😋”\n\nMarinade:\n• ¼ cup soy sauce or tamari\n• 2 tbsp maple syrup or brown sugar\n• 1 tbsp rice vinegar\n• 1 tbsp sesame oil\n• 2 garlic cloves, minced\n• 1 tsp fresh ginger, grated\n• 1 small piece of turmeric, grated\n• 1 tsp cornstarch, optional for a thicker g…"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 0
                  },
                  "id": "3998002140978430015",
                  "is_video": false,
                  "owner": {
                    "id": "33677792219"
                  },
                  "shortcode": "Dd7wcPQRUA_",
                  "taken_at_timestamp": 1790819135,
                  "thumbnail_resources": [
                    {
                      "config_height": 150,
                      "config_width": 150,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701497_18104765510120220_650334803048372265_n.jpg?stp=c0.320.1920.1920a_dst-jpg_e35_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xOTIwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=BFLDK8B7pYQQ7kNvwGyZvzl&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQMFB9fG4NMVpf9i0QypIMc7Hc17I5e7uq68BFZf3OVX2w&oe=6AC37B0D&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 240,
                      "config_width": 240,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701497_18104765510120220_650334803048372265_n.jpg?stp=c0.320.1920.1920a_dst-jpg_e35_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xOTIwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=BFLDK8B7pYQQ7kNvwGyZvzl&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQPACJ8AaR-by9QCXzi9OUFipbXyfX6mFtqagnNeEak4tg&oe=6AC37B0D&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 320,
                      "config_width": 320,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701497_18104765510120220_650334803048372265_n.jpg?stp=c0.320.1920.1920a_dst-jpg_e35_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xOTIwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=BFLDK8B7pYQQ7kNvwGyZvzl&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQOIO6adYj8KHbskFYmaF0wUrrWHZVA8pvboXsUOYhrMtw&oe=6AC37B0D&_nc_sid=49ed71"
                    },
                    "… 2 more items in the full response"
                  ],
                  "thumbnail_src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701497_18104765510120220_650334803048372265_n.jpg?stp=c0.320.1920.1920a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=BFLDK8B7pYQQ7kNvwGyZvzl&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5ODAwMjE0MDk3ODQzMDAxNQ%3D%3D.3.c-ccb7-5&oh=00_AQNCAeoYDtwDw9MlUlydztQQoBcWeo_uwrsJ3XjDOz2TXw&oe=6AC37B0D&_nc_sid=49ed71"
                }
              },
              {
                "node": {
                  "__typename": "GraphSidecar",
                  "accessibility_caption": "Vegan ice cream on bright kitchen counters , various kitchens",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 1350,
                    "width": 1080
                  },
                  "display_url": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830668948_18421803643158397_1886545280283326044_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=DNx0HTVeRNkQ7kNvwHQ4AAr&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5Nzk5MTAyNTMxNDg2OTQzNA%3D%3D.3-ccb7-5&oh=00_AQNwuGA3YOu6NqAhPExXVNwbs_-JUhzP9Y1xjGXruKinZw&oe=6AC39F37&_nc_sid=49ed71",
                  "edge_liked_by": {
                    "count": 4
                  },
                  "edge_media_preview_like": {
                    "count": 4
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "text": "Yes, ice cream can be vegan. We tested it - and it works perfectly. Creamy, refreshing, and seriously delicious. Check out these flavors, discover even more on our recipe page.\n#instantpot #instantchill #instantpotofficial #veganicecream #vegan #dairyFree #veganrecipes #DairyFree"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 0
                  },
                  "id": "3997991226851132994",
                  "is_video": false,
                  "owner": {
                    "id": "4789062396"
                  },
                  "shortcode": "Dd7t9arlwZC",
                  "taken_at_timestamp": 1790817720,
                  "thumbnail_resources": [
                    {
                      "config_height": 150,
                      "config_width": 150,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830668948_18421803643158397_1886545280283326044_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=DNx0HTVeRNkQ7kNvwHQ4AAr&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQMgqDiuvqLqqSms-qHvAfbJCQMyyNPo9hautsNwss-86w&oe=6AC39F37&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 240,
                      "config_width": 240,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830668948_18421803643158397_1886545280283326044_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=DNx0HTVeRNkQ7kNvwHQ4AAr&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQM6lCXVsVVyO40bpx4L__jmWhp5LcMTBJK0lhfclitCnw&oe=6AC39F37&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 320,
                      "config_width": 320,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830668948_18421803643158397_1886545280283326044_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=DNx0HTVeRNkQ7kNvwHQ4AAr&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQMnM21yryySU1wy2rG66q9l5geSDV701_3UXG72pI43Hg&oe=6AC39F37&_nc_sid=49ed71"
                    },
                    "… 2 more items in the full response"
                  ],
                  "thumbnail_src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830668948_18421803643158397_1886545280283326044_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=DNx0HTVeRNkQ7kNvwHQ4AAr&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5Nzk5MTAyNTMxNDg2OTQzNA%3D%3D.3.c-ccb7-5&oh=00_AQN27Jd29SHKDs4S2BGQIgHHFnLxxMgLBbPjeR1fYwI0dg&oe=6AC39F37&_nc_sid=49ed71"
                }
              },
              {
                "node": {
                  "__typename": "GraphSidecar",
                  "accessibility_caption": "Photo by Easy Gluten-Free Vegan Recipes on September 30, 2026. May be an image of text.",
                  "comments_disabled": false,
                  "dimensions": {
                    "height": 1350,
                    "width": 1080
                  },
                  "display_url": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701365_18635182906055370_6054229979830287968_n.jpg?stp=dst-jpg_e15_fr_p1080x1080_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=EXZEU6D0ae0Q7kNvwHRbHsI&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5Nzk4MDI2MzIzMzU0ODMyNg%3D%3D.3-ccb7-5&oh=00_AQOXg-8_u28hxT_vJHPcKrSn2PuXMVp04I-cN_xGvT4qYw&oe=6AC38803&_nc_sid=49ed71",
                  "edge_liked_by": {
                    "count": 1
                  },
                  "edge_media_preview_like": {
                    "count": 1
                  },
                  "edge_media_to_caption": {
                    "edges": [
                      {
                        "node": {
                          "text": "These vegan gluten-free stuffed peppers are colorful, hearty, and packed with plant-based goodness! Bell peppers are filled with fluffy quinoa, chickpeas, mushrooms, tender vegetables, and savory herbs for a satisfying dinner that’s ready in just under an hour.⁠\n⁠\nI love how naturally sweet the peppers become as they roast, making this an easy way to add more veggies to the dinner table. Each pepper is perfectly portioned, filling, and easy to customize with your favorite toppings or herbs.⁠\n⁠\n📌 Save this recipe for your next easy weeknight dinner⁠\n🌱 Follow for more wholesome plant-based rec…"
                        }
                      }
                    ]
                  },
                  "edge_media_to_comment": {
                    "count": 0
                  },
                  "id": "3997980540820630745",
                  "is_video": false,
                  "owner": {
                    "id": "659447369"
                  },
                  "shortcode": "Dd7rh6iiazZ",
                  "taken_at_timestamp": 1790816470,
                  "thumbnail_resources": [
                    {
                      "config_height": 150,
                      "config_width": 150,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701365_18635182906055370_6054229979830287968_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=EXZEU6D0ae0Q7kNvwHRbHsI&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQMg6b0qnDZ1i3VUzzY6S3ZeGvedauQEloCjPP6FS4Gudw&oe=6AC38803&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 240,
                      "config_width": 240,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701365_18635182906055370_6054229979830287968_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=EXZEU6D0ae0Q7kNvwHRbHsI&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQNUSO5vTi_MtwoUwVeMhnuYoY95ZF1crCX4LidoBb3cPg&oe=6AC38803&_nc_sid=49ed71"
                    },
                    {
                      "config_height": 320,
                      "config_width": 320,
                      "src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701365_18635182906055370_6054229979830287968_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgwLnNkci5yZWd1bGFyX3Bob3RvLmMyIn0&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=EXZEU6D0ae0Q7kNvwHRbHsI&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AQOh_IJi-6c3iHFdK8gIz3rqu04MV7D7gSQU1HBbEMGNFQ&oe=6AC38803&_nc_sid=49ed71"
                    },
                    "… 2 more items in the full response"
                  ],
                  "thumbnail_src": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/830701365_18635182906055370_6054229979830287968_n.jpg?stp=c0.135.1080.1080a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=EXZEU6D0ae0Q7kNvwHRbHsI&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk5Nzk4MDI2MzIzMzU0ODMyNg%3D%3D.3.c-ccb7-5&oh=00_AQNGQzyZIcx7lvoJ2ii7ZY70gOC2_tQF5sx9AtopKVN2Mg&oe=6AC38803&_nc_sid=49ed71"
                }
              },
              "… 31 more items in the full response"
            ],
            "page_info": {
              "end_cursor": "QVFEZ0pGOTMxcmg5aUdEcjA5cUo4dk1oa0F2YkdjSDB1YjY1UG1COF9tbW9GNHJoUmxJUmVhSkJScm5TSk8yNTJxTFZ3YkhQcHJHeXJocWJwQVVLVTdtbA==",
              "has_next_page": true
            }
          },
          "edge_hashtag_to_null_state": {
            "edges": []
          },
          "edge_hashtag_to_top_posts": {
            "edges": []
          },
          "id": "17842274242068426",
          "is_following": false,
          "is_top_media_only": false,
          "name": "veganrecipes",
          "profile_pic_url": "https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/748883077_18606035863056619_2002269712353801784_n.jpg?stp=c0.504.3024.3024a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-den2-1.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2gHQwSkh0hxTA2te-mT5HFZ652OyADjjKQ5gtCDyP1JeyLSSJ5QKqeg80Nrc5EERkuc&_nc_ohc=m6ZRI1zzURsQ7kNvwFCdz9Q&_nc_gid=ylEN0QV8LyqOUV20SLF14Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=Mzk0MzU1MzI3MjM2NzU1MTA4Ng%3D%3D.3.c-ccb7-5&oh=00_AQMscqqOvAbsygOt1A_TmbS5Z2ggvRMljCxYsJ3JTIX8Mw&oe=6AC3A90D&_nc_sid=49ed71"
        }
      },
      "status": "ok"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

Instagram Hashtag Posts (V1) API

Returns public Instagram posts tagged with a given hashtag, plus basic details about the hashtag itself. It needs one input: the hashtag name without the #.

Use cases

  • Pull recent posts under a brand or product hashtag to see how people write about it.
  • Collect image URLs and captions from an event hashtag for a content review.
  • Read the total post count for a hashtag to compare how widely different topics are used.
  • Page through a hashtag feed to build a dataset of captions for text analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/hashtag-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtag": "openai"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
hashtagstringYesHashtag name (without #)
end_cursorstringNoPagination cursor, omit for first request

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "attempts": "70",
  "data": {
    "hashtag": {
      "allow_following": false,
      "edge_hashtag_to_content_advisory": {
        "count": 0,
        "edges": []
      },
      "edge_hashtag_to_media": {
        "count": 2360486,
        "edges": [
          {
            "node": {
              "__typename": "GraphSidecar",
              "accessibility_caption": "Photo by Snap & Hiro on November 02, 2026. May be a meme of gas mask, costume, g…",
              "comments_disabled": false,
              "dimensions": {
                "height": 1080,
                "width": 1080
              },
              "display_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.82787-15/884791041_18031929077885…",
              "edge_liked_by": {
                "count": 0
              },
              "edge_media_preview_like": {
                "count": 0
              },
              "edge_media_to_caption": {
                "edges": [
                  {
                    "node": {
                      "text": "Too bad for him 👀\n\n(A better version of my previous take)\n\n#openai #ramshortage …"
                    }
                  }
                ]
              }
            }
          }
        ],
        "page_info": {
          "end_cursor": "QVFBeEF1N1otVlBLRElnT3ZuSk1EZnV6NEZUQkY3Rk94VU1lejA2OHljSkFaaFZ5S3owd0cwQVZ4U2hf…",
          "has_next_page": true
        }
      },
      "edge_hashtag_to_null_state": {
        "edges": []
      },
      "edge_hashtag_to_top_posts": {
        "edges": []
      },
      "id": "17841553213093056",
      "is_following": false,
      "is_top_media_only": false,
      "name": "openai",
      "profile_pic_url": "https://scontent-cdg4-2.cdninstagram.com/v/t51.82787-15/882860819_18630928774013…"
    }
  },
  "status": "ok"
}

Response fields

FieldMeaning
data.hashtag.name / data.hashtag.idThe hashtag name and its numeric ID.
data.hashtag.edge_hashtag_to_media.countTotal number of posts that use this hashtag.
data.hashtag.edge_hashtag_to_media.edges[].node.__typenamePost type. The response shows GraphImage for a single image and GraphSidecar for a multi-item post.
data.hashtag.edge_hashtag_to_media.edges[].node.edge_media_to_caption.edges[].node.textCaption text of the post, including its hashtags.
data.hashtag.edge_hashtag_to_media.edges[].node.accessibility_captionAuto-generated text description of the post, with the author name and date.
data.hashtag.edge_hashtag_to_media.edges[].node.display_urlURL of the post image.
data.hashtag.edge_hashtag_to_media.edges[].node.dimensions.height / data.hashtag.edge_hashtag_to_media.edges[].node.dimensions.widthSize of the displayed media.
data.hashtag.edge_hashtag_to_media.edges[].node.comments_disabledtrue when the author turned off comments on the post.
data.hashtag.edge_hashtag_to_media.page_info.end_cursorCursor to pass as end_cursor to get the next page.
data.hashtag.edge_hashtag_to_media.page_info.has_next_pagetrue when more posts are available.

Notes

  • Send the hashtag without the leading #, for example openai.
  • Omit end_cursor on the first request. For the next page, pass the value of data.hashtag.edge_hashtag_to_media.page_info.end_cursor.
  • Stop paging when has_next_page is false.
  • In this response, the like counts in edge_liked_by.count and edge_media_preview_like.count are 0, so do not rely on them for engagement.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Instagram$0.001 za wywołanieJSON
Instagram$0.001 za wywołanieJSON
Instagram$0.001 za wywołanieJSON
Instagram$0.001 za wywołanieJSON
Instagram$0.001 za wywołanieJSON
Instagram$0.001 za wywołanieJSON

Przewodniki:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Instagram Hashtag Posts (V1)?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/v1/hashtag-posts z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Instagram Hashtag Posts (V1)?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Instagram Hashtag Posts (V1)?

Wymagane: hashtag (string). Opcjonalne: end_cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Instagram Hashtag Posts (V1)?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Instagram lub klucza API?

Nie. Instagram Hashtag Posts (V1) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.