App Logo
instagram.com

Get Instagram profile

Get an Instagram profile by username. With a session: exact data from Instagram's profile API (source=api). Logged out (expired session, login wall, datacenter IP): falls back to the page's public og metadata instead of failing (source=og_meta / og_meta_loginwall) — counts are approximate (K/M/B rounded) and unknown fields (biography, is_verified, is_private, is_business, category, external_url) are null. Returns source, username, user_id, full_name, biography, followers, following, posts, is_verified, is_private, is_business, category, external_url, and profile_pic_url.

Input

username required

Handle without the @, e.g. 'natgeo'.

Output

source required

api = exact data from Instagram's profile API (requires a session). og_meta / og_meta_loginwall = public page metadata fallback when logged out: counts are approximate (K/M/B rounded), unknown fields are null.

username required
posts optional

Public post count; null on private/restricted views.

user_id optional

Stable numeric pk as a string; null when logged out and not embedded in the public page.

category optional
biography optional

null in og fallback.

followers optional

Approximate (K/M/B rounded) in og fallback.

following optional
full_name optional
is_private optional

null when unknown (og fallback).

is_business optional

null when unknown (og fallback).

is_verified optional

null when unknown (og fallback).

external_url optional
profile_pic_url optional

Start building for free