Skip to Content

Instagram API

15 endpoints for profiles, reels and places.

Every Instagram endpoint, by group. Each is a GET under /v1/instagram.

Quick Reference

PropertyValue
Base path/v1/instagram
Endpoints15
CreditsSee Below
GuideInstagram

Accounts

Posts

Discovery

Example Request

Every Instagram endpoint is called this way: its path, and what to read as query parameters.

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
    }
  }
}

Errors

A call that fails costs nothing. See Errors for every code.