Skip to main content

Get Info by username

Retrieve user information by username.

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

Params

NameTypeDefaultDescription
username (required)stringUsername

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_info_by_username("kyliejenner"))

Response example

Loading...