user_idstringrequerido
Instagram user ID
https://api.sandbase.ai/v1/api/instagram/v1/user-repostsReturns a paginated list of reposts and shared media for a specified Instagram account. Includes engagement metrics, captions, and original owner details.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns a paginated list of reposted and shared Instagram media for one account. The only required input is the numeric Instagram user_id.
max_id.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/user-reposts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID |
max_id | string | No | Pagination cursor, omit for first request |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"attempts": "95",
"items": [
{
"accessibility_caption": null,
"all_previous_submitters": null,
"are_remixes_crosspostable": true,
"attribution_content_url": null,
"audience": null,
"autodub_status": null,
"boost_unavailable_identifier": null,
"boost_unavailable_reason": null,
"boost_upsell_banner_payload": null,
"boosted_post_id": null,
"boosted_status": null,
"byoa_langs": null
}
],
"more_available": true,
"next_max_id": "QVFETDlKMWlrSktSYWhtUVNvMXVKaWtyVFlpNEJ2dUNlcWkya2J6RXdtNzlWSE5vX1lybVlWalg3Q0dV…"
}
| Field | Meaning |
|---|---|
items[] | One reposted or shared media item. Each entry is a post, reel, or carousel. |
items[].code | Short code of the post. It is the identifier used in Instagram post URLs. |
items[].client_cache_key | Cache key string for the item. Use it to tell items apart. |
items[].comment_count | Number of comments on the item. |
items[].caption.created_at / items[].caption.created_at_utc | Unix timestamp for the caption. Both fields carry the same value in this response. |
items[].caption_is_edited | Whether the caption was edited after posting. |
items[].carousel_media[] | Slides of a carousel post. Each slide has an id and image_versions2.candidates[] with image url, width and height. |
items[].carousel_media_count | Total number of slides in a carousel post. It is null for non-carousel items. |
items[].clips_metadata.audio_type | Type of audio on a reel, for example original_sounds. It is null when the item is not a reel. |
items[].coauthor_producers[] | Co-authors of the item. Each entry has id, full_name, is_verified, is_private and profile_pic_url. |
more_available | true when more reposts can be fetched. |
next_max_id | Cursor for the next page. Send it as max_id in the next request. |
user_id, call Instagram User Info by Username with a handle and read the account ID from the result.max_id on the first call. While more_available is true, pass next_max_id as max_id to get the next page.code value with Instagram Post Details by ID or the post-by-URL APIs to look up a single item in more detail.$0.001 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/v1/user-reposts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "25025320"
}'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.
user_idstringrequeridoInstagram user ID
max_idstringPagination cursor, omit for first request
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 RepostsEsta API Instagram | $0.001 por llamada | JSON |
Instagram | $0.001 por llamada | JSON |
Instagram | $0.001 por llamada | JSON |
Instagram | $0.001 por llamada | JSON |
Instagram | $0.001 por llamada | JSON |
Instagram | $0.001 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/v1/user-reposts 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.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: user_id (string). Opcionales: max_id (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 Reposts 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.