{
  "openapi": "3.0.1",
  "info": {
    "title": "Likee Scraper — Videos, Profiles & Creator Discovery",
    "description": "Scrape Likee profile videos + history, discover creators by country, and pull trending-hashtag metadata — with engagement filters, dedup, creator analytics, and incremental monitoring. Plain HTTP, no browser.",
    "version": "0.2",
    "x-build-id": "gM3kSkVp1SmqfQTFA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapelabmax~likee-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapelabmax-likee-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/scrapelabmax~likee-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapelabmax-likee-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/scrapelabmax~likee-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapelabmax-likee-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": {
          "videoUrls": {
            "title": "Video share URLs",
            "type": "array",
            "description": "likee.video/v/<id> share links (in the app: video → Share → Copy link). Each resolves to a video record with a playable mp4 URL; with 'Also scrape the creator' on, the poster's whole profile is scraped too. Note: the share page has no view count, so a Min views filter above 0 drops the share-page record itself.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "hydrateVideoUrlAuthors": {
            "title": "Also scrape the creator behind each link",
            "type": "boolean",
            "description": "After each successful share-link lookup, scrape the poster's full profile videos and analytics (counts against Max results). Untick for a cheap single-video lookup.",
            "default": true
          },
          "discoverCreators": {
            "title": "Discover creators",
            "type": "boolean",
            "description": "Discover creators by country via Likee's recommended-producer list.",
            "default": false
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "ISO-2 country for discovery.",
            "default": "US"
          },
          "maxCreators": {
            "title": "Max creators",
            "type": "integer",
            "description": "Maximum number of creators to return from discovery.",
            "default": 100
          },
          "hydrateCreatorVideos": {
            "title": "Hydrate creator videos (for analytics)",
            "type": "boolean",
            "description": "Fetch recent videos per discovered creator to compute analytics. Increases request count and proxy spend; counts against Max results.",
            "default": false
          },
          "videosPerCreatorForAnalytics": {
            "title": "Videos per creator (analytics)",
            "type": "integer",
            "description": "How many recent videos to fetch per creator when hydration is enabled.",
            "default": 30
          },
          "hashtags": {
            "title": "Hashtags (metadata)",
            "type": "array",
            "description": "Trending-hashtag metadata only. Coverage is limited to Likee's recommended-hashtag list; hashtag VIDEO listing is not available.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "type": "integer",
            "description": "Global cap across all record types.",
            "default": 1000
          },
          "maxVideosPerProfile": {
            "title": "Max videos per profile",
            "type": "integer",
            "description": "Maximum videos to fetch per profile (paginated via cursor).",
            "default": 100
          },
          "videoSort": {
            "title": "Video sort",
            "enum": [
              "latest"
            ],
            "type": "string",
            "description": "Only 'latest' (reverse-chronological) is supported by the API.",
            "default": "latest"
          },
          "minFollowers": {
            "title": "Min followers",
            "type": "integer",
            "description": "Drop profiles/creators with fewer followers than this.",
            "default": 0
          },
          "minViews": {
            "title": "Min views",
            "type": "integer",
            "description": "Drop videos with fewer views (play count) than this.",
            "default": 0
          },
          "minLikes": {
            "title": "Min likes",
            "type": "integer",
            "description": "Drop videos with fewer likes than this.",
            "default": 0
          },
          "minComments": {
            "title": "Min comments",
            "type": "integer",
            "description": "Drop videos with fewer comments than this.",
            "default": 0
          },
          "minShares": {
            "title": "Min shares",
            "type": "integer",
            "description": "Drop videos with fewer shares than this.",
            "default": 0
          },
          "minEngagementRate": {
            "title": "Min engagement rate (%)",
            "type": "number",
            "description": "Drop videos below this engagement rate, as a percentage.",
            "default": 0
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "ISO date; videos older than this are skipped.",
            "default": ""
          },
          "publishedBefore": {
            "title": "Published before",
            "type": "string",
            "description": "ISO date; videos newer than this are skipped.",
            "default": ""
          },
          "includeProfileAnalytics": {
            "title": "Include creator analytics",
            "type": "boolean",
            "description": "Emit creatorAnalytics records. Disable to skip analytics computation.",
            "default": true
          },
          "onlyNewResults": {
            "title": "Only new results (incremental)",
            "type": "boolean",
            "description": "Skip videos seen in previous runs with the same targets.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum concurrent requests to Likee.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxy strongly recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "uids": {
            "title": "Numeric UIDs",
            "type": "array",
            "description": "Numeric account ids. Usernames/@handles are NOT accepted anywhere — Likee provides no way to resolve them; use a video share link instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}