Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Instagram User Highlights

API-Dokumentation
https://api.sandbase.ai/v1/api/instagram/user-highlights

List an Instagram account's story highlight reels by handle.

Preis
Ab $0.0012USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional

Playground

Eingabe
Instagram username without the leading @.
Instagram numeric user id (optional, faster than handle).
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `mediaCount`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a highlight that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Instagram User Highlights API

This API returns the story highlight reels of an Instagram account. It needs the account's handle, and it also accepts a numeric userId. Each highlight comes back with its id, title, owner and avatar image.

Use cases

  • Show the titles of an account's highlight reels in a brand monitoring dashboard.
  • Collect highlight ids for a list of accounts, then fetch the stories inside each one.
  • Check whether a creator or brand keeps highlights such as product or campaign collections.
  • Map a handle to its numeric userId and avatar URL in the same call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/user-highlights" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "nasa"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
handlestringYesInstagram username without the leading @.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example mediaCount, and it is served only by a source that returns every one
userIdstringNoInstagram numeric user id (optional, faster than handle).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "highlights": [
      {
        "avatarUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_…",
        "coverUrl": "",
        "createdUtc": null,
        "id": "18195781759377100",
        "mediaCount": null,
        "ownerHandle": "nasa",
        "title": "Roman",
        "userId": "528817151"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the account was found. A lookup that finds nothing returns false.
data.highlights[]One entry per highlight reel on the account.
data.highlights[].idIdentifier of the highlight reel. Use it to look up the reel's contents.
data.highlights[].titleName of the highlight as shown on the profile, for example Artemis III.
data.highlights[].ownerHandleInstagram handle of the account that owns the highlight.
data.highlights[].userIdNumeric Instagram id of the owning account.
data.highlights[].avatarUrlURL of the owner's profile picture, not of the highlight cover.
data.highlights[].coverUrlURL of the highlight cover image. It can be an empty string.
data.highlights[].createdUtc / data.highlights[].mediaCountCreation time and number of items in the highlight. Both can be null in the default response.

Notes

  • Pass userId along with handle for a faster lookup. The userId appears in each highlight, so you can reuse it on later calls.
  • createdUtc and mediaCount can be null. Add them to requireFields to get a source that returns them. This can raise the price of the call.
  • Pass a highlight id to Instagram Highlight Detail to get the contents of one reel.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
InstagramAb $0.0012 pro AufrufJSON
InstagramAb $0.0011 pro AufrufJSON
InstagramAb $0.001 pro AufrufJSON
InstagramAb $0.0011 pro AufrufJSON
InstagramAb $0.0012 pro AufrufJSON
InstagramAb $0.0011 pro AufrufJSON

Anleitungen:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Instagram User Highlights API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/user-highlights 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.

Was kostet die Instagram User Highlights API?

Ab $0.0012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Instagram User Highlights API?

Erforderlich: handle (string). Optional: userId (string) und requireFields (array). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Instagram User Highlights API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Instagram-Entwicklerkonto oder einen API-Schlüssel?

Nein. Instagram User Highlights 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.