{
  "openapi": "3.0.1",
  "info": {
    "title": "Likee Scraper — Public Videos & Creator Profiles",
    "description": "Collect public Likee videos and creator profiles with captions, engagement metrics and cohort analytics. Filter and refresh watch lists for creator research.",
    "version": "0.1",
    "x-build-id": "BN0f9pdilpFRP0w19"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetch_cat~likee-public-content-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetch_cat-likee-public-content-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/fetch_cat~likee-public-content-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetch_cat-likee-public-content-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/fetch_cat~likee-public-content-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetch_cat-likee-public-content-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": {
          "profiles": {
            "title": "Creator profiles",
            "maxItems": 50,
            "type": "array",
            "description": "Enter public handles or HTTPS likee.video/@handle URLs. Use userIds for internal numeric IDs.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512
            }
          },
          "userIds": {
            "title": "Internal creator IDs",
            "maxItems": 50,
            "type": "array",
            "description": "Enter internal numeric author IDs as strings, not video IDs. Resolution needs a listing entry with a public author handle. Private item content is excluded. Empty listings cannot supply creator metadata.",
            "items": {
              "type": "string",
              "pattern": "^\\d{1,24}$"
            }
          },
          "videos": {
            "title": "Individual videos",
            "maxItems": 50,
            "type": "array",
            "description": "Enter https://likee.video/v/CODE share URLs, https://likee.video/@author/video/ID URLs, or author/ID. Author/ID lookup scans at most maxVideosPerProfile and never saves unrelated videos.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512
            }
          },
          "resultType": {
            "title": "Output records",
            "enum": [
              "videos",
              "profiles",
              "both"
            ],
            "type": "string",
            "description": "Choose saved record types. Profile records are billed rows too. Video inputs require videos or both. Profile analytics always describe scanned videos before filtering.",
            "default": "both"
          },
          "maxResults": {
            "title": "Maximum saved rows",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap all saved and billed rows, including profile records. Inputs run in order. At the cap, later inputs and profile summaries can remain unprocessed.",
            "default": 100
          },
          "maxVideosPerProfile": {
            "title": "Maximum scanned videos per creator",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Bound source history scanned per creator or author/video lookup. This is a scan limit, not a promise of complete history. A missing direct video at this limit remains an extraction failure, not proven unavailable.",
            "default": 100
          },
          "sorting": {
            "title": "Video order",
            "enum": [
              "latest",
              "popular"
            ],
            "type": "string",
            "description": "Popular ranks only the scanned recent-video cohort, not every video on the creator account. Increase scan depth to compare more history.",
            "default": "latest"
          },
          "onlyNew": {
            "title": "Only new videos",
            "type": "boolean",
            "description": "Remember successfully saved and billed video IDs in an account-owned named key-value store, separately per watch list and filter scope. First use creates a baseline. Retains the latest 10,000 emitted IDs per scope; evicted IDs can reappear. Requires videos or both. Profile rows are emitted only when new matching videos were saved. No schedules are created.",
            "default": false
          },
          "engagementScore": {
            "title": "Creator-relative engagement",
            "type": "boolean",
            "description": "Add ratios against median reach and engagement of all videos scanned from the same creator. Standalone video inputs have no comparison cohort, so their ratios are null.",
            "default": false
          },
          "minViews": {
            "title": "Minimum views",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep videos meeting this source-reported view threshold. Unknown values do not qualify, even at zero."
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep videos meeting this like threshold. Filtering happens before saving and billing."
          },
          "minComments": {
            "title": "Minimum comments",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep videos meeting this comment-count threshold. Comment text is not collected."
          },
          "minShares": {
            "title": "Minimum shares",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep videos meeting this share-count threshold. Unknown values do not qualify."
          },
          "minEngagementRate": {
            "title": "Minimum engagement rate (%)",
            "minimum": 0,
            "maximum": 1000000000000000,
            "type": "number",
            "description": "Keep videos where (likes + comments + shares) / views × 100 meets this threshold. All four metrics must be known and views positive."
          },
          "publishedAfter": {
            "title": "Published on or after (UTC)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z)?$",
            "type": "string",
            "description": "Use YYYY-MM-DD or an ISO UTC timestamp. A date means midnight UTC. Inclusive boundary; undated videos do not qualify."
          },
          "publishedBefore": {
            "title": "Published on or before (UTC)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z)?$",
            "type": "string",
            "description": "Use YYYY-MM-DD or an ISO UTC timestamp. A date means midnight UTC, not the end of that day. Must not precede publishedAfter."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}