Instagram IDs to username avatar

Instagram IDs to username

Deprecated
View all Actors
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Instagram IDs to username

Instagram IDs to username

pocesar/instagram-ids-to-usernames

Convert Instagram ID numbers back to usernames

Instagram IDs to usernames

This actor allows you to convert a list of Instagram user IDs to their appropriate usernames.

When scraping posts or comments, Instagram often doesn't give you final user username but only their numerical representation. This actor allows you easily convert them and adds also general user data.

Input

Input is a list of user IDs, e.g.

1{
2    "ids": ["898537494"]
3}

You don't need to use JSON format, the actor allows you to use visual interface

Webhook

You can point other Instagram scrapers that don't have the username directly to this actor, and it will generate a dataset enriched with the user data for you!

https://api.apify.com/v2/acts/pocesar~instagram-ids-to-usernames/runs?token=[YOUR TOKEN HERE]

When you call this actor from the webhook, it will write the dataset ID back to your run, under DATASET_ID key in the Key value store, and RUN_ID with the run of this actor, so you can link them together.

Output

Output is a list of user data containing usernames and user URLs, e.g.

1[
2    {
3        "username": "chizawagames",
4        "pk": 898537494,
5        "profile_pic_url": "https://scontent-atl3-2.cdninstagram.com/v/t51.2885-19/s150x150/75322217_443843236272081_1698154713637191680_n.jpg?_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_cat=109&_nc_ohc=WDDwSFDUDHgAX8WVXFk&edm=AEF8tYYBAAAA&ccb=7-4&oh=db447812033dfaa22803cfc52e48393d&oe=61A4B454&_nc_sid=a9513d",
6        "url": "https://www.instagram.com/chizawagames"
7    }
8]

The output is also available as CSV, Excel, Xml and other formats.

If you call it using a actor, like https://apify.com/pocesar/fast-instagram-hashtag-scraper, it will append the user info on the datasets from it.

Developer
Maintained by Community