{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Creator Leads Scraper",
    "description": "Find outreach-ready Instagram creators and business accounts by niche, hashtag, keyword, or seed profile. Export flat CSV-friendly leads with profile metrics, bio signals, recent activity, and contact hints.",
    "version": "1.0",
    "x-build-id": "CXEGNyeiFcY0G81pT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/coregent~instagram-creator-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-coregent-instagram-creator-leads-scraper",
        "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/coregent~instagram-creator-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-coregent-instagram-creator-leads-scraper",
        "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/coregent~instagram-creator-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-coregent-instagram-creator-leads-scraper",
        "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": {
          "searchTerms": {
            "title": "Search Terms",
            "type": "array",
            "description": "Niche or market search phrases to discover creators. Example: beauty creator australia, fitness coach sydney, canberra cafe",
            "items": {
              "type": "string"
            },
            "default": [
              "beauty creator australia"
            ]
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags for creator discovery (with or without #). Example: ugccreator, beautycreator, canberrafood",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "Instagram usernames for direct enrichment or seed discovery. Example: exampleuser1, exampleuser2",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "profileUrls": {
            "title": "Profile URLs",
            "type": "array",
            "description": "Instagram profile URLs for direct enrichment or seed discovery. Example: https://www.instagram.com/example/",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxLeads": {
            "title": "Max Leads",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum total leads to return across all inputs.",
            "default": 100
          },
          "maxProfilesPerInput": {
            "title": "Max Profiles Per Input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum profiles to collect per individual search term, hashtag, or seed.",
            "default": 100
          },
          "includeRecentPosts": {
            "title": "Include Recent Posts Analysis",
            "type": "boolean",
            "description": "Analyze recent posts for engagement metrics (likes, comments, views). Increases run time.",
            "default": true
          },
          "recentPostsLimit": {
            "title": "Recent Posts Limit",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Number of recent posts to analyze per profile when enrichment is enabled.",
            "default": 6
          },
          "deduplicateProfiles": {
            "title": "Deduplicate Profiles",
            "type": "boolean",
            "description": "Remove duplicate profiles discovered from multiple inputs. Keeps one row per account.",
            "default": true
          },
          "minFollowers": {
            "title": "Minimum Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only include profiles with at least this many followers. Leave empty for no minimum."
          },
          "maxFollowers": {
            "title": "Maximum Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only include profiles with at most this many followers. Leave empty for no maximum."
          },
          "requireBusinessOrCreator": {
            "title": "Require Business or Creator Account",
            "type": "boolean",
            "description": "Only include profiles identified as business or creator accounts.",
            "default": false
          },
          "requireExternalLink": {
            "title": "Require External Link",
            "type": "boolean",
            "description": "Only include profiles that have an external website link.",
            "default": false
          },
          "requireEmailHint": {
            "title": "Require Email Hint",
            "type": "boolean",
            "description": "Only include profiles with an email-like pattern in their bio.",
            "default": false
          },
          "countryHint": {
            "title": "Country Hint",
            "type": "string",
            "description": "Two-letter country code to prioritize results from a specific country. Example: AU, US, GB"
          },
          "languageHint": {
            "title": "Language Hint",
            "type": "string",
            "description": "Two-letter language code hint. Example: en, es, fr"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "followers",
              "engagement",
              "recentActivity"
            ],
            "type": "string",
            "description": "Sort output leads by the selected criterion.",
            "default": "relevance"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify proxy configuration. Residential proxies recommended for Instagram."
          },
          "debugMode": {
            "title": "Debug Mode",
            "type": "boolean",
            "description": "Enable verbose logging for debugging.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}