Get Instagram profile
TL;DR
About
Give it a handle such as natgeo and you get what the top of that profile shows (name, bio, the three counts, badges, category, link in bio) plus the numeric user_id that other Instagram scripts ask for. Say a small skincare brand has 40 creator handles from a hashtag. The team runs each one, keeps the accounts with 10,000 to 80,000 followers whose category mentions beauty, and only then pulls recent posts for the survivors before anyone gets a DM. Skip is_business in that filter, since it mirrors the business-account setting and there is no creator flag. Keep an eye on source too. With api, the data Instagram loads for a signed-in browser was captured and the counts are exact. With og_meta it was not, usually because the browser is logged out, so counts are rounded and bio, badges, category and link are null. A login wall makes the run fail, so sign in to Instagram there and retry.
Input
username requiredHandle without the @, e.g. 'natgeo'.
Output
source requiredapi = exact data from Instagram's profile API. A run that cannot read it throws rather than returning partial data.
username requiredposts optionalPost count; null when Instagram's answer does not carry it.
user_id optionalStable numeric pk as a string.
category optionalbiography optionalnull when the profile has none.
followers optionalfollowing optionalfull_name optionalis_private optionalis_business optionalnull when Instagram's answer does not say.
is_verified optionalexternal_url optionalprofile_pic_url optionalExample output
Shape only: placeholder values generated from the output schema, not a real run.
{
"posts": 3.5,
"source": "api",
"user_id": "abc123",
"category": "…",
"username": "…",
"biography": "…",
"followers": 1200,
"following": 3.5,
"full_name": "…",
"is_private": true,
"is_business": true,
"is_verified": true,
"external_url": "https://example.com/item/123",
"profile_pic_url": "https://example.com/item/123"
}