hashtagstringerforderlich
The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
https://api.sandbase.ai/v1/api/instagram/hashtag-analyticsGet the total post count for any Instagram hashtag.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
This API returns the total post count for one Instagram hashtag. It needs a hashtag value, with or without the # symbol.
798M next to a hashtag in a dashboard.curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-analytics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": 5, "hashtag": "travel"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
hashtag | string | Yes | The Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography). |
limit | integer | No | Deprecated. Has no effect. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"id": "17843819167049166",
"name": "travel",
"postsCount": 798659650,
"postsFormatted": "798M",
"url": "https://www.instagram.com/explore/tags/travel"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the hashtag was found. A lookup that finds nothing returns found: false. |
data.items[].name | The hashtag name, without the # symbol. |
data.items[].id | The Instagram ID of the hashtag, as a string. |
data.items[].postsCount | The total number of posts that use the hashtag, as a full number. |
data.items[].postsFormatted | The same post count in short form, for example 798M. |
data.items[].url | Link to the hashtag page on Instagram. |
limit parameter is deprecated and has no effect. You can leave it out.data.items[]. Read postsCount for exact math and postsFormatted for display.Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/hashtag-analytics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 5,
"hashtag": "travel"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
hashtagstringerforderlichThe Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
limitintegerDeprecated. Has no effect.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Instagram Hashtag AnalyticsDiese API Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.001 pro Aufruf | JSON |
Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.0012 pro Aufruf | JSON |
Instagram | Ab $0.0012 pro Aufruf | JSON |
Anleitungen:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/hashtag-analytics 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.
Ab $0.0011 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: hashtag (string). Optional: limit (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Instagram Hashtag Analytics 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.