{
  "openapi": "3.0.1",
  "info": {
    "title": "Blibli Store Review & Sentiment Analyzer",
    "description": "Collect buyer reviews from any Blibli store or product - yours or a competitor's - as clean text for AI sentiment analysis. Captures nearly all negative reviews, plus the rating histogram and Blibli's own topic breakdown. No login needed.",
    "version": "0.1",
    "x-build-id": "fP9K839S5qlRgSzcY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zucchini_gopher_m2v~blibli-store-review-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zucchini_gopher_m2v-blibli-store-review-analyzer",
        "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/zucchini_gopher_m2v~blibli-store-review-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-zucchini_gopher_m2v-blibli-store-review-analyzer",
        "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/zucchini_gopher_m2v~blibli-store-review-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-zucchini_gopher_m2v-blibli-store-review-analyzer",
        "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",
        "required": [
          "storeUrls"
        ],
        "properties": {
          "storeUrls": {
            "title": "Stores / products to analyze",
            "type": "array",
            "description": "What to pull reviews for. Accepts a store URL (https://www.blibli.com/merchant/<name>/COP-60023), a bare store code (COP-60023), a product URL (https://www.blibli.com/p/<name>/ps--COP-60023-00933), a bare product SKU, or 'brand:<name>'. Mix freely - your own store and competitors' in one run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "coverage": {
            "title": "Coverage depth",
            "enum": [
              "standard",
              "deep",
              "maximum"
            ],
            "type": "string",
            "description": "Blibli only exposes about 600 reviews per query. 'standard' does one sweep (fastest). 'deep' also sweeps each star rating separately, which usually captures nearly ALL 1- and 2-star reviews even on a store with tens of thousands - the setting to use for complaint analysis. 'maximum' additionally sweeps each review topic.",
            "default": "deep"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "LATEST",
              "POPULAR",
              "OLDEST",
              "HIGHEST",
              "LOWEST"
            ],
            "type": "string",
            "description": "Order Blibli returns reviews in. 'LATEST' is best for tracking sentiment over time; 'POPULAR' surfaces the reviews other shoppers found most helpful.",
            "default": "LATEST"
          },
          "maxReviewsPerTarget": {
            "title": "Max reviews per target",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many reviews per store/product. 0 means no limit - sweep until the coverage plan is exhausted.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum star rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only reviews at or above this rating. 0 disables the filter. Set to 0 and use the ratingPolarity field to isolate complaints instead.",
            "default": 0
          },
          "onlyWithText": {
            "title": "Only reviews with written text",
            "type": "boolean",
            "description": "Skip star-only ratings that carry no words. About half of Blibli's reviews have no text at all, and they are useless for sentiment analysis - this is filtered server-side, so pagination is spent entirely on reviews you can actually feed to an AI. Turn off only if you want the raw rating stream.",
            "default": true
          },
          "onlyWithMedia": {
            "title": "Only reviews with photos/videos",
            "type": "boolean",
            "description": "Restrict to reviews that include buyer photos or videos - useful for spotting product defects that shoppers photographed.",
            "default": false
          },
          "includeSummary": {
            "title": "Include store summary row",
            "type": "boolean",
            "description": "Emit one STORE_SUMMARY record per target with the full rating histogram, average rating, negative/positive share, and Blibli's own topic counts (quality, price, shipping, packaging, service, authenticity) across the store's ENTIRE review base - not just the sampled reviews. Cheap and the single most useful row for sentiment analysis.",
            "default": true
          },
          "productBreakdown": {
            "title": "Also sweep each product separately",
            "type": "boolean",
            "description": "Expand a store into its individual products and sweep each one's reviews too. Each product has its own ~600-review window, so this greatly deepens coverage on large stores - at the cost of one request set per product.",
            "default": false
          },
          "maxProductsPerStore": {
            "title": "Max products per store",
            "minimum": 1,
            "maximum": 800,
            "type": "integer",
            "description": "Only used when 'Also sweep each product separately' is on. Caps how many of the store's products get their own review sweep.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Blibli is behind Cloudflare. Apify Residential proxy with country 'ID' is recommended for long runs; short runs usually succeed without a proxy.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}