Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Instagram Hashtag Search (V2)

API-Dokumentation
https://api.sandbase.ai/v1/api/instagram/v2/search-hashtags

Search for Instagram hashtags matching a given keyword query. Returns an array of matching hashtag objects containing each hashtag identifier, name, and total media count.

Preis
$0.002USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Search keyword
AusgabeBeispiel
Antwortoutputs · 771 B · 33 Zeilen
[
  {
    "data": {
      "data": {
        "count": 55,
        "items": [
          {
            "allow_following": false,
            "id": "17841562906103814",
            "media_count": 314343003,
            "name": "cat",
            "profile_pic_url": null
          },
          {
            "allow_following": false,
            "id": "17841562480105581",
            "media_count": 53081664,
            "name": "catlife",
            "profile_pic_url": null
          },
          {
            "allow_following": false,
            "id": "17843755933044787",
            "media_count": 51548882,
            "name": "catlovers",
            "profile_pic_url": null
          },
          "… 52 more items in the full response"
        ]
      }
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

Instagram Hashtag Search (V2) API

Returns Instagram hashtags that match a search keyword. Each result has the hashtag ID, its name, and its total media count. The only input is keyword.

Use cases

  • Find hashtag variations of a topic, such as catlife and catlovers for the keyword cat.
  • Rank related hashtags by media_count to pick tags with larger or smaller audiences.
  • Power hashtag autocomplete in a social media planning tool.
  • Collect hashtag IDs and names to feed into a hashtag posts lookup.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-hashtags" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "cat"}'

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword

Example response

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

{
  "data": {
    "count": 55,
    "items": [
      {
        "allow_following": false,
        "id": "17841562906103814",
        "media_count": 314739058,
        "name": "cat",
        "profile_pic_url": null
      }
    ]
  }
}

Response fields

FieldMeaning
data.countNumber of hashtags matched for the keyword.
data.items[].idHashtag identifier as a string.
data.items[].nameHashtag text, without the # sign.
data.items[].media_countTotal number of media items tagged with this hashtag.
data.items[].allow_followingBoolean flag. It is false for every item in this sample.
data.items[].profile_pic_urlImage URL for the hashtag. It is null in this sample.

Notes

  • keyword is the only parameter. The response shows no pagination parameters.
  • Hashtag id values are long numeric strings. Keep them as strings.
  • To read posts under a hashtag, call Instagram Hashtag Posts (V2).
  • To search across media and users for the same keyword, use Instagram General Search (V2).

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON
Instagram$0.002 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die Instagram Hashtag Search (V2) API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/v2/search-hashtags mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Instagram Hashtag Search (V2) API?

$0.002 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Instagram Hashtag Search (V2) API?

Erforderlich: keyword (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Instagram Hashtag Search (V2) API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Instagram-Entwicklerkonto oder einen API-Schlüssel?

Nein. Instagram Hashtag Search (V2) läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Instagram API beantragen.