Platforms
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
| Property | Value |
|---|---|
| Endpoints | 15 |
| Accounts by | handle or url |
| Posts by | url or id |
| Posts a page | 12 |
| Comments a page | About 22, no replies |
| Transcripts | No |
| Counts | Exact, no post count |
Accounts
| Endpoint | Returns | Credits |
|---|---|---|
profile | A profile with its follower and following counts. | 1 |
profile/highlights | An account's story highlights, with their covers. | 1 |
profile/posts | An account's posts, newest first, 12 a page. | 1 |
profile/reels | An account's reels with their plays, 12 a page. | 1 |
profile/similar | Accounts like this one, as Instagram suggests them. | 5 |
highlight | A 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" });{
"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
postfor its caption and time. - Highlights are the first 10. A profile's
ext.moreHighlightssays 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
| Endpoint | Returns | Credits |
|---|---|---|
post | One post or reel with its counts, media and tags. | 1 |
post/comments | A 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
| Endpoint | Returns | Credits |
|---|---|---|
location | A place, with how many posts are tagged at it. | 1 |
location/posts | A place's top posts with their likes and comments. | 5 |
search | Popular posts for a word or hashtag, 12 a page. | 1 |
sound | A sound, and how many reels use it. | 1 |
sound/posts | The reels that use a sound, 12 a page. | 1 |
trending | The reels feed Instagram gives a visitor, 8 a page. | 5 |
trending/topics | The explore page's trending keywords and accounts. | 1 |
Search
- 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.
Places and Trends
- A place's posts are its top 18, on one page.
- Trending topics are the explore page's keywords and accounts.