Instagram/Individual Post
Individual Post
GET
https://api.shofo.ai/instagram/postGet detailed data for a specific Instagram post by shortcode or URL.
Pricing
Base cost: $0.0001 per post
- + Transcript: $0.0001/post (if available)
- + Video file: $0.0001/post
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
code_or_url | string | Required | Post shortcode (e.g., DRhvwVLAHAG) or full Instagram URL |
Accepted Input Formats
The code_or_url parameter accepts either a shortcode or a full URL:
- •Shortcode:
CxYz123ABC - •Post URL:
https://www.instagram.com/p/CxYz123ABC/ - •Reel URL:
https://www.instagram.com/reel/CxYz123ABC/
Response Format
{
"success": true,
"data": {
"post": {
"id": "CxYz123ABC",
"caption": "Amazing sunset #photography #nature",
"like_count": 5000,
"comment_count": 120,
"created_at": "2024-01-15T18:00:00Z",
"media_type": "image",
"media_url": "https://...",
"video_url": null,
"hashtags": ["photography", "nature"],
"location": "San Francisco, CA",
"author": {
"username": "example_user",
"full_name": "Example User",
"profile_pic_url": "https://..."
}
},
"api_calls": 1,
"addons": {
"transcripts": null,
"video_files": null
}
},
"cost": "$0.0001",
"request_id": "req_abc123"
}Try It
GET
https://api.shofo.ai/instagram/post$0.0001
Send a request to see the response