Instagram Profile API Documentation
Instagram Profile API retrieves public profile information for a specified Instagram username, including name, avatar, bio, followers, following and more.
API Parameters
Search Query
-
- Name
-
username - Required
- Required
- Description
-
Parameter defines the username of the Instagram profile you want to search.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
instagram_profile.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.org/api/v1/search?engine=instagram_profile&username=cristiano
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.org/api/v1/search"
params = {
"engine": "instagram_profile",
"username": "cristiano"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_875nmM02pVWXi5degwE4z1Yx",
"status": "Success",
"created_at": "2025-10-28T12:33:26Z",
"request_time_taken": 1.41,
"parsing_time_taken": 0.01,
"total_time_taken": 1.42,
"request_url": "https://www.instagram.com/cristiano",
"html_url": "https://www.searchapi.io/api/v1/searches/search_875nmM02pVWXi5degwE4z1Yx.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_875nmM02pVWXi5degwE4z1Yx"
},
"search_parameters": {
"engine": "instagram_profile",
"username": "cristiano"
},
"profile": {
"username": "cristiano",
"name": "Cristiano Ronaldo",
"bio": "SIUUUbscribe to my Youtube Channel!",
"avatar": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-19/472007201_1142000150877579_994350541752907763_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw5-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGKOlY8cD4DS2dyneOy5r7FpXRBIAFwhHnNmOfmYQVihCC2Wc6V9ERb12CeQbnlF0o&_nc_ohc=hYWdjeCVamwQ7kNvwFOoshb&_nc_gid=TiM1qEdsGfE2shYaYuEMhg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfdnQRUlNaEOlTXz-j7YWeC3iSGp9XuptNvC_3rhsJCCBQ&oe=69069F9E&_nc_sid=8b3546",
"avatar_hd": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-19/472007201_1142000150877579_994350541752907763_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw5-2.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2QGKOlY8cD4DS2dyneOy5r7FpXRBIAFwhHnNmOfmYQVihCC2Wc6V9ERb12CeQbnlF0o&_nc_ohc=hYWdjeCVamwQ7kNvwFOoshb&_nc_gid=TiM1qEdsGfE2shYaYuEMhg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfffVxjiBTJwpBBQGCBOXpmcEbJMrGQUnzf1tbk-nHI8Mg&oe=69069F9E&_nc_sid=8b3546",
"is_verified": true,
"is_business": true,
"posts": 3957,
"followers": 666962258,
"following": 614,
"external_link": "http://avacr7.com/en",
"bio_links": [
{
"title": "AVA",
"url": "http://avacr7.com/en"
}
]
}
}