Instagram/User Posts
User Posts
GET
https://api.shofo.ai/instagram/user-postsGet posts or reels from an Instagram user's profile.
Pricing
Base cost: $0.0001 per post
- + Transcript: $0.0001/post (if available)
- + Video file: $0.0001/post
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | Required | Instagram username |
count | integer | Required | Number of posts to retrieve |
reels_only | boolean | Optional | Fetch only reels instead of all postsDefault: false |
Reels Only Mode
Set reels_only=true to fetch only Reels (short-form video content) instead of all posts.
- •false (default) - Returns all post types (images, carousels, videos, reels)
- •true - Returns only Reels content
Response Format
{
"success": true,
"data": {
"user": {
"username": "example_user"
},
"posts": [
{
"id": "CxYz123...",
"caption": "Beautiful sunset #photography #nature",
"like_count": 5000,
"comment_count": 120,
"created_at": "2024-01-15T18:00:00Z",
"media_type": "image",
"media_url": "https://...",
"hashtags": ["photography", "nature"],
"location": "San Francisco, CA"
}
],
"total_fetched": 10,
"api_calls": 1,
"addons": {
"transcripts": null,
"video_files": null
}
},
"cost": "$0.0010",
"request_id": "req_abc123"
}Try It
GET
https://api.shofo.ai/instagram/user-posts$0.0001
Send a request to see the response