Skip to Content

Platforms

Instagram

Read Instagram profiles, posts, reels and highlights, comments, similar accounts, places, sounds, search and trending.

Read profiles with their posts, reels and highlights, posts with their comments, and what Instagram shows by keyword, place, sound and trend.

Quick Reference

PropertyValue
Endpoints15
Accounts byhandle or url
Posts byurl or id
Posts a page12
Comments a pageAbout 22, no replies
TranscriptsNo
CountsExact, no post count

Accounts

EndpointReturnsCredits
profileA profile with its follower and following counts.1
profile/highlightsAn account's story highlights, with their covers.1
profile/postsAn account's posts, newest first, 12 a page.1
profile/reelsAn account's reels with their plays, 12 a page.1
profile/similarAccounts like this one, as Instagram suggests them.5
highlightA story highlight's stories, with their media.1

Read a Profile

import { SocialAPI } from "@socialapihq/sdk";

const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });

const { data } = await client.instagram.profile({ handle: "natgeo" });
Response
{
  "data": {
    "id": "787132",
    "username": "natgeo",
    "displayName": "National Geographic",
    "bio": "Step into wonder and find your inner explorer with National Geographic 🌎",
    "avatarUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GAKLvih9nsRnYEVCAJlFVLiBvZt9bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy40MDAuQzMifQ%3D%3D&_nc_ohc=Fzq-SLmj7IoQ7kNvwGv6Q-m&_nc_oc=Adqba9tyEQDxQEp3-B2IZh6tpjHxc5VaFSfndZ5toAR85RUYhlNWPGd0hJZIDC29xxg&_nc_zt=24&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=DKToTpAPnxQ3-31AVDAh2w&_nc_ss=79b8c&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQQjsSzc6M516mz06KVhu_tGEUutW9TNo7UVxSYTkJDp-g&oe=6B0CB22B",
    "url": "https://www.instagram.com/natgeo/",
    "verified": true,
    "private": false,
    "followers": 267265090,
    "following": 195,
    "likes": null,
    "posts": null,
    "externalUrl": "http://visitstore.bio/natgeo",
    "createdAt": null,
    "ext": {
      "bioLinks": [
        {
          "url": "http://visitstore.bio/natgeo",
          "title": null
        },
        {
          "url": "https://ngmdomsubs.nationalgeographic.com/servlet/OrdersGateway?cds_mag_code=NGM&cds_page_id=283562&cds_response_key=I5FX10002",
          "title": "Subscribe Here!"
        }
      ],
      "category": null,
      "latestStoryAt": "2026-11-24T23:09:17.000Z",
      "hasReels": true,
      "threadsUsername": "natgeo",
      "memorialized": false,
      "moreHighlights": false
    }
  }
}

A profile's posts is null.

Reels and Highlights

  • Reels come with their plays, likes and comments, without captions or times.
  • Read a reel with post for its caption and time.
  • Highlights are the first 10. A profile's ext.moreHighlights says when there are more.

Similar Accounts

Up to 50, without their counts. Some accounts have none.

Private Accounts

A private account's profile reads, and its posts return 403 PRIVATE.

Posts

EndpointReturnsCredits
postOne post or reel with its counts, media and tags.1
post/commentsA post's comments with their likes, about 22 a page.5

Post Fields

A post's ext has its code, kind, location, sound, tagged accounts and paidPartnership.

Comments

Comments come about 22 a page with their likes.

Discovery

EndpointReturnsCredits
locationA place, with how many posts are tagged at it.1
location/postsA place's top posts with their likes and comments.5
searchPopular posts for a word or hashtag, 12 a page.1
soundA sound, and how many reels use it.1
sound/postsThe reels that use a sound, 12 a page.1
trendingThe reels feed Instagram gives a visitor, 8 a page.5
trending/topicsThe explore page's trending keywords and accounts.1
  • Search takes a word or a hashtag as query.
  • It returns the popular posts, mostly reels, 12 a page and about 100 in all.
  • Some words have none and return an empty list.
  • A place's posts are its top 18, on one page.
  • Trending topics are the explore page's keywords and accounts.