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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
pagination_tokenstringPagination token from previous response
user_idstringUser ID (either username or user_id required)
usernamestringUsername (either username or user_id required)
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Instagram User Tagged Posts (V2)Esta API Instagram | $0.002 por llamada | JSON |
Instagram | $0.002 por llamada | JSON |
Instagram | $0.002 por llamada | JSON |
Instagram | $0.002 por llamada | JSON |
Instagram | $0.002 por llamada | JSON |
Instagram | $0.002 por llamada | JSON |
Guías:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/instagram/v2/user-tagged-posts con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.002 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.
No se requieren parámetros. Opcionales: pagination_token (string), user_id (string) y username (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Instagram User Tagged Posts (V2) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Instagram por separado.