INSTAGRAM API
Profile Post Count
Retrieve profile post count from Instagram with a single API request.
GET
/api/data/v1/instagram/profile/post-count1credit base cost
Request parameters
Up to 1 creditInstagram handle
Set to true to return scaled estimates when Instagram abbreviates counts for profiles with more than 10,000 posts. Defaults to false; false or omitted returns an uncharged 422 when only an estimate is available.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/instagram/profile/post-count?handle=lifestyleperfume' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"handle": "lifestyleperfume",
"media_count": 2774,
"is_estimated": false
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"handle": {
"type": "string"
},
"media_count": {
"type": "integer"
},
"is_estimated": {
"type": "boolean"
}
}
}