pagination_tokenstring
Pagination token from previous response
https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-postsReturns posts where a specified Instagram account has been tagged by other users. Supports looking up accounts by identifier or username, with pagination handling.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns a page of Instagram posts where a given account is tagged. You pass either a username or a user_id. The response includes post details, a total count, and a pagination_token for the next page.
comment_count to spot the ones that drew the most discussion.caption.hashtags from tagged posts to see which hashtags people use with a brand.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "instagram", "user_id": "18527"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
pagination_token | string | No | Pagination token from previous response |
user_id | string | No | User ID (either username or user_id required) |
username | string | No | Username (either username or user_id required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"count": 21,
"items": [
{
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_unavailable_reason_v2": null,
"can_reshare": true,
"can_save": true,
"can_viewer_add_media_to_grid": false,
"caption": {
"content_type": "comment",
"created_at": 1582576667,
"created_at_utc": 1582576667,
"did_report_as_spam": false,
"has_translation": true,
"hashtags": [],
"id": "2251138696266127152",
"is_covered": false
},
"caption_is_edited": false,
"coauthor_producer_can_see_organic_insights": false,
"coauthor_producers": [],
"code": "B89prebFBcw",
"collaborator_edit_eligibility": false
}
],
"total": 130
},
"pagination_token": "Ck1JBBkp…"
}
| Field | Meaning |
|---|---|
data.total | Total number of tagged posts reported for the account. |
data.count | Number of posts returned in this page. |
data.items[].id | Numeric ID of the post. |
data.items[].code | Short code of the post. It is the same kind of value used in Instagram post URLs. |
data.items[].caption.created_at | Unix timestamp for when the caption was created. created_at_utc holds the same value in the sample. |
data.items[].caption.hashtags | List of hashtags in the caption, with the # sign. |
data.items[].comment_count | Number of comments on the post. |
data.items[].image_versions.items[].url / width / height | URL and pixel size of each image version of the post. |
data.items[].can_reshare / can_save | Flags for whether the post can be reshared or saved. |
pagination_token | Token to send in the next request to get the next page. |
username or user_id. The example request sends both.pagination_token with the same account value.caption.$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/user-tagged-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "18527",
"username": "instagram"
}'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.
pagination_tokenstringPagination token from previous response
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
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 User Tagged Posts (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/user-tagged-posts 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.
Nessun parametro richiesto. Facoltativi: pagination_token (string), user_id (string) e username (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 User Tagged Posts (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.