{
  "openapi": "3.0.1",
  "info": {
    "title": "Hotmart Marketplace Tracker: Rank, Reviews & New Products",
    "description": "Track Hotmart marketplace products by category, topic or search: Hotmart's ranking score, position, rating, reviews, students, producer badges and payment options, plus week-over-week rank changes, reviews gained and NEW / DROPPED products. All 8 marketplace languages. No login.",
    "version": "0.1",
    "x-build-id": "9G3sbAjScPAaO0MrA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~hotmart-marketplace-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-hotmart-marketplace-tracker",
        "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/yugenox~hotmart-marketplace-tracker/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-hotmart-marketplace-tracker",
        "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/yugenox~hotmart-marketplace-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-hotmart-marketplace-tracker",
        "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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search the Hotmart marketplace for, e.g. \"instagram\" or \"excel\". Each term is one ranked list.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category, topic or search URLs",
            "type": "array",
            "description": "Hotmart marketplace category / topic pages (https://hotmart.com/pt-br/marketplace/categorias/marketing-e-vendas/marketing-digital) or search pages. Each URL is one ranked list.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "Hotmart product pages (https://hotmart.com/pt-br/marketplace/produtos/<name>/<code>). Each is read in full (students, badges, warranty).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Order",
            "enum": [
              "most_relevant",
              "most_recent",
              "most_rated",
              "best_rated",
              "best_seller"
            ],
            "type": "string",
            "description": "Ranking order of each list. \"Most relevant\" is Hotmart's own ranking (with the Hotmart ranking score). \"Best sellers\" returns one page of 24.",
            "default": "most_relevant"
          },
          "productLanguage": {
            "title": "Product language",
            "enum": [
              "",
              "PT_BR",
              "ES",
              "EN",
              "FR",
              "IT",
              "DE",
              "JA",
              "AR"
            ],
            "type": "string",
            "description": "Only products in this language. Empty = all languages.",
            "default": ""
          },
          "locale": {
            "title": "Marketplace site language",
            "enum": [
              "pt-br",
              "es",
              "en",
              "fr",
              "it",
              "de",
              "ja",
              "ar"
            ],
            "type": "string",
            "description": "Which marketplace edition the product links point to (pt-br, es, en …).",
            "default": "pt-br"
          },
          "maxProductsPerSource": {
            "title": "Max products per list",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How deep to read each search term or category (24 per page; Hotmart serves up to 10,000).",
            "default": 100
          },
          "maxItems": {
            "title": "Max products (total)",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many product rows across all lists. You are never charged for more.",
            "default": 200
          },
          "includeDetails": {
            "title": "Product page details",
            "type": "boolean",
            "description": "Also read each product's page: students, producer badges (best seller, verified), producer since, warranty, duration, modules. Costs one extra event per product.",
            "default": false
          },
          "historyStoreName": {
            "title": "Monitor: history store name",
            "type": "string",
            "description": "Turns on monitor mode. Name of a key-value store in your account (e.g. \"hotmart-weekly\") that remembers the last run, so each row gets rankChange, hotScoreChange, reviewsGained, studentsGained, ratingChange and NEW / DROPPED. Use the same name on every scheduled run."
          },
          "onlyChanges": {
            "title": "Monitor: only changed products",
            "type": "boolean",
            "description": "With monitor mode on, save (and charge) only products that are NEW or moved (rank, score, reviews, students, rating).",
            "default": false
          },
          "includeDropped": {
            "title": "Monitor: DROPPED rows",
            "type": "boolean",
            "description": "With monitor mode on, add a free row for each product that fell out of the list since the last run.",
            "default": true
          },
          "producerRollup": {
            "title": "Producer summary rows",
            "type": "boolean",
            "description": "Add one free row per producer: products in the results, average rating, total reviews (and students / best-seller badge with product page details).",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "type": "string",
            "description": "Skip products rated below this (e.g. 4.5). Skipped products are not charged."
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Skip products with fewer reviews. Skipped products are not charged."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy (the default, included in every plan) or your own proxies.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}