Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Instagram User Highlights

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

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

Prezzo
Da $0.0012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 2 opzionali

Playground

Input
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.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
InstagramDa $0.0012 per chiamataJSON
InstagramDa $0.0011 per chiamataJSON
InstagramDa $0.001 per chiamataJSON
InstagramDa $0.0011 per chiamataJSON
InstagramDa $0.0012 per chiamataJSON
InstagramDa $0.0011 per chiamataJSON

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

Domande

FAQ

Come uso l'API Instagram User Highlights?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/instagram/user-highlights 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.

Quanto costa l'API Instagram User Highlights?

A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Instagram User Highlights?

Richiesti: handle (string). Facoltativi: userId (string) e requireFields (array). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Instagram User Highlights?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Instagram?

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