Instagram Scraper API
Collection of Instagram user profiles, comments, posts, followed users, and other related data
Scrapeless Instagram Scraping API
Public Data
Posts
The scraped data includes: Comment creation time, comment content, number of comment likes, number of comment replies, user profile, follower count, following count, and biography.
Seamless Large-Scale Instagram Data Extraction with Instagram API
ProfilePosts
- Python
- Golang
- Node.js
import json
import requests
def send_request():
host = "api.scrapeless.com"
url = f"https://{host}/api/v1/scraper/request"
token = "your_api_key"
headers = {
"x-api-token": token
}
json_payload = json.dumps({
"actor": "scraper.ins.profile.info",
"input": {
"username": "instagram"
}
})
response = requests.post(url, headers=headers, data=json_payload)
if response.status_code != 200:
print("Error:", response.status_code, response.text)
return
print("body", response.text)
if __name__ == "__main__":
send_request()
{
"attempts": "2",
"bio_links": [
{
"link_type": "external",
"lynx_url": "https://l.instagram.com/?u=https%3A%2F%2Fabout.fb.com%2Fnews%2F2025%2F04%2Fintroducing-new-built-in-restrictions-instagram-teen-accounts-expanding-facebook-messenger%2F&e=AT0L29WBkipGK2kQWfNAw4VpVyU8chFnugLuOKV2BenG-PgkDvwOuvaySRtsWQ0erxVroSmq_BRv53mi9JkxrKE-NSyTV1po",
"title": "",
"url": "https://about.fb.com/news/2025/04/introducing-new-built-in-restrictions-instagram-teen-accounts-expanding-facebook-messenger/"
}
],
"biography": "Discover what's new on Instagram 🔎✨",
"biography_with_entities": {
"entities": [],
"raw_text": "Discover what's new on Instagram 🔎✨"
},
"blocked_by_viewer": false,
"business_category_name": null,
"business_contact_method": "UNKNOWN",
"category_name": "Digital creator",
"edge_follow": {
"count": 165
},
"edge_followed_by": {
"count": 687040573
},
"edge_owner_to_timeline_media": {
"count": 7992,
"edges": [
{
"node": {
"__typename": "GraphVideo",
"dimensions": {
"height": 1919,
"width": 1080
},
"display_url": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.2885-15/489707446_18636810229001321_8753179227521763075_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=instagram.fbcn2-1.fna.fbcdn.net&_nc_cat=1&_nc_oc=Q6cZ2QGw6T6Yc5o2PYw-zOUe61flInMKZIN6oleMdWVBkBGG_ztx2wtIA_JrCM04Zyyk4l4&_nc_ohc=TxOorxXM96MQ7kNvwEwTufm&_nc_gid=5YOOmUqwOumoSxEHfZB-Yg&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfES_or_kc87GOKksjuTLrjD3uMfkQ_QTB5-7qUzuTATfg&oe=67FD50C5&_nc_sid=8b3546",
"edge_liked_by": {
"count": 104609
},
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "tfw you discover hands-free mode for the first time 😳 \n\nft. @raybanmeta 😎\n\n#InTheMoment\n\nVideo by @gabrielegreco__"
}
}
]
},
"edge_media_to_comment": {
"count": 2431
}
}
}
]
}
}
Instagram Scraper API FAQs.
What is Instagram API?
The Instagram API is a powerful tool that supports scraping, accessing, and analyzing real-time data from Instagram, effectively boosting performance.
Does scraping Instagram require proxy and CAPTCHA handling?
No. The Instagram Scraper API operates through enterprise-grade infrastructure with integrated web unlocking technology, bypassing geolocation restrictions, IP blocking mechanisms, and anti-bot CAPTCHA challenges for continuous data acquisition.
How is the Scrapeless Instagram API billed?
Billing is exclusively based on successful API calls (HTTP 200 status with valid JSON payloads). Cached responses, network errors, and invalid requests incur zero charges.
Is scraping Instagram data legal?
The API adheres to global data protection frameworks including GDPR (EU General Data Protection Regulation) and CCPA (California Consumer Privacy Act), with built-in features like request throttling and data anonymization to ensure ethical compliance.
How to start using Instagram API?
You can register an account and apply for a free trial. After registering and logging in, you can set parameters and test them in the background and directly generate codes. For official use, you can integrate APIs according to the document instructions.
Easily Extract Instagram Data with Scrapeless
Enterprise-level Data Scraping Solution
High-quality, tailored web scraping solutions and expert services designed for critical business projects.
Customized Data Scraping Solutions
Tailored web scraping services designed to address your unique business requirements and deliver actionable insights.
Data Cleaning and Transformation
Enhance data accuracy and usability through comprehensive cleaning and transformation processes, turning raw data into valuable information.
Data Security and Privacy Protection
Protect your data with state-of-the-art security measures and strict compliance standards, ensuring privacy and confidentiality at every step.