User Profile
Highlights

Get a user's web highlights GraphQL response

Return the paginated web GraphQL envelope inside response.

Serving-viewer fields are omitted. Private and missing users use the API's standard error responses.

get/gql/user/highlights

Request

  • Base URL: https://api.hikerapi.com
  • URL: https://api.hikerapi.com/gql/user/highlights
  • Auth: API key in header x-access-key

Query parameters

user_idstring required
page_idstring nullable

Use next_page_id from the previous response

countinteger nullable

Requested page size; Instagram may return a different size

Response

Successful Response

responseobject required

Raw Instagram API response dict. Structure varies by endpoint.

next_page_idstring nullable required

Cursor for the next page. Pass as page_id in the next request. null if no more pages.

Example response

{
  "response": {
    "items": [
      {
        "...": "...",
        "id": "123456_789",
        "media_type": 1,
        "pk": 123456
      }
    ],
    "paging_info": {
      "max_id": "cursor_string",
      "more_available": true
    },
    "status": "ok"
  },
  "next_page_id": "QVFCcnhIWE82OUswLXBtNzlpZ0ZaUnhWZEhr..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.