Docs · Reference
Instagram Profile
GET /v1/social/instagram/profile2 credits / requestcache 360 minA public Instagram creator or brand profile as a logged-out visitor sees it: name, handle, verified badge, bio and bio links, exact follower and following counts, post count, avatar and the latest posts (shortcode, link, type, caption, image, date). Instagram hides like and comment counts and the account category from logged-out visitors, so those come back as null, never estimated. Instagram shows most server IPs a login wall: we detect it and never log in, so this engine runs through residential proxies and blocks are free. Private accounts are never returned; e-mail addresses and phone numbers inside bios and captions are masked.
Query parameters
usernamestring · required | Instagram handle with or without @ (e.g. 'nasa'), or a profile URL such as https://www.instagram.com/nasa/. |
limitinteger | How many of the latest posts to include (0-12). Instagram preloads 12 posts for logged-out visitors. Default: 12 |
max_ageinteger | Accept a cached answer up to this many seconds old, billed at 50%. |
Response data fields
Example
curl "https://api.gridlode.com/v1/social/instagram/profile?username=nasa&limit=6" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the Instagram Profile API page.