Skip to main content

Get Info by id

Retrieve user information by id.

Note: Please be aware that the responses from Get Web Profile Info and Get Info by id and endpoints are different.

Params

NameTypeDefaultDescription
id (required)intUser id

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_info_by_id(12281817))

Response example

Loading...