{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Influencer Search",
    "description": "Find Instagram influencers by keyword or hashtag, filter by followers, engagement, niche and location, and extract emails and phone numbers.",
    "version": "1.0",
    "x-build-id": "N8oyCaBvd1NP366Hk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seemuapps~instagram-influencer-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seemuapps-instagram-influencer-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/seemuapps~instagram-influencer-search/runs": {
      "post": {
        "operationId": "runs-sync-seemuapps-instagram-influencer-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/seemuapps~instagram-influencer-search/run-sync": {
      "post": {
        "operationId": "run-sync-seemuapps-instagram-influencer-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords, niches or job titles to search Instagram accounts for (e.g. \"fitness coach\", \"vegan chef\", \"travel photographer\"). Each keyword returns Instagram's top matching accounts.",
            "items": {
              "type": "string"
            }
          },
          "searchHashtags": {
            "title": "Search hashtags",
            "type": "array",
            "description": "Hashtags (with or without #) whose top posts are scanned for their authors (e.g. \"homeworkout\", \"veganrecipes\"). Great for finding creators who are actually active in a niche.",
            "items": {
              "type": "string"
            }
          },
          "maxSearchPagesPerQuery": {
            "title": "Max search pages per query/hashtag",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many result pages to fetch for each keyword (about 20 accounts per page) and each hashtag (about 24 posts per page). Increase to discover more candidates per query.",
            "default": 1
          },
          "maxCountDiscovery": {
            "title": "Max accounts to analyse",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard ceiling on how many unique discovered accounts are enriched (profile + recent posts) and run through the filters. This bounds the run's cost and duration. Only accounts that pass every filter are returned and charged.",
            "default": 50
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many influencers have passed the filters and been saved. 0 = no limit (bounded only by Max accounts to analyse).",
            "default": 0
          },
          "extractEmail": {
            "title": "Extract email",
            "type": "boolean",
            "description": "Return the public email from the profile's contact button, or one found in the bio.",
            "default": true
          },
          "extractPhoneNumber": {
            "title": "Extract phone number",
            "type": "boolean",
            "description": "Return the public phone number from the profile's contact button, or one found in the bio.",
            "default": true
          },
          "extractWebsiteUrl": {
            "title": "Extract website URL",
            "type": "boolean",
            "description": "Return the external link from the profile bio.",
            "default": true
          },
          "extractBusinessCategory": {
            "title": "Extract business category",
            "type": "boolean",
            "description": "Return the Instagram business/creator category label (e.g. \"Personal trainer\", \"Digital creator\").",
            "default": true
          },
          "extractPhysicalAddress": {
            "title": "Extract physical address",
            "type": "boolean",
            "description": "Return the street address, city and ZIP that business accounts publish on their profile.",
            "default": true
          },
          "extractPosts": {
            "title": "Include recent posts",
            "type": "boolean",
            "description": "Attach the analysed recent posts (URL, type, date, likes, comments, plays, caption and any contacts parsed from the caption) to each result.",
            "default": false
          },
          "postsSampleSize": {
            "title": "Posts to analyse per account",
            "minimum": 12,
            "maximum": 36,
            "type": "integer",
            "description": "How many recent posts are fetched per account to compute engagement, posting cadence and reel views (12 per page; 12, 24 or 36). More posts = more accurate metrics but a slightly slower run.",
            "default": 12
          },
          "searchContactsInPosts": {
            "title": "Search contacts in post captions",
            "type": "boolean",
            "description": "Also look for emails and phone numbers in recent post captions when the profile itself does not expose them.",
            "default": true
          },
          "analyzeQuality": {
            "title": "Analyse audience quality",
            "type": "boolean",
            "description": "Compute a qualityFlag (good / average / low / suspicious) from engagement rate, follower/following balance and reel reach.",
            "default": true
          },
          "minFollowers": {
            "title": "Min followers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts with fewer followers than this. 0 = no minimum.",
            "default": 1000
          },
          "maxFollowers": {
            "title": "Max followers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts with more followers than this. 0 = no maximum.",
            "default": 0
          },
          "mustBeVerified": {
            "title": "Verified only",
            "type": "boolean",
            "description": "Only return accounts with a verified badge.",
            "default": false
          },
          "accountType": {
            "title": "Account type",
            "enum": [
              "any",
              "business",
              "creator",
              "personal"
            ],
            "type": "string",
            "description": "Only return accounts of this Instagram account type.",
            "default": "any"
          },
          "categoryFilter": {
            "title": "Business category contains",
            "type": "array",
            "description": "Only return accounts whose Instagram category label contains one of these words (case-insensitive), e.g. \"trainer\", \"coach\", \"creator\". Accounts without a category are skipped when this is set.",
            "items": {
              "type": "string"
            }
          },
          "hasWebsite": {
            "title": "Must have a website link",
            "type": "boolean",
            "description": "Only return accounts with an external link in their bio.",
            "default": false
          },
          "contactInfoType": {
            "title": "Required contact info",
            "enum": [
              "any",
              "email",
              "phone",
              "either"
            ],
            "type": "string",
            "description": "Only return accounts that expose the given contact info (from the contact button, bio, or captions when caption search is on).",
            "default": "any"
          },
          "locationKeywords": {
            "title": "Location keywords",
            "type": "array",
            "description": "Only return accounts whose bio, name, city or address mentions one of these places (case-insensitive), e.g. \"London\", \"NYC\", \"Australia\".",
            "items": {
              "type": "string"
            }
          },
          "profileLanguage": {
            "title": "Profile language",
            "type": "string",
            "description": "Only return accounts whose bio is detected as this language (ISO 639-1 code such as en, es, pt, fr, de, it, ru, ar, ja, ko, zh, hi, tr, id, nl). Leave empty for any language."
          },
          "minEngagementRate": {
            "title": "Min engagement rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Skip accounts whose average (likes + comments) per recent post divided by followers is below this percentage. 0 = no minimum.",
            "default": 0
          },
          "lastPostDays": {
            "title": "Posted within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts whose most recent post is older than this many days. 0 = no limit.",
            "default": 0
          },
          "lastReelDays": {
            "title": "Posted a reel within the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts whose most recent reel is older than this many days (accounts with no reels in the sample are skipped too). 0 = no limit.",
            "default": 0
          },
          "minPostsInPeriod": {
            "title": "Min posts in period",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts that published fewer than this many posts in the period defined by \"Posted within the last N days\" (or the last 30 days when that is 0). 0 = no minimum.",
            "default": 0
          },
          "minMedianViews": {
            "title": "Min median reel views",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts whose median reel play count is below this. Accounts with no reels in the sample are skipped when this is set. 0 = no minimum.",
            "default": 0
          },
          "viewFollowerRatioMin": {
            "title": "Min views-to-followers ratio",
            "minimum": 0,
            "type": "number",
            "description": "Skip accounts whose median reel views divided by followers is below this (e.g. 0.1 = reels reach at least 10% of followers). 0 = no minimum.",
            "default": 0
          },
          "viewFollowerRatioMax": {
            "title": "Max views-to-followers ratio",
            "minimum": 0,
            "type": "number",
            "description": "Skip accounts whose median reel views divided by followers is above this (useful to exclude viral-only or bought-view accounts). 0 = no maximum.",
            "default": 0
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}