{
  "openapi": "3.0.1",
  "info": {
    "title": "Bilibili Huahuo Scraper 花火 [From $4] Creator Prices & Audience",
    "description": "[From $4 per 1000 rows] Bilibili's creator marketplace (Huahuo 花火) as data: search creators by name or content with quoted prices per cooperation type, CPM, median plays and interaction rate; full profiles with audience demographics and growth. Creators $4, profiles $30 per 1,000.",
    "version": "0.1",
    "x-build-id": "jO3G7KNzJtgC1DNat"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~bilibili-huahuo-creator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-bilibili-huahuo-creator-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/memo23~bilibili-huahuo-creator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-bilibili-huahuo-creator-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/memo23~bilibili-huahuo-creator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-bilibili-huahuo-creator-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": {
          "searchKeywords": {
            "title": "Creator names or UIDs",
            "type": "array",
            "description": "Find creators by nickname (full or partial) or by Bilibili UID. A page holds 20 creators.",
            "items": {
              "type": "string"
            }
          },
          "contentKeywords": {
            "title": "Content keywords",
            "type": "array",
            "description": "Find creators by what their videos are about, for example 咖啡 or 露营.",
            "items": {
              "type": "string"
            }
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only creators with at least this many followers."
          },
          "maxFollowers": {
            "title": "Maximum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only creators with at most this many followers."
          },
          "minPriceCny": {
            "title": "Minimum price (CNY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only creators whose standard quote is at least this much, in RMB."
          },
          "maxPriceCny": {
            "title": "Maximum price (CNY)",
            "minimum": 0,
            "type": "integer",
            "description": "Only creators whose standard quote is at most this much, in RMB."
          },
          "industry": {
            "title": "Industry panel",
            "enum": [
              "general",
              "gaming",
              "beauty",
              "digital",
              "automotive",
              "performance",
              "food",
              "internet"
            ],
            "type": "string",
            "description": "The marketplace's industry view. It changes which metrics the search ranks by.",
            "default": "general"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "followers",
              "medianPlays",
              "interactionRate"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "default"
          },
          "maxCreatorsPerSearch": {
            "title": "Creators per search",
            "minimum": 8,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit of creators for each keyword (minimum 8).",
            "default": 40
          },
          "creators": {
            "title": "Creators by UID or link",
            "type": "array",
            "description": "Bilibili UIDs or space links (https://space.bilibili.com/123). Each returns the creator's full marketplace profile.",
            "items": {
              "type": "string"
            }
          },
          "rankings": {
            "title": "Creator rankings",
            "type": "array",
            "description": "The marketplace's own rankings, 50 creators each. Top tier is the leading creators; High value is the best median plays for the price.",
            "items": {
              "type": "string",
              "enum": [
                "topTier",
                "highValue"
              ],
              "enumTitles": [
                "Top tier",
                "High value"
              ]
            }
          },
          "rankingCategory": {
            "title": "Ranking category",
            "type": "string",
            "description": "Content category of the creator ranking, in Chinese as the marketplace names it (for example 美食, 游戏, 知识). Empty means the overall ranking."
          },
          "includeVideoRanking": {
            "title": "Video ranking",
            "type": "boolean",
            "description": "Return the marketplace's ranking of top-performing videos, with the creator and their prices.",
            "default": false
          },
          "videoRankingCategory": {
            "title": "Video ranking industry",
            "type": "string",
            "description": "Industry of the video ranking, in Chinese as the marketplace names it. Empty means all industries."
          },
          "maxRankedVideos": {
            "title": "Ranked videos",
            "minimum": 8,
            "maximum": 200,
            "type": "integer",
            "description": "Upper limit of ranked videos (minimum 8). A page holds 15.",
            "default": 30
          },
          "includeDetails": {
            "title": "Full profile for every creator",
            "type": "boolean",
            "description": "For every creator found by search or ranking, also return the full profile row: follower and viewer demographics, averages, industries worked with. Billed per profile.",
            "default": false
          },
          "includeFollowerTrend": {
            "title": "Follower growth",
            "type": "boolean",
            "description": "Follower growth over 7, 30, 90, 180 and 365 days and the daily follower count for the past year.",
            "default": false
          },
          "includeCommercialVideos": {
            "title": "Sponsored videos",
            "type": "boolean",
            "description": "The creator's representative sponsored videos with plays, likes, cooperation type and industry.",
            "default": false
          },
          "includeSimilarCreators": {
            "title": "Similar creators",
            "type": "boolean",
            "description": "Creators with similar content, each with followers and prices.",
            "default": false
          },
          "includePerformance": {
            "title": "Content performance",
            "type": "boolean",
            "description": "Videos and sponsored orders in the period, how the creator compares with peers, and the split by category, length and traffic source.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum creators in this run",
            "minimum": 8,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops collecting creators from search and rankings when it reaches this number.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}