Instagram Scraper avatar
Instagram Scraper

Pricing

$2.30 / 1,000 results

Go to Store
Instagram Scraper

Instagram Scraper

Developed by

Apify

Apify

Maintained by Apify

Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Get data from Instagram using one or more Instagram URLs or search queries. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

4.4 (54)

Pricing

$2.30 / 1,000 results

1446

Total users

93.9k

Monthly users

10.6k

Runs succeeded

>99%

Issue response

2.7 days

Last modified

a day ago

UT

Can the actor get "account_type"

Open

uta_technology opened this issue
14 days ago

The Instagram Graph API returns a key-value pair called "account_type" which has values 1, 2, or 3 (indicating "Personal", "Business", or "Creator". Is it possible to get this added to the actor please?

Thanks!

weuts avatar

Hi 😊

What endpoint are you talking about? I'm seeing category_enum in our response with a string value - would that be useful for you?

alexey avatar

Will need to make a separate request per profile, so it will be available by JSON input option (not by default to not downgrade performance for other users).

Please check if any of the values below are useful for you, because the actor will be getting all of them anyway

{
"friendship_status": null,
"gating": null,
"is_memorialized": false,
"is_private": false,
"has_story_archive": null,
"supervision_info": null,
"is_regulated_c18": false,
"regulated_news_in_locations": [],
"bio_links": [
{
"image_url": "",
"is_pinned": false,
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.patreon.com%2Fhumansofnewyork&e=AT3x32Oq4DkQ5Rk93DfOu1rqCbl2o87y4bcVKCQ2AXICvVYIoTt5EkVALKmG8RkzG5qrTpNm45eCF3snev6OkPxYNnFfM0Vx_La424JWyGwaRuA2",
"media_type": "none",
"title": "Join HONY’s Patreon",
"url": "https://www.patreon.com/humansofnewyork"
}
],
"text_post_app_badge_label": "humansofny",
"show_text_post_app_badge": true,
"username": "humansofny",
"text_post_new_post_count": null,
"pk": "242598499",
"live_broadcast_visibility": null,
"live_broadcast_id": null,
"profile_pic_url": "https://instagram.fbkk23-1.fna.fbcdn.net/v/t51.2885-19/488057622_654626203990134_4938995104135839433_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=instagram.fbkk23-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QEwbY2XGqLAILdtbM9pEax8VkwdC9-l7Mqg4SJdywwX9taEIsgsGmiOO2nMJE-PuUHSyDGOmE--2WZ-OYILP6Kk&_nc_ohc=IRYGNT9pjscQ7kNvwH2SAug&_nc_gid=hnegLxgEWSG_b8e9p_Sc9w&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfEoozFfjl5ENLYvmgMzvf3iavWdWCTCrznthuTqFECloA&oe=681E6301&_nc_sid=7d3ac5",
"hd_profile_pic_url_info": {
"url": "https://instagram.fbkk23-1.fna.fbcdn.net/v/t51.2885-19/488057622_654626203990134_4938995104135839433_n.jpg?_nc_ht=instagram.fbkk23-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QEwbY2XGqLAILdtbM9pEax8VkwdC9-l7Mqg4SJdywwX9taEIsgsGmiOO2nMJE-PuUHSyDGOmE--2WZ-OYILP6Kk&_nc_ohc=IRYGNT9pjscQ7kNvwH2SAug&_nc_gid=hnegLxgEWSG_b8e9p_Sc9w&edm=ALGbJPMBAAAA&ccb=7-5&oh=00_AfFAxjHGcxhdSJOloLtA3h_E43kGVGRVK0TpQD1paLs4aQ&oe=681E6301&_nc_sid=7d3ac5"
},
"is_unpublished": false,
"latest_reel_media": 0,
"has_profile_pic": null,
"profile_pic_genai_tool_info": [],
"biography": "New York City, one story at a time. Created by Brandon Stanton. Humans of New York is audience supported, please consider joining Patreon below:",
"full_name": "Humans of New York",
"is_verified": true,
"show_account_transparency_details": true,
"account_type": 3,
"follower_count": 12797953,
"mutual_followers_count": null,
"profile_context_links_with_user_ids": null,
"address_street": null,
"city_name": null,
"is_business": false,
"zip": null,
"biography_with_entities": {
"entities": []
},
"category": "Arts & Humanities Website",
"should_show_category": false,
"account_badges": [],
"ai_agent_type": null,
"fb_profile_bio_link_web": null,
"external_lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fwww.patreon.com%2Fhumansofnewyork&e=AT3x32Oq4DkQ5Rk93DfOu1rqCbl2o87y4bcVKCQ2AXICvVYIoTt5EkVALKmG8RkzG5qrTpNm45eCF3snev6OkPxYNnFfM0Vx_La424JWyGwaRuA2",
"external_url": "https://www.patreon.com/humansofnewyork",
"pronouns": [],
"transparency_label": null,
"transparency_product": null,
"has_chaining": null,
"remove_message_entrypoint": null,
"fbid_v2": "17841401154973790",
"is_embeds_disabled": false,
"is_professional_account": null,
"following_count": 505,
"media_count": 5754,
"total_clips_count": 1,
"latest_besties_reel_media": null,
"reel_media_seen_timestamp": null,
"id": "242598499"
}
UT

uta_technology

9 days ago

Hey! Thanks for investigating this. It was the key-value pair of "account_type": 3 in the above response that I'm interested in seeing. Is it possible to add this to the main response so we don't need to make a second call to get this?

alexey avatar

@uta_technology separate call is necessary because the value is not presented anywhere else. So, from the separate call, we can keep all the additional values or just one, consumed resources will be the same.