{
  "openapi": "3.0.1",
  "info": {
    "title": "Websites Traffic Generator",
    "description": "Boost your website’s visibility with realistic visits from different countries and devices. This Actor simulates natural browsing behavior using smart routing and customizable traffic patterns - no coding required.",
    "version": "0.0",
    "x-build-id": "w0ENP0GYFloxn69hZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/m3web~websites-traffic-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-m3web-websites-traffic-generator",
        "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~websites-traffic-generator/runs": {
      "post": {
        "operationId": "runs-sync-m3web-websites-traffic-generator",
        "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~websites-traffic-generator/run-sync": {
      "post": {
        "operationId": "run-sync-m3web-websites-traffic-generator",
        "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": [
          "startUrl",
          "runTime"
        ],
        "properties": {
          "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": 2
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}