1. Insights
swonkie.dev
  • Introduction
  • 🆕 MCP Server
  • Changelog
  • Quick Start
  • Social Networks
    • Instagram v2
    • Google My Business
    • YouTube
    • X (Twitter)
    • Threads
    • Instagram
    • LinkedIn
    • TikTok
    • Facebook
  • ✨ Andie
    • Generate an Image
      POST
  • Search
    • Search Profiles
      GET
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Competitors
    • Add Competitor
      POST
    • Delete Competitor
      DELETE
  • Insights
    • Getting Started
    • My Profile Insights Metrics
      GET
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights Metrics
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • Limits by Social Network
    • List Posts
    • Get a Post
    • Create a Post
    • Update a Post
    • Validate a Post
    • Delete a Post
    • Change Post Stage
  • Labels
    • Getting Started
    • List Labels
    • Create a Label
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
    • Create a Media from URL
  • Examples
    • Publish
Back to Home
Back to Home
Login
  1. Insights

Competitor Insights Posts

GET
/competitor/{competitorId}/insights/posts
Retrieves post-level insights and metrics for one of your monitored competitor profiles over a specified date range. This endpoint provides detailed analytics for individual competitor posts, including publicly available engagement metrics such as likes, comments, shares, and views. The available metrics are limited to what the social network makes publicly accessible without authentication.
You can find available metric codes in the metric documentation for each source. Only metrics explicitly marked as API supported are available through the API.

Supported Networks#

NetworkCompetitor Post Insights
Facebook (public)✅
Instagram (public)✅

Notes#

Only publicly available metrics are supported for competitor posts. Private metrics requiring authentication are not accessible.
Available metrics are limited to public engagement data (likes, comments, shares, views) that the social network makes publicly visible.
Competitor metric codes usually have a -pub suffix (e.g., fb-pub-post-likes, ig-pub-post-comments).
Formula metrics (calculated metrics) are not supported via the API.
Post types: FEED (regular posts), TEMP (stories/temporary content), REEL (short-form video), ADS (paid advertisements).
The notes object only appears when deprecated or soon-to-be-deprecated metrics are requested.
Data is returned in descending order by publish date (most recent first).

Request

Path Params

Query Params

Header Params

Responses

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.swonkie.dev/v2/competitor/UG9zdElkMTIzNDU2Nzg1423/insights/posts?skip=0&take=100&since=2026-01-01&until=2026-01-31&metrics=ig-pub-post-likes%2Cig-pub-post-comments' \
--header 'X-API-ID: ' \
--header 'X-API-KEY: '
Response Response Example
{
    "hasMore": true,
    "items": [
        {
            "id": "ig_post_ABC123456",
            "picture": "https://storage.example.com/posts/competitor_abc.jpg",
            "type": "FEED",
            "format": "IMAGE",
            "url": "https://instagram.com/p/ABC123456",
            "caption": "Amazing view from the mountains! 🏔️ #nature #travel",
            "publishedAt": "2026-01-30T16:45:00.000Z",
            "insights": [
                {
                    "metric": "ig-pub-post-likes",
                    "value": 12450,
                    "type": "NUMBER"
                },
                {
                    "metric": "ig-pub-post-comments",
                    "value": 234,
                    "type": "NUMBER"
                }
            ]
        },
        {
            "id": "ig_post_XYZ789012",
            "picture": "https://storage.example.com/posts/competitor_xyz.jpg",
            "type": "REEL",
            "format": "VIDEO",
            "url": "https://instagram.com/reel/XYZ789012",
            "caption": "Quick tips for your daily routine ✨",
            "publishedAt": "2026-01-28T11:20:00.000Z",
            "insights": [
                {
                    "metric": "ig-pub-post-likes",
                    "value": 8920,
                    "type": "NUMBER"
                },
                {
                    "metric": "ig-pub-post-comments",
                    "value": 156,
                    "type": "NUMBER"
                }
            ]
        }
    ],
    "total": 48
}
Modified at 2026-06-19 17:25:23
Previous
Competitor Insights
Next
Posts
Built with