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

GET
/competitor/{competitorId}/insights
Retrieves daily aggregated insights and metrics for one of your monitored competitor profiles over a specified date range. This endpoint provides analytics data such as followers, engagement, and other publicly available metrics that are tracked on a daily basis. The available metrics depend on what data the social network makes publicly accessible for competitor analysis.
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 Daily Insights
Facebook (public)✅
Instagram (public)✅

Notes#

Only publicly available metrics are supported for competitor profiles. Private metrics requiring authentication are not accessible.
Available metrics vary by social network and are typically limited to public data (followers, post counts, engagement on public posts).
Competitor metric codes usually have a -pub suffix (e.g., fb-pub-daily-page-fans, ig-pub-daily-followers-count).
Formula metrics (calculated metrics) are not supported via the API.
The notes object only appears when deprecated or soon-to-be-deprecated metrics are requested.
Data is returned in descending order by 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?skip=0&take=100&since=2026-01-01&until=2026-01-31&metrics=ig-pub-daily-followers-count%2Cig-pub-post-count' \
--header 'X-API-ID: ' \
--header 'X-API-KEY: '
Response Response Example
{
    "hasMore": false,
    "items": [
        {
            "date": "2026-01-31T00:00:00.000Z",
            "insights": [
                {
                    "metric": "ig-pub-daily-followers-count",
                    "value": 125340,
                    "type": "NUMBER"
                },
                {
                    "metric": "ig-pub-post-count",
                    "value": 2,
                    "type": "NUMBER"
                }
            ]
        },
        {
            "date": "2026-01-30T00:00:00.000Z",
            "insights": [
                {
                    "metric": "ig-pub-daily-followers-count",
                    "value": 125120,
                    "type": "NUMBER"
                },
                {
                    "metric": "ig-pub-post-count",
                    "value": 1,
                    "type": "NUMBER"
                }
            ]
        }
    ],
    "total": 31
}
Modified at 2026-06-19 17:25:23
Previous
Competitor Insights Metrics
Next
Competitor Insights Posts
Built with