{
  "openapi": "3.0.1",
  "info": {
    "title": "Tencent Huxuan Creator Marketplace Scraper — WeChat KOL Data",
    "description": "Extract Tencent Huxuan creator marketplace data: search WeChat Video Account (视频号) and Official Account (公众号) KOLs, then enrich with pricing tiers, audience & viewer demographics, cooperation indices, and recent content performance for influencer marketing and creator due diligence.",
    "version": "1.0",
    "x-build-id": "HtGCDWX421Kem9cTc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~tencent-huxuan-kol-analytics/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-tencent-huxuan-kol-analytics",
        "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/sian.agency~tencent-huxuan-kol-analytics/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-tencent-huxuan-kol-analytics",
        "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/sian.agency~tencent-huxuan-kol-analytics/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-tencent-huxuan-kol-analytics",
        "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": [
          "operation"
        ],
        "properties": {
          "operation": {
            "title": "🎯 Operation — what do you want to extract?",
            "enum": [
              "videoCreatorSearch",
              "oaCreatorSearch",
              "videoCreatorDetail",
              "oaCreatorDetail",
              "videoRecentVideos",
              "oaArticleList"
            ],
            "type": "string",
            "description": "🎯 **PICK ONE OPERATION PER RUN.** Each run produces one clean dataset matching the chosen mode.\n\n**Discovery**\n- **🔍 Video Account Creator Search** — search WeChat Video Account (视频号) KOLs by keyword, or leave empty to browse the default marketplace list\n- **🔍 Official Account Creator Search** — search WeChat Official Account (公众号) KOLs by keyword, or leave empty to browse the default marketplace list\n\n**Creator profile & pricing**\n- **👤 Video Account Creator Details** — full profile: pricing tiers, cooperation indices, follower + viewer audience demographics\n- **👤 Official Account Creator Details** — full profile: pricing tiers, follower + reader audience demographics, recent article performance\n\n**Content history**\n- **🎬 Video Account Recent Videos** — a Video Account creator's recent videos with engagement + sponsor attribution\n- **📰 Official Account Article List** — an Official Account creator's recent articles with engagement + sponsor attribution\n\n💡 **TIP:** Start with a Search operation to find `appId`s, then drill into individual creators with the Details / Recent Videos / Article List operations.",
            "default": "videoCreatorSearch"
          },
          "keyword": {
            "title": "🔍 Search Keyword",
            "type": "string",
            "description": "🔍 **Used by Video/Official Account Creator Search (optional — leave empty to browse the default marketplace list) and Official Account Article List (optional — filters articles by title keyword).** Chinese or English:\n- `美妆` (beauty)\n- `财经` (finance)\n- `母婴` (mom & baby)\n\n⚠️ **Ignored** for Details and Recent Videos operations."
          },
          "appId": {
            "title": "👤 Creator App ID (appId)",
            "type": "string",
            "description": "👤 **Required for Video/Official Account Creator Details, Video Account Recent Videos, and Official Account Article List.**\n\nThe Huxuan creator app ID. Find it in the `appId` field of any Creator Search result row:\n- Video Account creators start with `sph...`\n- Official Account creators start with `wx...`\n\n💡 **TIP:** Run a Search operation first to surface qualified `appId`s, then drill into individual creators.",
            "default": "sphiecuDcvQu4bf"
          },
          "videoType": {
            "title": "🎬 Video Type Filter (Recent Videos)",
            "enum": [
              "ALL",
              "ORDER",
              "HOT",
              "PERSON"
            ],
            "type": "string",
            "description": "🎬 **Video Account Recent Videos only.** Filter which videos to return.",
            "default": "ALL"
          },
          "articleType": {
            "title": "📰 Article Type Filter (Article List)",
            "enum": [
              "ALL",
              "ORDER"
            ],
            "type": "string",
            "description": "📰 **Official Account Article List only.** Filter which articles to return.",
            "default": "ALL"
          },
          "beginDate": {
            "title": "📅 Start Date (Recent Videos)",
            "type": "string",
            "description": "📅 **Required for Video Account Recent Videos.** Start of the date range, format `yyyyMMdd` (e.g. `20260601`).",
            "default": "20260601"
          },
          "startDate": {
            "title": "📅 Start Date (Article List)",
            "type": "string",
            "description": "📅 **Required for Official Account Article List.** Start of the date range, format `yyyyMMdd` (e.g. `20260601`).",
            "default": "20260601"
          },
          "endDate": {
            "title": "📅 End Date (Recent Videos / Article List)",
            "type": "string",
            "description": "📅 **Required for Video Account Recent Videos and Official Account Article List.** End of the date range, format `yyyyMMdd` (e.g. `20260701`).",
            "default": "20260701"
          },
          "page": {
            "title": "📄 Start Page",
            "minimum": 1,
            "type": "integer",
            "description": "📄 **Applies to all paginated operations** (both Search ops, Recent Videos, Article List). The upstream page to start fetching from. Ignored for Details operations.",
            "default": 1
          },
          "maxPages": {
            "title": "📄 Max pages to fetch",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "📄 **Applies to paginated operations** (both Search ops, Recent Videos, Article List). Ignored for Details operations.\n\n- ~30 creators per page (Search)\n- ~8-9 videos/articles per page (Recent Videos / Article List)\n\n💡 **TIP:** Start small (1–3 pages) to preview results before scaling up.\n\n⚠️ Hard cap: 50 pages to prevent runaway runs. FREE tier is always capped at 500 rows per run regardless of this setting.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}