hashtagstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
hashtagstringobbligatorioThe Instagram hashtag to analyze, with or without the # symbol (e.g. streetphotography).
limitintegerDeprecated. Has no effect.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Instagram Hashtag AnalyticsQuesta API Instagram | Da $0.0011 per chiamata | JSON |
Instagram | Da $0.0011 per chiamata | JSON |
Instagram | Da $0.001 per chiamata | JSON |
Instagram | Da $0.0011 per chiamata | JSON |
Instagram | Da $0.0012 per chiamata | JSON |
Instagram | Da $0.0012 per chiamata | JSON |
Guide:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/instagram/hashtag-analytics con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0011 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: hashtag (string). Facoltativi: limit (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Instagram Hashtag Analytics funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Instagram.