Skip to Content

Profile Similar

Accounts like this one, as Instagram suggests them.

GET
/v1/instagram/profile/similar

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The username, with or without @.

url?string

The profile's link, instead of handle.

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.instagram.profileSimilar({ handle: "natgeo" });
Example Response
{  "data": [    {      "id": "14443889360",      "username": "oceansnation",      "displayName": "Oceans Nation",      "bio": null,      "avatarUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/101941578_595012604469085_7877055275964825600_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ig_cache_key=GEqBEwZdH_0qKR0CAAAAAAAK7FBtbkULAAAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=5ATG8IBRo_0Q7kNvwEK7bcY&_nc_oc=Adq4-2TBUak7OWs4ndJdg8jHKn8dxqlxNl9wMhH3I_Lz1FI88o80pXBB54JS5trASNs&_nc_zt=24&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_ss=79b8c&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQSeN63xxRVrg6K9Bj_h_8oRp0pZEl4k2DxdzhVAyhItrw&oe=6B0CC71C",      "url": "https://www.instagram.com/oceansnation/",      "verified": true,      "private": false,      "followers": null,      "following": null,      "likes": null,      "posts": null,      "externalUrl": null,      "createdAt": null,      "ext": {        "bioLinks": [],        "category": null,        "latestStoryAt": null,        "hasReels": false,        "threadsUsername": null,        "memorialized": false,        "moreHighlights": false      }    },    {      "id": "1934468093",      "username": "natgeo_africa",      "displayName": "Nat Geo Channel Africa",      "bio": null,      "avatarUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/529167135_18487897162068094_3833751336155906899_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ig_cache_key=GB9zih9_MP3_pK5BAFODwDSHODQ1bmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDQyLkMzIn0%3D&_nc_ohc=z38Q4LwgwOMQ7kNvwFuGyb1&_nc_oc=AdoiyZKzuiR6NVj-D384hbi32i5mj1FYtRAFxsD0PGOzkqm16lSPKyFe9YZl-BatuFs&_nc_zt=24&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=q2iT86wQKjUNRkaxRfTx8w&_nc_ss=79b8c&_nc_ct=RQosPBUCFQIAAAA&oh=00_AQQSmnYDRK5VxQ2CP7z4sNAjb-6vM-f2MZvJ3cN2ZluB_g&oe=6B0CCC26",      "url": "https://www.instagram.com/natgeo_africa/",      "verified": true,      "private": false,      "followers": null,      "following": null,      "likes": null,      "posts": null,      "externalUrl": null,      "createdAt": null,      "ext": {        "bioLinks": [],        "category": null,        "latestStoryAt": null,        "hasReels": false,        "threadsUsername": null,        "memorialized": false,        "moreHighlights": false      }    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}