userIdstringerforderlich
Instagram's numeric account id, as returned by instagram.profile.
https://api.sandbase.ai/v1/api/instagram/user-repostsList the posts a public Instagram account has reposted to its feed, with cursor pagination.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
This API lists the posts a public Instagram account has reposted to its feed. It needs the account's numeric userId and returns one page of posts with the original author, caption, counts and media links.
author and authorId of each reposted post.likes, comments, views and reshares.videoUrl or image of reposted reels and photos for review or archiving.curl -X POST "https://api.sandbase.ai/v1/api/instagram/user-reposts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "787132"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | Instagram's numeric account id, as returned by instagram.profile. |
cursor | string | No | Pagination cursor from a previous response's nextCursor. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"nextCursor": "cur_iDvx70kyFbcBgthA-w9g_A",
"posts": [
{
"audioId": "29204579829182362",
"author": "natgeotravel",
"authorId": "23947096",
"authorName": "National Geographic Travel",
"authorPrivate": false,
"authorVerified": true,
"avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/685024507_18593567491011…",
"caption": "Lose yourself in the green heart of northern Peru, where ancient civilizations, …",
"captionEdited": true,
"coauthors": [],
"comments": 70,
"countsHidden": false
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.posts[] | The reposted posts. Each item is one post from the original author's feed. |
data.posts[].author / authorId / authorName | Username, numeric id and display name of the account that published the original post. |
data.posts[].authorVerified / authorPrivate | Whether the original author is verified and whether the author account is private. |
data.posts[].id / shortcode / url | The post's numeric id, its shortcode and the full Instagram link to the post. |
data.posts[].mediaType / productType | The post format, such as video or carousel, and the Instagram product type, such as clips or carousel_container. |
data.posts[].caption | The post caption text. captionEdited shows whether the caption was edited. |
data.posts[].likes / comments / views / reshares | Engagement counts for the post. views and reshares appear on video posts only. |
data.posts[].createdUtc | When the post was created, as a Unix timestamp in seconds. |
data.posts[].coauthors[] / taggedUsers[] | Accounts credited as coauthors or tagged in the post, with username, userId and displayName. |
data.posts[].videoUrl / image / videoDurationSeconds | Links to the video file and the preview image, and the video length in seconds. videoUrl appears on videos only. |
data.nextCursor | Cursor for the next page of reposts. |
userId from Instagram Profile. The userId is a numeric string such as 787132.data.nextCursor as cursor in the next request with the same userId.carouselCount appears on carousels, and audioId and soundTitle appear on videos with audio.Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/user-reposts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "787132"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
userIdstringerforderlichInstagram's numeric account id, as returned by instagram.profile.
cursorstringPagination cursor from a previous response's nextCursor.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Instagram User RepostsDiese API Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.001 pro Aufruf | JSON |
Instagram | Ab $0.0011 pro Aufruf | JSON |
Instagram | Ab $0.0012 pro Aufruf | JSON |
Instagram | Ab $0.0011 pro Aufruf | JSON |
Anleitungen:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/user-reposts mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Ab $0.0011 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: userId (string). Optional: cursor (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Instagram User Reposts läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Instagram API beantragen.