1. Insights
swonkie.dev
  • Introduction
  • Quick Start
  • Changelog
  • Social Networks
    • Facebook
    • Instagram
    • LinkedIn
    • TikTok
    • Threads
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Insights
    • Getting Started
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • List Posts
      GET
    • Get a Post
      GET
    • Create a Post
      POST
    • Update a Post
      PUT
    • Validate a Post
      GET
    • Delete a Post
      DELETE
    • Change Post Stage
      PATCH
  • Labels
    • Getting Started
    • List Labels
      GET
    • Create a Label
      POST
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
  • 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.

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
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '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,ig-pub-post-comments' \
--header 'X-API-ID: {{apiId}}' \
--header 'X-API-KEY: {{apiKey}}'
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-03-11 19:13:36
Previous
Competitor Insights
Next
Posts
Built with