{
  "openapi": "3.0.1",
  "info": {
    "title": "TapTap Scraper — Games, Rankings & Reviews",
    "description": "Search TapTap China games, export Android and iOS rankings, game profiles and rating statistics, and collect player reviews with date, star and keyword filters. Download structured JSON and CSV.",
    "version": "0.3",
    "x-build-id": "hlfjGZy6JrEUcMRXH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dimweaker~taptap-china-game-reviews-export/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dimweaker-taptap-china-game-reviews-export",
        "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/dimweaker~taptap-china-game-reviews-export/runs": {
      "post": {
        "operationId": "runs-sync-dimweaker-taptap-china-game-reviews-export",
        "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/dimweaker~taptap-china-game-reviews-export/run-sync": {
      "post": {
        "operationId": "run-sync-dimweaker-taptap-china-game-reviews-export",
        "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": "Export mode",
            "enum": [
              "reviews",
              "games",
              "search",
              "charts"
            ],
            "type": "string",
            "description": "Search and Charts export game cards. Game details exports enriched game profiles. Reviews exports player reviews plus a separate game summary file.",
            "default": "reviews"
          },
          "gameSource": {
            "title": "Game selection",
            "enum": [
              "ids",
              "search",
              "chart"
            ],
            "type": "string",
            "description": "For Reviews and Game details, choose how to select games. Search and Rankings modes select their own source.",
            "default": "ids"
          },
          "games": {
            "title": "Game IDs or URLs",
            "maxItems": 100,
            "type": "array",
            "description": "Game IDs or https://www.taptap.cn/app/ID URLs. Used when Game selection is Game IDs / URLs. Duplicate games are processed once.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search keyword",
            "minLength": 1,
            "maxLength": 200,
            "type": "string",
            "description": "Game name or keyword, for example 原神 or 策略. Required for Search mode or keyword-based game selection."
          },
          "chart": {
            "title": "Ranking chart",
            "enum": [
              "hot",
              "reserve",
              "pop",
              "new",
              "sell",
              "in_app_event_reserve",
              "exclusive",
              "action",
              "strategy",
              "idle",
              "single",
              "casual",
              "sandbox_survival",
              "management",
              "unriddle",
              "shooter",
              "multiplayer",
              "acgn",
              "music",
              "scenario",
              "swordsman",
              "otome",
              "independent",
              "roguelike"
            ],
            "type": "string",
            "description": "Choose an overall or genre-specific ranking. Used for Rankings mode and chart-based game selection.",
            "default": "hot"
          },
          "chartPlatform": {
            "title": "Ranking platform",
            "enum": [
              "android",
              "ios"
            ],
            "type": "string",
            "description": "Platform used for the selected chart.",
            "default": "android"
          },
          "maxGames": {
            "title": "Maximum games",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum unique games selected per run, in input or source order.",
            "default": 10
          },
          "maxDiscoveryPages": {
            "title": "Maximum search / chart pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of discovery pages to scan. Each request asks for 10 entries.",
            "default": 10
          },
          "sort": {
            "title": "Review order",
            "enum": [
              "new",
              "hot"
            ],
            "type": "string",
            "description": "Review order: latest activity or popular.",
            "default": "new"
          },
          "maxReviewsPerGame": {
            "title": "Maximum matching reviews per game",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Number of reviews to export per game after filtering and deduplication.",
            "default": 100
          },
          "maxPagesPerGame": {
            "title": "Maximum review pages per game",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of review pages to scan per game. Each request asks for 10 reviews.",
            "default": 20
          },
          "since": {
            "title": "Review activity since",
            "type": "string",
            "description": "Inclusive ISO 8601 timestamp with timezone, e.g. 2026-10-01T00:00:00Z. Uses the most recent creation, publication or edit timestamp."
          },
          "ratings": {
            "title": "Review star ratings",
            "maxItems": 5,
            "type": "array",
            "description": "Select stars from 1 to 5, e.g. [1, 2]. Empty selects all ratings.",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            },
            "default": []
          },
          "keywords": {
            "title": "Words in review text",
            "maxItems": 20,
            "type": "array",
            "description": "Match any listed word, case-insensitively. Combines with rating and date filters. Empty selects all text.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}