Skip to main content
Use POST /web/scrape with formats.parse: true and parseParams: {"type": "prebuilt", "parser": "instagram-profile"}. Read the result in parsed.data, with parsed.type: "instagram-profile". See the Quickstart for authentication and SDK setup. Don’t send custom rules with this parser. For CSS selectors and rules, use the Custom parser.

Request

Use a profile URL, instagram.com/{username}/. Query parameters are ignored.

Output

When parsed.success is true, the parsed output has this shape:

Profile fields

All fields are present. Unavailable scalar values are null; missing lists are []. latest_posts holds the 12 newest posts in the post shape, with like, comment, and view counts, paid partnerships, and sponsors. similar_accounts are the related profiles Instagram suggests. business_address is null unless a business account lists one. Private profiles return their profile fields with post_count: null and latest_posts: []. Follower and following lists, business email, and phone numbers need an Instagram login and aren’t returned. For a single post’s comments, use Instagram post.

Empty results and errors

A nonexistent or removed profile produces NOT_FOUND. Read parsed.success before using the data. A failed parse has data: null and can coexist with successful outputs. parsed.type remains "instagram-profile" even when parsing fails. See timeouts and errors for handling failures.

Request options

This parser reads public Instagram data separately from the rendered page, without logging in. Content filters and browser actions do not change its results. Browser profiles are unsupported with this parser. Other Scrape controls, including caching, timeouts, and zero data retention, still apply.