Profile
Get an Instagram account’s name, bio, avatar and counters.
Endpoint
GET
/s/instagram/profileSend your API key in the X-API-Key header. instagram is the usual service slug; use the one shown on your subscription if it differs.
Query parameters
| Name | Description |
|---|---|
usernamerequired | Account name, with or without the leading @.Example: natgeo |
Example request
curl '/s/instagram/profile?username=natgeo' \
-H 'X-API-Key: YOUR_API_KEY'Example response
The result is in data. Fields the platform didn't report are left out. Field reference: response shapes.
{
"data": {
"platform": "instagram",
"id": "787132",
"username": "natgeo",
"name": "National Geographic",
"bio": "Inspiring the explorer in everyone",
"avatar": "https://scontent.cdninstagram.example/natgeo-hd.jpg",
"externalUrl": "https://natgeo.com",
"links": [
{
"url": "https://natgeo.com"
},
{
"url": "https://nationalgeographic.com/subscribe",
"title": "Subscribe Here!"
}
],
"verified": true,
"private": false,
"followers": 280000000,
"following": 150,
"postCount": 30000
}
}