Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Instagram User Highlights

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

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

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
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.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.001 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON
InstagramOd $0.0012 za wywołanieJSON
InstagramOd $0.0011 za wywołanieJSON

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

Pytania

FAQ

Jak używać API Instagram User Highlights?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/instagram/user-highlights z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Instagram User Highlights?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Instagram User Highlights?

Wymagane: handle (string). Opcjonalne: userId (string) i requireFields (array). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Instagram User Highlights?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Instagram lub klucza API?

Nie. Instagram User Highlights działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Instagram.