{
  "openapi": "3.0.1",
  "info": {
    "title": "TikTok Shop Creator Finder: Affiliates, GMV & Emails",
    "description": "Find TikTok Shop affiliate creators by keyword, category or sales ranking in 15 markets, or look up usernames: GMV (total and 30 days), units sold, products promoted, followers, main category and contact email. Pay only for creators found: $4 per 1,000. No login.",
    "version": "0.0",
    "x-build-id": "tR8KzFcx8gv6CpXJr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~tiktok-shop-creator-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-tiktok-shop-creator-finder",
        "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/memo23~tiktok-shop-creator-finder/runs": {
      "post": {
        "operationId": "runs-sync-memo23-tiktok-shop-creator-finder",
        "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/memo23~tiktok-shop-creator-finder/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-tiktok-shop-creator-finder",
        "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": "Product keywords",
            "type": "array",
            "description": "Product words, one per line, for example \"air fryer\", \"lip gloss\" or \"phone case\". For each keyword and market the actor finds the creators who sell the matching products (best sellers first) and the creator accounts whose name matches it. Every word has to match a product title or a creator's name, so name a product: topics such as \"tech\", \"marketing\" or \"fitness tips\" find few creators. To cover a whole area such as beauty or pets, use \"Product categories\" instead.",
            "items": {
              "type": "string"
            }
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "TikTok Shop markets to search, rank and list creators in. Keywords, rankings and categories run once per market. Usernames are looked up in every market at once.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "DE",
                "FR",
                "IT",
                "ES",
                "BR",
                "JP",
                "MX",
                "ID",
                "TH",
                "VN",
                "PH",
                "MY",
                "SG"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Germany",
                "France",
                "Italy",
                "Spain",
                "Brazil",
                "Japan",
                "Mexico",
                "Indonesia",
                "Thailand",
                "Vietnam",
                "Philippines",
                "Malaysia",
                "Singapore"
              ]
            },
            "default": [
              "US"
            ]
          },
          "topSellers": {
            "title": "Top-selling creators",
            "enum": [
              "off",
              "day",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Add each market's best-selling shop creators of the last finished day, week (Monday to Sunday) or month, ranked by units sold, with that period's GMV. With \"Product categories\" set, the ranking is narrowed to creators whose main category is one of them.",
            "default": "off"
          },
          "categories": {
            "title": "Product categories",
            "type": "array",
            "description": "TikTok Shop categories, one per line, by name or id: creators whose main selling category it is, in each market. Names include Beauty & Personal Care, Womenswear & Underwear, Menswear & Underwear, Phones & Electronics, Home Supplies, Kitchenware, Household Appliances, Health, Food & Beverages, Pet Supplies, Baby & Maternity, Sports & Outdoor, Toys & Hobbies, Fashion Accessories, Jewelry Accessories & Derivatives, Automotive & Motorcycle, Tools & Hardware and Books, Magazines & Audio. Short names such as \"beauty\", \"pets\" or \"electronics\" work too.",
            "items": {
              "type": "string"
            }
          },
          "categorySortBy": {
            "title": "Category order",
            "enum": [
              "products",
              "followers",
              "followerGrowth",
              "avgViews",
              "engagement"
            ],
            "type": "string",
            "description": "Which creators of a category come first when \"Top-selling creators\" is off. With it on, categories follow the sales ranking.",
            "default": "products"
          },
          "usernames": {
            "title": "TikTok usernames",
            "type": "array",
            "description": "Creators to look up directly, in any market: a username, @username or a tiktok.com/@username link, one per line. Accounts that are not TikTok Shop creators are skipped and not charged.",
            "items": {
              "type": "string"
            }
          },
          "shops": {
            "title": "Shops",
            "type": "array",
            "description": "A TikTok Shop, one per line, up to 5: the shop id, a store link that contains it, or the shop name. A name that matches several shops is skipped; use the shop id. Returns the creators linked to that shop, highest lifetime revenue first. unitsSold and gmvUsd on these rows are each creator's own lifetime totals, not the sales they made for this shop.",
            "items": {
              "type": "string"
            }
          },
          "discovery": {
            "title": "Where keywords look for creators",
            "enum": [
              "both",
              "videos",
              "accounts"
            ],
            "type": "string",
            "description": "\"both\" takes the sellers of products matching each keyword first, then creator accounts whose name matches it. Sellers of matching products are the strongest leads: each row says which product and how much the creator sold of it.",
            "default": "both"
          },
          "maxProfilesPerQuery": {
            "title": "Creators to read per keyword, category or ranking",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many creators are read for each keyword, category, ranking or shop, in each market. Only the creators saved are charged: accounts without a shop and creators your filters leave out are free.",
            "default": 100
          },
          "maxCreators": {
            "title": "Max creators",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Most creator rows to save in this run, across all inputs and markets. Free-plan runs save up to 25.",
            "default": 100
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only creators with at least this many followers. 0 keeps everyone.",
            "default": 0
          },
          "minUnitsSold": {
            "title": "Minimum units sold",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only creators who have sold at least this many units in total. 0 keeps everyone.",
            "default": 0
          },
          "onlyWithEmail": {
            "title": "Only creators with an email",
            "type": "boolean",
            "description": "Keep only creators with a contact email on their profile or an email address in their bio. Creators left out are not charged.",
            "default": false
          },
          "includeInactiveShops": {
            "title": "Include shops with no products or sales",
            "type": "boolean",
            "description": "Some creators found by keyword or category have a TikTok Shop profile but no products and no sales yet. They are left out (and not charged) unless this is on. Usernames you enter yourself are always returned.",
            "default": false
          },
          "salesHistory": {
            "title": "Daily sales history",
            "enum": [
              "off",
              "7",
              "30",
              "90"
            ],
            "type": "string",
            "description": "Adds a <code>salesHistory</code> list to every creator: one entry per day with that day's units sold and revenue, followers and followers gained, likes gained, views, videos and lives. Charged per 10 days delivered ($0.003), so 30 days cost up to $0.009 per creator. Needs a paid Apify plan. Default: off.",
            "default": "off"
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}