1. Competitors
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. Competitors

Add Competitor

POST
/competitor
Adds a public social media profile as a competitor in your workspace.
Use GET /search/profiles first to find the target profile and obtain its id, then pass that value as profileId in the request body.
If the profile is already tracked as a competitor in your workspace, the request is idempotent — it returns the existing competitor record without creating a duplicate.
Adding a competitor will trigger background data collection for that profile.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
Bodyapplication/json

🟠403Plan limit reached
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.swonkie.dev/v2/competitor' \
--header 'X-API-ID: ' \
--header 'X-API-KEY: ' \
--header 'Content-Type: application/json' \
--data '{
    "profileId": "UHJ0ZXdEWnMxV2ppVFNISDlZZlRWdz09"
}'
Response Response Example
201 - 201 Created
{
    "id": "d3hQY09Bc0hUUDhQbElKRUhldGN2dz09",
    "profileId": "UHJ0ZXdEWnMxV2ppVFNISDlZZlRWdz09"
}
Modified at 2026-06-22 10:56:00
Previous
Competitors
Next
Delete Competitor
Built with