{
  "openapi": "3.0.1",
  "info": {
    "title": "QuickBooks App Store Scraper: B2B Leads, Pricing, Churn Reviews",
    "description": "Extract B2B Fintech & Accounting SaaS vendor leads, direct support emails/phones, pricing plans, Intuit AQI scores, and 1-3 star customer churn reviews from QuickBooks App Store (apps.intuit.com). Pure HTTP (<256 MB RAM) & MCP-ready.",
    "version": "0.0",
    "x-build-id": "XKOhc9vVhfkaPwAaf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalgridhq~quickbooks-app-marketplace-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalgridhq-quickbooks-app-marketplace-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/signalgridhq~quickbooks-app-marketplace-scraper/runs": {
      "post": {
        "operationId": "runs-sync-signalgridhq-quickbooks-app-marketplace-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/signalgridhq~quickbooks-app-marketplace-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-signalgridhq-quickbooks-app-marketplace-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Extraction Mode",
            "enum": [
              "apps",
              "churn_reviews",
              "apps_with_churn"
            ],
            "type": "string",
            "description": "Select 'apps' for B2B vendor leads, contacts & pricing plans, 'churn_reviews' for individual 1-3 star user reviews with churn reason tags, or 'apps_with_churn' for app leads enriched with top recent churn reviews.",
            "default": "apps_with_churn"
          },
          "locale": {
            "title": "QuickBooks Storefront Locale",
            "enum": [
              "en-us",
              "en-gb",
              "en-ca",
              "en-au",
              "fr-ca"
            ],
            "type": "string",
            "description": "Regional QuickBooks App Store locale to query (en-us, en-gb, en-ca, en-au, fr-ca).",
            "default": "en-us"
          },
          "appShortNames": {
            "title": "Specific App ShortNames (Optional)",
            "type": "array",
            "description": "Optional list of exact QuickBooks app shortNames to target (e.g., ['billcom', 'dext_enhanced_version', 'ramp', 'fathom', 'jobtread']). Leave empty to discover apps via searchQuery or categories.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "QuickBooks Categories Filter (Optional)",
            "type": "array",
            "description": "Optional QuickBooks functional categories (e.g., ['Track Expenses', 'Send Invoices', 'Sync Data', 'Track Inventory', 'Manage Projects', 'Receive Payments', 'Run Payroll']). Leave empty when scraping specific appShortNames or all categories.",
            "default": [
              "Track Expenses",
              "Send Invoices"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Keyword Search Query (Optional)",
            "type": "string",
            "description": "Optional keyword query to filter QuickBooks App Store listings (e.g., 'payroll', 'inventory', 'accounts payable', 'shopify').",
            "default": ""
          },
          "ratingsFilter": {
            "title": "Review Star Ratings Filter",
            "type": "array",
            "description": "Star ratings (1 to 5) to fetch when extracting reviews. Defaults to [1, 2, 3] to isolate dissatisfied churning users directly via server-side GraphQL filters.",
            "default": [
              1,
              2,
              3
            ]
          },
          "maxReviewsPerApp": {
            "title": "Max Reviews Per App",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of filtered reviews to extract per app in 'churn_reviews' or 'apps_with_churn' mode.",
            "default": 6
          },
          "maxItems": {
            "title": "Max Billable Dataset Items",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on total output items pushed to the dataset (controls Pay-Per-Event spend).",
            "default": 25
          },
          "concurrency": {
            "title": "HTTP Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel HTTP requests (1 to 10). Keep between 3 and 6 for polite, reliable extraction.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}