> **For coding agents and LLMs:** This is one page from the Social Fetch docs (markdown export). The sections below mirror the orientation block in [`/llms.txt`](https://www.socialfetch.dev/llms.txt); use [`/llms.json`](https://www.socialfetch.dev/llms.json) when you need a structured operation inventory. The catalog covers documented operations with on-site reference pages.

## This page

- **On-site (HTML):** [https://www.socialfetch.dev/docs/api/v1/instagram/profiles/handle/highlights/get](https://www.socialfetch.dev/docs/api/v1/instagram/profiles/handle/highlights/get)
- **Markdown (.mdx) URL:** [https://www.socialfetch.dev/docs/api/v1/instagram/profiles/handle/highlights/get.mdx](https://www.socialfetch.dev/docs/api/v1/instagram/profiles/handle/highlights/get.mdx)

## API base URL and authentication

- **API origin (from OpenAPI `servers`):** `https://api.socialfetch.dev`
- **Authentication:** send `x-api-key: sfk_...` on `/v1/**` routes unless the operation is explicitly anonymous (check OpenAPI `security`, the [API reference hub](https://www.socialfetch.dev/docs/api.mdx), [`/llms.txt`](https://www.socialfetch.dev/llms.txt), or [`/llms.json`](https://www.socialfetch.dev/llms.json) for each route).
- **OpenAPI JSON:** [https://www.socialfetch.dev/openapi.json](https://www.socialfetch.dev/openapi.json)

## Recommended docs entrypoints (this site)

- [Documentation overview](https://www.socialfetch.dev/docs.mdx) — top-level orientation (markdown).
- [Quickstart](https://www.socialfetch.dev/docs/quickstart.mdx) — authenticate with `x-api-key`, validate auth with `whoami`, and understand the JSON envelope.
- [SDK](https://www.socialfetch.dev/docs/sdk.mdx) — official TypeScript SDK guide, including `SocialFetchClient`, `Result`, and `unwrap()`.
- [SDK reference](https://www.socialfetch.dev/docs/sdk-reference.mdx) — exhaustive SDK method inventory and route mapping for agents, tooling, and power users.
- [Choose the right endpoint](https://www.socialfetch.dev/docs/choose-endpoint.mdx) — task-oriented route selection for smoke tests, profiles, list endpoints, and single-item lookups.
- [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx) — fast comparison of identifiers, pagination, outcomes, media download, and SDK coverage.
- [`/llms.json`](https://www.socialfetch.dev/llms.json) — structured machine-readable operation inventory with parameter names, pagination, outcomes, credits, and SDK mapping.
- [API reference hub](https://www.socialfetch.dev/docs/api.mdx) — human-friendly index of operations with links into generated pages.
- [Errors](https://www.socialfetch.dev/docs/errors.mdx) — shared error envelope and HTTP status guidance.
- [Credits](https://www.socialfetch.dev/docs/credits.mdx) — metering, `402`, and planning batch jobs.
- Outcome semantics such as `found`, `not_found`, and `private` are documented in [Errors](https://www.socialfetch.dev/docs/errors.mdx) and on operation pages when present in the OpenAPI contract.

## Markdown docs convention

- Every docs page has a markdown twin: append **`.mdx`** to the docs pathname (for example `/docs/quickstart` → `/docs/quickstart.mdx`).
- Agents that send `Accept: text/markdown` on `/docs/**` HTML URLs may receive markdown directly (same URL, `Vary: Accept`).

---
# List Instagram profile highlights (https://www.socialfetch.dev/docs/api/v1/instagram/profiles/handle/highlights/get)

## Summary

List story highlight albums for an Instagram profile.

**Tags:** `Instagram`

## HTTP

- **Method:** GET
- **Path:** `/v1/instagram/profiles/{handle}/highlights`
- **Base URL:** `https://api.socialfetch.dev`

## Capability summary

- **SDK mapping:** `client.instagram.getProfileHighlights({ handle })`
- **Accepted identifiers:** `handle` (path)
- **Pagination:** none
- **Business outcome field:** `data.lookupStatus` with values `found`, `not_found`

## Authentication

- **`x-api-key`**: API key (`sfk_...`)

## Parameters

### `handle` (path)

- **Required:** yes
- **Constraints:** type `string`; minLength: 1; maxLength: 64
- **Description:** Instagram handle whose story highlight albums should be listed.

## Responses (status codes)

- **200**: Instagram story highlight albums for the requested profile. Inspect `data.lookupStatus` to interpret empty `data.highlights` and not-found outcomes.
- **400**: Invalid handle or bad request
- **401**: Missing or invalid API key
- **402**: Insufficient credits
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed from the response (unexpected or invalid data).
- **503**: Service temporarily unavailable; safe to retry with backoff.

## Response body (200)

Instagram story highlight albums for the requested profile. Inspect `data.lookupStatus` to interpret empty `data.highlights` and not-found outcomes.

### Field outline

- **data** (required) — type `object`. Endpoint-specific response payload.
  - **lookupStatus** (required) — type `string`; enum: found, not_found. Whether highlight albums could be listed for this handle: found (including empty lists), or not_found when the handle does not resolve or highlights cannot be listed.
  - **highlights** (required) — type `array`. Story highlight albums for the requested profile when `lookupStatus` is `found`. Empty when `lookupStatus` is `not_found`, or when the profile has no visible highlight albums.
    - _items:_
      - **id** (required) — type `string`; minLength: 1. Instagram highlight album id.
      - **title** (required) — type `string`; nullable. Album title when Instagram provides one.
      - **coverThumbnailUrl** (optional) — type `string`. Cover thumbnail URL when available.
      - **croppedCoverThumbnailUrl** (optional) — type `string`. Cropped square cover thumbnail URL when available.
      - **owner** (optional) — type `object`. Album owner metadata when Instagram exposes it on the album.
        - **platformUserId** (optional) — type `string`. Instagram numeric user id for the album owner when present.
        - **handle** (optional) — type `string`. Instagram username for the album owner when present.
        - **avatarUrl** (optional) — type `string`. Profile image URL for the album owner when present.
  - **page** (required) — type `object`. Pagination state for the current response.
    - **nextCursor** (required) — type `string`; nullable. Cursor for a next page when pagination is supported. Always null for this endpoint.
    - **hasMore** (required) — type `boolean`. Whether another page is available. Always false for this endpoint.
- **meta** (required) — type `object`. Metadata describing the request and billing outcome.
  - **requestId** (required) — type `string`; minLength: 1. Unique request identifier for tracing this API call.
  - **creditsCharged** (required) — type `integer`; minimum: 0. Credits charged for this request.
  - **version** (required) — type `string`; enum: v1. Public API version that served the response.

### Example JSON (found)

```json
{
  "data": {
    "lookupStatus": "found",
    "highlights": [
      {
        "id": "17929440964811872",
        "title": "Operation Chad",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/555003756_18043662608392639_57526329583388619_n.jpg?stp=c0.455.1170.1170a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=TW9As2uQM9YQ7kNvwEalIvv&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af7JgfAU_kRlIzAqx-W7oZSolXODGikMloDrLp3ffypBVw&oe=6A135C57&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/555003756_18043662608392639_57526329583388619_n.jpg?stp=c0.455.1170.1170a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=TW9As2uQM9YQ7kNvwEalIvv&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4DZ6NcnjMkFsLWJDah4iPwfAYn8gcC9X6I56992HaDIQ&oe=6A135C57&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "18014620351917534",
        "title": "Basketball 🏀",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-15/491442186_18470708683073416_9185856987124145503_n.jpg?stp=c0.499.1284.1284a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=4_Nufr3R7FsQ7kNvwH6lSTH&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4OzUFkWFe2m2TgFHNc01cFzeOd1lWto3_jv3PaFz5UOQ&oe=6A134A02&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-15/491442186_18470708683073416_9185856987124145503_n.jpg?stp=c136.679.1096.1096a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=4_Nufr3R7FsQ7kNvwH6lSTH&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4Y3H6-7ooqq5ZjLpeWrKajKLvpqQSyYvVTWqjz-3Zzhg&oe=6A134A02&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "18012869968809469",
        "title": "Soccer ⚽️",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/568644232_18069553286371197_5555425816524544741_n.jpg?stp=c0.499.1284.1284a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=GzkWibFP38IQ7kNvwEhSDvg&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af5mPhrMkqEvTz0-kRg_XpoQHF_R5ln_D_zXOAyS5ZlNQQ&oe=6A135E70&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/568644232_18069553286371197_5555425816524544741_n.jpg?stp=c62.577.1194.1194a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=GzkWibFP38IQ7kNvwEhSDvg&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af6kDI25lzbSvGu7A6h1JyQGpLEE3Ly5F8h0HIO9sJNdnA&oe=6A135E70&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "18057230152936595",
        "title": "Beast Games",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/554089418_17941279977062985_4766430900432926925_n.jpg?stp=c0.499.1284.1284a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=MTkVpdrUmwYQ7kNvwEXx18o&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af7LqNQcQtNEWme2CViyrDhnsoAOfP_44luft7DT7kA4hQ&oe=6A135380&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-15/470945137_1145474977294133_7244034073377400225_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=gG5ASRjQ-jwQ7kNvwGqetIQ&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af6fYNGnD718rvrqsab2kYQlYeEoQMGB9ahqQas-ff0Z9Q&oe=6A134798&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "18009512485955420",
        "title": "Cool Peeps",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/554351099_17974707077926724_8432526724818146483_n.jpg?stp=c0.499.1284.1284a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=bOtZxLL8wwEQ7kNvwGxTQry&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4979GGTZvfj8OW8CqtUuWYu3am9HHq_QQkmA6Um7ts5g&oe=6A134545&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/554351099_17974707077926724_8432526724818146483_n.jpg?stp=c76.441.1056.1056a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=bOtZxLL8wwEQ7kNvwGxTQry&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4beF7F6SmQoSfIn1PIPRN5YX9aHApQKS2pbY8b1v4Xsw&oe=6A134545&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "18032721037413267",
        "title": "Feastables",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/573551832_18090918976917474_8261231922762285310_n.jpg?stp=c0.458.1179.1179a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=GrysrQgAiIgQ7kNvwEpPLHX&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af5EHikSc4D2jd49LfaKFV13R_l7A01VpUmXHSRrbEtmEA&oe=6A134CA4&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-15/428490943_374761202080707_8006701650980724226_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=F6jFX-Zw5MIQ7kNvwHF9tzl&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af6-KSegsOTd-H9e_s1ZKaFvrznzfr5MdhkojZd_dQalZg&oe=6A1355F5&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "17998502645527909",
        "title": "🇮🇳",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.71878-15/465690882_3854423704831609_1531686886674372123_n.jpg?stp=c0.248.640.640a_dst-jpg_e15_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=MrSNUSpPpzgQ7kNvwGuNd5c&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af5uGwlXOXJEt1EigE_vmGwG38uvDZdJ0YWR3uraIHNAHg&oe=6A134FEC&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-15/466565633_8923619171019643_3590624605488027858_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=107&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=05rUsvTUgz8Q7kNvwG3ezSm&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4N39avY2ac6o5vRwg7L0WH7W60vvGwHSQr_znW7CLFSA&oe=6A13460A&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "17987606483520330",
        "title": "Football 🏈",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/584396356_18374917891150576_6740794773927239237_n.jpg?stp=c0.499.1284.1284a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=104&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=DBtYPn1VvnAQ7kNvwFDyqgu&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4O0R5I8hP_MmrIWlh5qNeguwfJy2c_ljffMnYxWw1u0w&oe=6A13636B&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.82787-15/584396356_18374917891150576_6740794773927239237_n.jpg?stp=c220.493.878.878a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=104&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=DBtYPn1VvnAQ7kNvwFDyqgu&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af50jVa-Sv-DoNyGDQjmiT301MuUggDSSm956THsGIlDlA&oe=6A13636B&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      },
      {
        "id": "17861723542385035",
        "title": "Baseball ⚾️",
        "coverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.71878-15/553377444_1139105744768649_9122747562193446257_n.jpg?stp=c0.437.1125.1125a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=sJkNY3ghgeUQ7kNvwHVjqM4&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af6ke2wuRlTRyRf7nw-IDBIi9oZ2B8CmEbdnS6i4trFHxw&oe=6A134A59&_nc_sid=94fea1",
        "croppedCoverThumbnailUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.71878-15/553377444_1139105744768649_9122747562193446257_n.jpg?stp=c25.729.742.742a_dst-jpg_e15_s150x150_tt6&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=sJkNY3ghgeUQ7kNvwHVjqM4&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af47c1mf_4ROQt9DaHovHD7zZCJk1laoGysaW8lDswDiOQ&oe=6A134A59&_nc_sid=94fea1",
        "owner": {
          "platformUserId": "2278169415",
          "handle": "mrbeast",
          "avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/31077884_211593632905749_1394765701385814016_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41MDAuYzIifQ&_nc_ht=scontent-phl2-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gEFsbPfqUD-w_CFhM9u0wxlQRscz-2YvEh--f_AdfsPLLTRW1mgbLgcQqfWvLbgLAY&_nc_ohc=6cN6_zHR0hkQ7kNvwGzgV3l&_nc_gid=Moru93K1hgNVo6WIIhYDgg&edm=AGW0Xe4BAAAA&ccb=7-5&oh=00_Af4hrVTESfihIJpfcl6KcIaX8IPKJuSedPb0v3c2vRPdZQ&oe=6A1350CF&_nc_sid=94fea1"
        }
      }
    ],
    "page": {
      "nextCursor": null,
      "hasMore": false
    }
  },
  "meta": {
    "requestId": "req_01example_highlights_found",
    "creditsCharged": 1,
    "version": "v1"
  }
}
```

### Example JSON (empty)

```json
{
  "data": {
    "lookupStatus": "found",
    "highlights": [],
    "page": {
      "nextCursor": null,
      "hasMore": false
    }
  },
  "meta": {
    "requestId": "req_01example_highlights_empty",
    "creditsCharged": 1,
    "version": "v1"
  }
}
```

### Example JSON (not_found)

```json
{
  "data": {
    "lookupStatus": "not_found",
    "highlights": [],
    "page": {
      "nextCursor": null,
      "hasMore": false
    }
  },
  "meta": {
    "requestId": "req_01example_highlights_nf",
    "creditsCharged": 1,
    "version": "v1"
  }
}
```

### Machine-readable error codes

When an error JSON body is returned, it may include one of these `error.code` values (derived from the OpenAPI schemas for this operation; additional codes may exist at runtime):

- `bad_request`

## Error handling & retries

Interpret HTTP status codes using the descriptions below. Do not assume a JSON body unless the OpenAPI schema defines one for that status.

- **400**: Invalid handle or bad request **Retry:** Fix the request; retrying the same invalid payload will not help.
- **401**: Missing or invalid API key **Retry:** Fix the API key first; retrying without changes will not help.
- **402**: Insufficient credits **Retry:** Do not retry without resolving billing/credits (retrying the same request will not help).
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed from the response (unexpected or invalid data). **Retry:** May be transient; a few retries with backoff are reasonable.
- **503**: Service temporarily unavailable; safe to retry with backoff. **Retry:** Usually safe to retry with exponential backoff and jitter.

### Suggested client defaults

- Send the API key using the `x-api-key` header on every request.
- On `503` (and sometimes `502`), retry with backoff; cap retries and surface a clear error to the user.
- On `402`, surface an actionable billing message rather than blind retries.

## Examples

### TypeScript SDK

```typescript
import { SocialFetchClient } from "@socialfetch/sdk";

const client = new SocialFetchClient({
  apiKey: process.env.SOCIALFETCH_API_KEY!,
});

const result = await client.instagram.getProfileHighlights({
  handle: "mrbeast",
});

if (!result.ok) {
  console.error(result.error);
} else {
  console.log(result.value.data);
}
```

### Node.js

```javascript
const response = await fetch(
  "https://api.socialfetch.dev/v1/instagram/profiles/mrbeast/highlights",
  {
    headers: {
      "x-api-key": "YOUR_API_KEY",
    }
  }
);

const data = await response.json();
console.log(data);
```

### cURL

```bash
curl "https://api.socialfetch.dev/v1/instagram/profiles/mrbeast/highlights" \
  -H "x-api-key: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://api.socialfetch.dev/v1/instagram/profiles/mrbeast/highlights",
    headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()
print(data)
```