Playground
Api
Pricing
Contact
Login
Login
Playground
Api
Pricing
Contact
Instagram API Playground
User Endpoints
GET
User Info by Username
GET
User ID
GET
User Info by User ID
GET
User Posts
GET
User Reels
GET
User About (Country / Former Usernames)
GET
User Tagged Posts
GET
Similar Users
GET
Similar Users 2
GET
User Followers
GET
User Following
GET
User Profile Picture
GET
User Search
GET
User Stories
GET
User Stories2
GET
User Highlights List
GET
User Highlight Detail
GET
User Live Broadcast
Posts Endpoints
GET
Post Detail
GET
Post Detail by Media ID
GET
Post Comments
GET
Post Comments (Order by)
GET
Post Comment Replies
GET
Post Likes
GET
Tag Posts (Top)
GET
Tag Posts (Recent)
GET
Posts Location
GET
Posts Music
Search Endpoints
GET
Search User
GET
Search Reels
GET
Search Hashtag
GET
Search Music
GET
Search Location
GET
Explore Businesses
GET
Search Follower
GET
Search Following
GET
Search Category
Location Endpoints
GET
Location Info
GET
Location Posts
GET
Location Search
GET
Location Stories
Music Endpoints
GET
Music Info
GET
Music Search
GET
Music Posts
Live Broadcast Endpoints
GET
Live Broadcast Info
GET
Live Broadcast Comments
Shop Endpoints
POST
Shop Products
GET
Product Info
Get User Info by Username
Get Instagram user info by Instagram username.
Request URL
https://api.instagapi.com/userinfo/{username}
Header Parameters
X-InstagAPI-Key
SIGN-UP-FOR-KEY
Required Parameters
Username
TEST ENDPOINT
Code Snippets
Example Responses
Result
Copy Code
Node.js - Axios
PHP - cURL
Python - http.client
Python - Requests
Javascript - XMLHttpRequest
Javascript - Axios
Javascript - jQuery
C - Libcurl
C# - HttpClient
Go - NewRequest
Java - OkHttp
Powershell - Invoke-WebRequest
Ruby - net::http
Swift - NSURLSession