{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify App & Chrome Web Store Reviews + Churn Leads ($1/1K)",
    "description": "Extract reviews, pricing plans & pain points from Shopify App Store, Chrome Web Store & WordPress Plugins. Uniquely resolves unhappy Shopify app reviewers into live merchant store domains, emails & socials for competitor churn outreach!",
    "version": "1.1",
    "x-build-id": "q3loe6Xje0pTgEvlR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kkhome~shopify-chrome-app-reviews/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kkhome-shopify-chrome-app-reviews",
        "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/kkhome~shopify-chrome-app-reviews/runs": {
      "post": {
        "operationId": "runs-sync-kkhome-shopify-chrome-app-reviews",
        "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/kkhome~shopify-chrome-app-reviews/run-sync": {
      "post": {
        "operationId": "run-sync-kkhome-shopify-chrome-app-reviews",
        "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": {
          "targets": {
            "title": "Target App URLs, Category / Partner URLs, or Extension IDs",
            "type": "array",
            "description": "Paste individual App/Extension URLs or handles (e.g. 'https://apps.shopify.com/klaviyo-email-marketing', 'liecbddmkiiihnedobmlmillhodjkdmb'), OR whole Shopify Category URLs ('https://apps.shopify.com/categories/.../all'), Shopify Partner URLs ('https://apps.shopify.com/partners/loox'), Chrome Category/Search URLs, or WordPress Tag URLs ('https://wordpress.org/plugins/tags/seo/'). Leave empty for Keyword Discovery or instant live demo.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Keyword App Discovery (e.g. 'email marketing', 'loyalty', 'screen recorder')",
            "type": "string",
            "description": "When Target URLs are empty, automatically discovers top matching apps/extensions across the selected marketplace(s).",
            "default": ""
          },
          "platformFilter": {
            "title": "Marketplace Ecosystem",
            "enum": [
              "all",
              "shopify",
              "chrome",
              "wordpress"
            ],
            "type": "string",
            "description": "Choose a specific app marketplace or scan across all supported ecosystems.",
            "default": "all"
          },
          "outputMode": {
            "title": "Output Mode (Reviews + Churn Leads vs. App Category Benchmark)",
            "enum": [
              "reviews_and_leads",
              "app_profiles_only"
            ],
            "type": "string",
            "description": "Choose 'reviews_and_leads' to extract user reviews, pain signals, and merchant emails, OR 'app_profiles_only' to export a clean table of app ratings, review counts, Built for Shopify badges, pricing plans, Chrome permissions, and developer contacts across an entire category or partner portfolio.",
            "default": "reviews_and_leads"
          },
          "onlyBuiltForShopify": {
            "title": "Only 'Built for Shopify' Certified Apps",
            "type": "boolean",
            "description": "Filter to include only Shopify apps carrying the official 'Built for Shopify' quality badge.",
            "default": false
          },
          "minRating": {
            "title": "Minimum Star Rating (1–5)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Lowest review star rating to include (1 = 1-star reviews).",
            "default": 1
          },
          "maxRating": {
            "title": "Maximum Star Rating (1–5)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Highest review star rating to include. Default is 3 (1–3 star critical reviews for pain-point & churn mining). Set to 5 to capture all reviews.",
            "default": 3
          },
          "sortBy": {
            "title": "Review Sort Order",
            "enum": [
              "newest",
              "lowest_rating",
              "helpful"
            ],
            "type": "string",
            "description": "Sort reviews by newest first (ideal for weekly monitoring), lowest rating first, or most helpful.",
            "default": "newest"
          },
          "reviewLanguage": {
            "title": "Review Language Filter (Chrome Web Store)",
            "enum": [
              "all",
              "en",
              "de",
              "es",
              "fr",
              "pt",
              "it",
              "nl",
              "ja",
              "zh"
            ],
            "type": "string",
            "description": "Capture reviews across all languages ('all') or filter Chrome Web Store reviews by a specific language code.",
            "default": "all"
          },
          "onlyChurnSignals": {
            "title": "Only High-Intent Churn / Switching Signals",
            "type": "boolean",
            "description": "Keep only reviews showing active churn, uninstallation, switching intent, or severe product/billing pain.",
            "default": false
          },
          "painCategoryFilter": {
            "title": "Specific Pain-Point Filter",
            "enum": [
              "any",
              "pricing_hike",
              "billing_trap",
              "bugs_crashes",
              "poor_support",
              "performance_slow",
              "missing_features",
              "integration_sync",
              "ux_confusing"
            ],
            "type": "string",
            "description": "Filter reviews by deterministic B2B pain category (zero extra AI surcharge).",
            "default": "any"
          },
          "keywordFilter": {
            "title": "Review Text Keyword Filter",
            "type": "string",
            "description": "Optional substring that must appear inside the review body (e.g. 'refund', 'Omnisend', 'checkout', 'slow').",
            "default": ""
          },
          "postedWithinDays": {
            "title": "Posted Within Last N Days (0 = All Time)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Incremental date filter: set to 7 or 30 to fetch only fresh reviews published within the last N days.",
            "default": 0
          },
          "enrichMerchantLeads": {
            "title": "Resolve Shopify Reviewers -> Live Store Domain & Email",
            "type": "boolean",
            "description": "Exclusive B2B Lead Feature: resolves Shopify App Store reviewer store names against our 16,300+ verified store index + country-aware live domain probing to extract their live domain, contact email (including Cloudflare decryption), phone, Instagram/TikTok, and Shopify Plus status at ZERO extra fee!",
            "default": true
          },
          "onlyWithMerchantEmail": {
            "title": "Only Deliver Leads With Verified Merchant Email",
            "type": "boolean",
            "description": "When enabled, outputs ONLY Shopify app reviews where a live merchant contact email was successfully verified — ready for immediate cold email outreach.",
            "default": false
          },
          "skipPreviousReviews": {
            "title": "Skip Previously Delivered Items (Cross-Run Deduplication)",
            "type": "boolean",
            "description": "Persists delivered review/profile IDs in your Apify account's named Key-Value Store ('noctua-app-reviews-history') so recurring weekly runs never re-bill the same item twice.",
            "default": false
          },
          "dedupListName": {
            "title": "Deduplication Campaign Name",
            "type": "string",
            "description": "Separate deduplication bucket name for different competitors or client campaigns.",
            "default": "default"
          },
          "maxApps": {
            "title": "Max Apps / Extensions to Analyze",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of apps or extensions to scan (up to 100 when expanding Category or Partner URLs).",
            "default": 5
          },
          "maxReviewsPerApp": {
            "title": "Max Reviews Per App",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum matching reviews to collect per app/extension.",
            "default": 30
          },
          "maxResults": {
            "title": "Max Total Results (Billing Cap)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on total items delivered in this run.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}