{
  "openapi": "3.0.1",
  "info": {
    "title": "ShortMax Scraper — Catalog, Genres, Views, Likes & Episodes",
    "description": "Scrape the ShortMax (shorttv.live) short-drama catalog: titles, genres & categories, view & like counts, episode counts, synopses and covers. Server-rendered HTML (no browser) — fast and cheap. 19 locales.",
    "version": "1.0",
    "x-build-id": "IxBxZrLX5Q7WNafB4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalbench~shortmax-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalbench-shortmax-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/signalbench~shortmax-scraper/runs": {
      "post": {
        "operationId": "runs-sync-signalbench-shortmax-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/signalbench~shortmax-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-signalbench-shortmax-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "fullCatalog",
              "byCategory",
              "byGenre",
              "trending",
              "urlList"
            ],
            "type": "string",
            "description": "What to scrape. **Full catalog** walks every page of ShortMax's `/dramas` listing (505 titles in English). **By category** and **By genre** scrape ShortMax's two taxonomies (53 categories, 56 genres) — values are resolved live, and the run logs the full list if one doesn't match. **Trending** returns the 9 curated homepage rails (New Release, Most Popular, …) with the rail name and position on every record. **Specific title URLs** scrapes only the `/drama/...` URLs you provide.",
            "default": "fullCatalog"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "zh-Hant",
              "zh-Hans",
              "es",
              "ja",
              "ko",
              "pt",
              "vi",
              "id",
              "th",
              "it",
              "ar",
              "de",
              "fr",
              "tr",
              "ru",
              "ms",
              "fil",
              "hi"
            ],
            "type": "string",
            "description": "ShortMax locale. **Each locale is a different library, not a translation** — the Spanish and Japanese catalogs contain entirely different titles from the English one. Approximate catalog sizes: English 505, Traditional Chinese ~900, Spanish ~400, Japanese ~300. Hindi is configured on the site but its catalog is empty.",
            "default": "en"
          },
          "categoryIds": {
            "title": "Categories (for \"By category\" mode)",
            "type": "array",
            "description": "ShortMax categories, as a slug (`mafia-romance`), a slug-with-id (`mafia-romance-200044`), a numeric id (`200044`) or the display name (`Mafia Romance`). Resolved live against the site — an unknown value is logged alongside the full list of the 53 available categories.",
            "items": {
              "type": "string"
            }
          },
          "genreIds": {
            "title": "Genres (for \"By genre\" mode)",
            "type": "array",
            "description": "ShortMax genres, as a slug (`modern`), a slug-with-id (`modern-200052`), a numeric id (`200052`) or the display name (`Modern`). Resolved live against the site — an unknown value is logged alongside the full list of the 56 available genres.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Title URLs (for \"Specific title URLs\" mode)",
            "type": "array",
            "description": "ShortMax title URLs, e.g. https://www.shorttv.live/drama/sss-rank-the-slum-born-thunder-god-32605",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "detailLevel": {
            "title": "Detail level",
            "enum": [
              "full",
              "listing"
            ],
            "type": "string",
            "description": "**Full** visits each title's own page — the only source of episode counts and the category breadcrumb (1 request per title). **Listing only** reads view counts, like counts and synopses straight off the genre list pages, 10 titles per request: much cheaper in compute, but no episode count and no category. Listing only applies to genre-based collection (catalog and category pages are plain image grids with no metrics on them) and falls back to Full elsewhere.",
            "default": "full"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of titles to store. This caps your cost — 1 stored title = 1 charge.",
            "default": 50
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel requests. ShortMax has no CDN cache and a multi-second time-to-first-byte, so parallelism is what makes a run fast. 8 is comfortable; the site showed no rate limiting in testing.",
            "default": 8
          },
          "includeRawCounts": {
            "title": "Include raw count strings",
            "type": "boolean",
            "description": "Also emit `viewsRaw` / `followsRaw` — the site's own abbreviated strings (e.g. \"88.1K\") next to the parsed integers. Useful because the abbreviation loses precision: \"88.1K\" is anything from 88,050 to 88,149.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy. ShortMax served plain HTTP clients without cookies, challenges or rate limiting in testing, so **no proxy is needed by default**. Turn one on if you see blocks.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}