Skip to main content

Track Instagram Posts & Reels

Monitor Instagram post performance with hourly snapshots of likes, comments, and saves. No business account or Facebook connection required.

Step-by-Step Guide

1

Get API Key

  1. Sign up at contentstats.io
  2. Go to Dashboard → API Keys
  3. Create and copy your API key
2

Find Instagram Post URL

Get the URL of any public Instagram post or reel:
https://www.instagram.com/p/ABC123/
https://www.instagram.com/reel/XYZ789/
3

Start Tracking

curl -X POST https://www.contentstats.io/api/v1/videos/track \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cs_live_YOUR_KEY" \
  -d '{
    "video_link": "https://www.instagram.com/p/ABC123/",
    "duration_days": 7
  }'
Response:
{
  "id": "cm5insta123",
  "platform": "instagram",
  "status": "monitoring",
  "estimated_cost": 2.52
}
4

Get Performance Data

After 1 hour, retrieve snapshots:
curl https://www.contentstats.io/api/v1/videos/cm5insta123 \
  -H "X-API-Key: cs_live_YOUR_KEY"

Available Metrics

Track these Instagram metrics hourly:
  • Likes: Total like count
  • Comments: Number of comments
  • Saves: Bookmark/save count

Use Cases

Campaign Monitoring

const campaignPosts = [
  'https://instagram.com/p/POST1/',
  'https://instagram.com/p/POST2/',
  'https://instagram.com/p/POST3/'
];

campaignPosts.forEach(url => trackPost(url, 14));

Pricing

Cost = Duration (days) × 24 hours × $0.015

7 days: 7 × 24 × $0.015 = $2.52 per post

Next Steps

Instagram Developer API

Code examples & integration

API Restrictions

Compare with official API

YouTube API Alternative

No quotas for YouTube tracking

TikTok API Alternative

Skip TikTok’s approval process