{
  "openapi": "3.0.1",
  "info": {
    "title": "WTG Random Scheduler 4",
    "description": "Supporting Actor for Websites Traffic Generator. Automates randomized scheduling (no-code) to simulate organic traffic across days and time windows - ideal for SEO campaigns, visibility boosts, and hands-free traffic automation.",
    "version": "0.0",
    "x-build-id": "hzvwIiev2cFFiFASB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/m3web~wtg-random-scheduler-4/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-m3web-wtg-random-scheduler-4",
        "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/m3web~wtg-random-scheduler-4/runs": {
      "post": {
        "operationId": "runs-sync-m3web-wtg-random-scheduler-4",
        "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/m3web~wtg-random-scheduler-4/run-sync": {
      "post": {
        "operationId": "run-sync-m3web-wtg-random-scheduler-4",
        "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": [
          "startHour",
          "endHour",
          "maxSchedules",
          "days",
          "startUrl",
          "runTime"
        ],
        "properties": {
          "startHour": {
            "title": "Start Hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Earliest hour (0–23) to begin scheduling visits",
            "default": 9
          },
          "endHour": {
            "title": "End Hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Latest hour (0–23) to end scheduling visits",
            "default": 20
          },
          "maxSchedules": {
            "title": "Maximum Total Schedules",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Total number of schedules to create across all days (max 100) must be ≥ number of days",
            "default": 1
          },
          "days": {
            "title": "Number of Days",
            "minimum": 1,
            "type": "integer",
            "description": "How many days to repeat the simulation",
            "default": 1
          },
          "timezone": {
            "title": "Timezone",
            "enum": [
              "Pacific/Honolulu",
              "America/Anchorage",
              "America/Los_Angeles",
              "America/Denver",
              "America/Chicago",
              "America/Bogota",
              "America/New_York",
              "America/Toronto",
              "America/Lima",
              "America/Santiago",
              "America/Caracas",
              "America/Sao_Paulo",
              "America/Buenos_Aires",
              "Atlantic/Azores",
              "UTC",
              "Europe/London",
              "Africa/Casablanca",
              "Europe/Paris",
              "Europe/Berlin",
              "Europe/Madrid",
              "Europe/Rome",
              "Europe/Amsterdam",
              "Europe/Prague",
              "Europe/Zurich",
              "Europe/Istanbul",
              "Europe/Kyiv",
              "Africa/Cairo",
              "Africa/Johannesburg",
              "Asia/Jerusalem",
              "Asia/Amman",
              "Asia/Beirut",
              "Asia/Riyadh",
              "Asia/Qatar",
              "Asia/Tehran",
              "Asia/Dubai",
              "Asia/Kabul",
              "Asia/Kolkata",
              "Asia/Colombo",
              "Asia/Dhaka",
              "Asia/Yangon",
              "Asia/Bangkok",
              "Asia/Jakarta",
              "Asia/Shanghai",
              "Asia/Singapore",
              "Asia/Manila",
              "Asia/Taipei",
              "Asia/Seoul",
              "Asia/Tokyo",
              "Australia/Perth",
              "Australia/Brisbane",
              "Australia/Sydney",
              "Pacific/Guam",
              "Pacific/Auckland",
              "Pacific/Chatham"
            ],
            "type": "string",
            "description": "Timezone in which the schedule should run (e.g. Asia/Tokyo, America/New_York).",
            "default": "UTC"
          },
          "basicInputs": {
            "title": "Basic inputs",
            "type": "string",
            "description": "Basic inputs for Websites Traffic Generator"
          },
          "startUrl": {
            "title": "1.1 Start URLs",
            "type": "array",
            "description": "List of URLs to simulate steady, organic web traffic.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "countryCode": {
            "title": "1.2 Country",
            "enum": [
              "DCP",
              "WW",
              "AR",
              "AU",
              "AT",
              "BE",
              "BR",
              "CA",
              "CN",
              "FR",
              "DE",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "MX",
              "NL",
              "NO",
              "PL",
              "RU",
              "SA",
              "KR",
              "ES",
              "SE",
              "CH",
              "TW",
              "TH",
              "TR",
              "GB",
              "US"
            ],
            "type": "string",
            "description": "Select a country to generate visits from.",
            "default": "WW"
          },
          "runTime": {
            "title": "Run duration",
            "enum": [
              "2",
              "5",
              "10",
              "15",
              "20",
              "25",
              "30",
              "40",
              "50",
              "60",
              "75",
              "90",
              "105"
            ],
            "type": "string",
            "description": "Select run duration in minutes.",
            "default": "2"
          },
          "advancedOptions": {
            "title": "Advanced Options",
            "type": "string",
            "description": "Additional settings options."
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 2,
            "maximum": 12,
            "type": "integer",
            "description": "Set the maximum number of visits that will be processed simultaneously.",
            "default": 6
          },
          "createSpike": {
            "title": "Create traffic spike",
            "type": "boolean",
            "description": "If ON, traffic ramps up at the beginning, peaks during the core window, and tapers off toward the end. Most of the time, concurrency stays close to your selected Max Concurrency value.",
            "default": true
          },
          "minSession": {
            "title": "Minimum single visit duration",
            "minimum": 25,
            "maximum": 275,
            "type": "integer",
            "description": "Each individual visit cannot be shorter than the time you specify.",
            "default": 30
          },
          "maxSession": {
            "title": "Maximum single visit duration",
            "minimum": 45,
            "maximum": 300,
            "type": "integer",
            "description": "Each individual visit cannot be longer than the time you specify.",
            "default": 75
          },
          "deduplicateDomains": {
            "title": "Randomly select only one URL from the same domain",
            "type": "boolean",
            "description": "If enabled, the Actor will randomly pick one URL per domain.",
            "default": false
          },
          "mobileVSdesktop": {
            "title": "Mobile vs Desktop",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Select a percentage of Mobile devices (Smartphone and tablet), and the remaining amount will be Desktop devices (PC and Laptop)",
            "default": 90
          },
          "otherCountries": {
            "title": "Visits from other countries",
            "type": "string",
            "description": "Set up URLs for visits from other countries"
          },
          "startUrl2": {
            "title": "2.1 Start URLs for second country",
            "type": "array",
            "description": "List of URLs to simulate steady, organic web traffic.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "countryCode2": {
            "title": "2.2 Country",
            "enum": [
              "DCP",
              "WW",
              "AR",
              "AU",
              "AT",
              "BE",
              "BR",
              "CA",
              "CN",
              "FR",
              "DE",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "MX",
              "NL",
              "NO",
              "PL",
              "RU",
              "SA",
              "KR",
              "ES",
              "SE",
              "CH",
              "TW",
              "TH",
              "TR",
              "GB",
              "US"
            ],
            "type": "string",
            "description": "Select a country to generate visits from.",
            "default": "US"
          },
          "startUrl3": {
            "title": "3.1 Start URLs for third country",
            "type": "array",
            "description": "List of URLs to simulate steady, organic web traffic.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "countryCode3": {
            "title": "3.2 Country",
            "enum": [
              "DCP",
              "WW",
              "AR",
              "AU",
              "AT",
              "BE",
              "BR",
              "CA",
              "CN",
              "FR",
              "DE",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "MX",
              "NL",
              "NO",
              "PL",
              "RU",
              "SA",
              "KR",
              "ES",
              "SE",
              "CH",
              "TW",
              "TH",
              "TR",
              "GB",
              "US"
            ],
            "type": "string",
            "description": "Select a country to generate visits from.",
            "default": "DE"
          },
          "startUrl4": {
            "title": "4.1 Start URLs for fourth country",
            "type": "array",
            "description": "List of URLs to simulate steady, organic web traffic.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "countryCode4": {
            "title": "4.2 Country",
            "enum": [
              "DCP",
              "WW",
              "AR",
              "AU",
              "AT",
              "BE",
              "BR",
              "CA",
              "CN",
              "FR",
              "DE",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "MX",
              "NL",
              "NO",
              "PL",
              "RU",
              "SA",
              "KR",
              "ES",
              "SE",
              "CH",
              "TW",
              "TH",
              "TR",
              "GB",
              "US"
            ],
            "type": "string",
            "description": "Select a country to generate visits from.",
            "default": "GB"
          },
          "startUrl5": {
            "title": "5.1 Start URLs for fifth country",
            "type": "array",
            "description": "List of URLs to simulate steady, organic web traffic.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "countryCode5": {
            "title": "5.2 Country",
            "enum": [
              "DCP",
              "WW",
              "AR",
              "AU",
              "AT",
              "BE",
              "BR",
              "CA",
              "CN",
              "FR",
              "DE",
              "IN",
              "ID",
              "IE",
              "IL",
              "IT",
              "JP",
              "MX",
              "NL",
              "NO",
              "PL",
              "RU",
              "SA",
              "KR",
              "ES",
              "SE",
              "CH",
              "TW",
              "TH",
              "TR",
              "GB",
              "US"
            ],
            "type": "string",
            "description": "Select a country to generate visits from.",
            "default": "FR"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}