keywordstringobbligatorio
Search keyword
https://api.sandbase.ai/v1/api/instagram/v2/search-hashtagsSearch for Instagram hashtags matching a given keyword query. Returns an array of matching hashtag objects containing each hashtag identifier, name, and total media count.
[
{
"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"
]
}
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel playground.
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.
catlife and catlovers for the keyword cat.media_count to pick tags with larger or smaller audiences.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.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
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
}
]
}
}
| Field | Meaning |
|---|---|
data.count | Number of hashtags matched for the keyword. |
data.items[].id | Hashtag identifier as a string. |
data.items[].name | Hashtag text, without the # sign. |
data.items[].media_count | Total number of media items tagged with this hashtag. |
data.items[].allow_following | Boolean flag. It is false for every item in this sample. |
data.items[].profile_pic_url | Image URL for the hashtag. It is null in this sample. |
keyword is the only parameter. The response shows no pagination parameters.id values are long numeric strings. Keep them as strings.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'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.
keywordstringobbligatorioSearch keyword
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"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"
]
}
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Instagram Hashtag Search (V2)Questa API Instagram | $0.002 per chiamata | JSON |
Instagram | $0.002 per chiamata | JSON |
Instagram | $0.002 per chiamata | JSON |
Instagram | $0.002 per chiamata | JSON |
Instagram | $0.002 per chiamata | JSON |
Instagram | $0.002 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/v2/search-hashtags 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.
$0.002 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.
Richiesti: keyword (string). 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 Search (V2) 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.