{
  "openapi": "3.0.1",
  "info": {
    "title": "TikTok Shop US Products, Reviews & Sellers API ($2.40/1K)",
    "description": "No-login TikTok Shop US scraper ($2.40/1K Gold, 256MB RAM): category listings, keyword search, SKU pricing, sold counts, seller metrics & reviews via SSR HTTP/2, REST Standby (/api/run) and native MCP (/mcp). $0 on blocks or errors.",
    "version": "0.1",
    "x-build-id": "vgRDMx90V4Afrzopw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/studio001~tiktok-shop-products-sellers-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-studio001-tiktok-shop-products-sellers-api",
        "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/studio001~tiktok-shop-products-sellers-api/runs": {
      "post": {
        "operationId": "runs-sync-studio001-tiktok-shop-products-sellers-api",
        "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/studio001~tiktok-shop-products-sellers-api/run-sync": {
      "post": {
        "operationId": "run-sync-studio001-tiktok-shop-products-sellers-api",
        "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": {
          "categoryUrls": {
            "title": "Category URLs, Slugs, or IDs",
            "type": "array",
            "description": "TikTok Shop US category URLs (e.g. 'https://shop.tiktok.com/us/c/beauty-personal-care/601450'), slugs ('womenswear-underwear'), or numeric category IDs ('601450').",
            "items": {
              "type": "string"
            },
            "default": [
              "https://shop.tiktok.com/us/c/beauty-personal-care/601450"
            ]
          },
          "mode": {
            "title": "Extraction Mode",
            "enum": [
              "auto",
              "category",
              "keyword",
              "product",
              "store",
              "categories_catalog"
            ],
            "type": "string",
            "description": "Use 'auto' to auto-route from supplied inputs, or pick an explicit mode: 'category', 'keyword', 'product', 'store', or 'categories_catalog'.",
            "default": "category"
          },
          "queries": {
            "title": "Search Keywords (mode='keyword' or 'auto')",
            "type": "array",
            "description": "Product search phrases routed to TikTok Shop US /us/k/<slug> (e.g. 'korean skincare', 'vitamin c serum', 'led face mask').",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "productUrls": {
            "title": "Product URLs or Numeric Product IDs",
            "type": "array",
            "description": "Direct TikTok Shop PDP URLs or 19-digit product IDs for deep SKU, stock, seller & verified review extraction.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "storeUrls": {
            "title": "Seller Storefront URLs or Seller IDs",
            "type": "array",
            "description": "TikTok Shop seller storefront URLs or numeric seller IDs (e.g. 'https://shop.tiktok.com/us/store/jodsone-nails/7495791506554390847' or '7495791506554390847').",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeProductDetails": {
            "title": "Enrich Results with Full PDP Details (SKUs, Reviews, Store Metrics)",
            "type": "boolean",
            "description": "When enabled on category, keyword, or store runs, fetches each product's full PDP page for SKU variants, stock counts, seller totals, and verified review samples (billed at product-detail-scraped rate).",
            "default": false
          },
          "maxProductsPerTarget": {
            "title": "Max Products Per Target",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of products returned per category, keyword, or store URL (1 to 100).",
            "default": 10
          },
          "minSoldCount": {
            "title": "Minimum Sold Count Filter",
            "minimum": 0,
            "type": "integer",
            "description": "Filter out products with fewer lifetime units sold than this threshold (0 disables filter).",
            "default": 0
          },
          "minRating": {
            "title": "Minimum Star Rating Filter",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Filter out products below this star rating (e.g. 4.3). Use 0 to include all ratings.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max Concurrent Requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maximum parallel HTTP/2 SSR fetches (1 to 4).",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Defaults to Apify Datacenter proxies (`useApifyProxy: true`) for fast, zero-surcharge TikTok Shop SSR extraction.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxTotalChargeUsd": {
            "title": "Max Total Charge (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional hard Pay-Per-Event USD limit; halts extraction gracefully before overspending."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}