{
  "openapi": "3.0.1",
  "info": {
    "title": "Social Media Influencer Finder — Modash Alternative",
    "description": "Find public Instagram, TikTok, or YouTube creators by keyword or hashtag. Export profile snapshots, available recent-content metrics, engagement estimates, and sponsorship cues for an initial influencer shortlist.",
    "version": "0.6",
    "x-build-id": "hen8qiSiCIHIUsceU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~modash-alternative/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-modash-alternative",
        "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/khadinakbar~modash-alternative/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-modash-alternative",
        "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/khadinakbar~modash-alternative/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-modash-alternative",
        "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",
        "required": [
          "platform",
          "query"
        ],
        "properties": {
          "platform": {
            "title": "Discovery platform",
            "enum": [
              "instagram",
              "tiktok",
              "youtube"
            ],
            "type": "string",
            "description": "Choose the public platform where the discovery query runs. Use instagram, tiktok, or youtube; for example, tiktok finds public TikTok creators. Results stay on this one platform per run for comparable public metrics. This is not a request to link accounts across platforms or collect private audience demographics."
          },
          "query": {
            "title": "Creator niche, handle fragment, or hashtag",
            "minLength": 2,
            "maxLength": 120,
            "type": "string",
            "description": "Enter the public discovery phrase used on the selected platform, for example fitness coach or #homeworkout. Use a niche, topic, handle fragment, or hashtag with 2 to 120 characters. Results come from the provider's public platform search and are enriched only when a resolvable public creator profile is found. This is not a natural-language audience-demographic, fraud, or brand-affinity query."
          },
          "queryType": {
            "title": "Discovery query type",
            "enum": [
              "creator",
              "keyword",
              "hashtag"
            ],
            "type": "string",
            "description": "Select how the public platform search interprets query. Creator searches public profile or channel matches; keyword finds creators observed in relevant public content; hashtag finds creators observed in public hashtag content. Defaults to creator for a direct creator search. This is not a guarantee that a platform-wide creator database or every matching account is searched.",
            "default": "creator"
          },
          "maxResults": {
            "title": "Maximum creators to return",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Caps validated creator records written for this discovery query. Choose 5 for a quick review or up to 20 for a bounded shortlist; the default is 10. The cap also limits billable discovery results and downstream profile enrichment. This is not a request for unbounded pagination or an estimate of total matching creators.",
            "default": 10
          },
          "minFollowers": {
            "title": "Minimum public followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Exclude an enriched creator when the returned public follower or subscriber count is below this threshold. Enter 0 to keep every resolvable public creator; the default is 1000. The check happens after profile enrichment because search listings can be shallow. This is not a verified reach, audience-quality, or fake-follower filter.",
            "default": 1000
          },
          "maxRecentPosts": {
            "title": "Recent posts per creator",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Sets the maximum returned public posts or videos inspected for each enriched creator. Use 5 for a balanced public-performance snapshot or up to 10 for deeper visible-content review; the default is 5. Missing or unavailable public posts remain explicit as null or zero-count evidence. This is not a historical archive, audience report, or confirmed sponsorship record.",
            "default": 5
          },
          "providerOrder": {
            "title": "Public-data provider order",
            "enum": [
              "scrapecreators-first",
              "sociavault-first"
            ],
            "type": "string",
            "description": "Choose the owner-managed public-data route used first for supported platform searches and enrichments. ScrapeCreators is the default primary because its documented one-time credit cost is lower for overlapping public routes; SociaVault is tried after a supported failure. This setting never accepts a customer API key or social credential. It is not a promise that SociaVault supports every Instagram discovery route.",
            "default": "scrapecreators-first"
          },
          "countryCode": {
            "title": "Search country code",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Optional two-letter country code sent only to discovery routes that document a region parameter, for example US. Defaults to US to keep platform search behavior predictable; leave the default unless the discovery task is country-specific. It is not a filter for creator residence, audience location, or citizenship.",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}