{
  "openapi": "3.0.1",
  "info": {
    "title": "AppSumo Lifetime Deal Pricing & Review Extractor",
    "description": "Fetch AppSumo lifetime deals by URL, search, category or collection for tiered pricing, discounts, features, reviews and deal status.",
    "version": "2.0",
    "x-build-id": "19b9pRuO9QfWxnrGe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~appsumo-lifetime-deal-pricing-and-review-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-appsumo-lifetime-deal-pricing-and-review-extractor",
        "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/dataspryva~appsumo-lifetime-deal-pricing-and-review-extractor/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-appsumo-lifetime-deal-pricing-and-review-extractor",
        "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/dataspryva~appsumo-lifetime-deal-pricing-and-review-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-appsumo-lifetime-deal-pricing-and-review-extractor",
        "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": {
          "dealUrls": {
            "title": "Deal URLs or IDs",
            "type": "array",
            "description": "Optional AppSumo product URLs, product paths or bare slugs, for example https://appsumo.com/products/tidycal/, /products/tidycal/ or tidycal. Numeric deal IDs are also accepted. The Console form prefills one TidyCal URL; API runs only fetch deals you send here.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search in the AppSumo catalogue, for example calendar, crm or seo. Each query is scanned for searchPages pages.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collection": {
            "title": "Collection",
            "enum": [
              "",
              "new",
              "ending-soon",
              "free",
              "ai-stack",
              "customer-favorites",
              "appsumo-originals",
              "plus-exclusives",
              "crm-sales",
              "seo-software",
              "black-friday"
            ],
            "type": "string",
            "description": "Browse a curated AppSumo collection. Leave empty to skip collection browsing.",
            "default": ""
          },
          "group": {
            "title": "Category group",
            "enum": [
              "",
              "marketing",
              "sales-leads",
              "media-design",
              "operations",
              "build-code",
              "customer-engagement"
            ],
            "type": "string",
            "description": "Filter the catalogue by AppSumo category group.",
            "default": ""
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Optional AppSumo category slug, for example email-sms-marketing or calendar-scheduling. Used for catalogue browsing and combined with search queries.",
            "default": ""
          },
          "subcategory": {
            "title": "Subcategory",
            "type": "string",
            "description": "Optional AppSumo subcategory slug, for example scheduling-bookings or seo.",
            "default": ""
          },
          "dealType": {
            "title": "Deal type",
            "enum": [
              "",
              "software",
              "courses-learning",
              "templates",
              "creative-resources"
            ],
            "type": "string",
            "description": "Filter by the type of deal AppSumo lists.",
            "default": ""
          },
          "dealStatus": {
            "title": "Deal status",
            "enum": [
              "current",
              "all",
              "expired"
            ],
            "type": "string",
            "description": "Current live deals, the full all-time archive, or expired deals only.",
            "default": "current"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "recommended",
              "newest",
              "ending-soon",
              "rating",
              "most-reviewed",
              "price-asc",
              "price-desc"
            ],
            "type": "string",
            "description": "Order of the emitted deals. Rating, ending-soon and price orders use AppSumo's own sorting; newest and most-reviewed are sorted deterministically after fetching the requested pages.",
            "default": "recommended"
          },
          "searchPages": {
            "title": "Pages per query or filter",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many result pages to scan for each search query, catalogue filter or collection.",
            "default": 1
          },
          "maxItems": {
            "title": "Max deals",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on emitted AppSumo deals.",
            "default": 25
          },
          "scrapeDetails": {
            "title": "Fetch full deal details",
            "type": "boolean",
            "description": "Fetch each deal page for plans, features, FAQs, taxonomy and lifecycle data. Turn off for faster card-only browsing.",
            "default": true
          },
          "scrapeReviews": {
            "title": "Fetch reviews",
            "type": "boolean",
            "description": "Add individual customer reviews from the public AppSumo reviews API.",
            "default": false
          },
          "maxReviewsPerDeal": {
            "title": "Max reviews per deal",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Review cap per deal when reviews are enabled. Every review of a deal is reachable.",
            "default": 10
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "oldest",
              "helpful",
              "rating-desc",
              "rating-asc"
            ],
            "type": "string",
            "description": "Order of fetched reviews.",
            "default": "newest"
          },
          "useProxy": {
            "title": "Use Apify proxy",
            "type": "boolean",
            "description": "Route requests through Apify proxy. AppSumo serves direct requests reliably, so this is off by default; the actor also retries through the automatic Apify proxy if a block is detected.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}