{
  "openapi": "3.0.1",
  "info": {
    "title": "Organic Visit Scheduler X",
    "description": "Automates and randomizes the timing of visits triggered by the \"Organic Visit Simulator X\", creating natural-looking daily engagement patterns. Helps maintain search visibility with realistic visit frequency and timing.",
    "version": "0.0",
    "x-build-id": "1AWmnK60MBf9sqhur"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/m3web~organic-visit-scheduler-x/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-m3web-organic-visit-scheduler-x",
        "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~organic-visit-scheduler-x/runs": {
      "post": {
        "operationId": "runs-sync-m3web-organic-visit-scheduler-x",
        "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~organic-visit-scheduler-x/run-sync": {
      "post": {
        "operationId": "run-sync-m3web-organic-visit-scheduler-x",
        "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"
        ],
        "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": [
              "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 the country for simulation.",
            "default": "WW"
          },
          "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": [
              "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 the country for simulation.",
            "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": [
              "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 the country for simulation.",
            "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": [
              "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 the country for simulation.",
            "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": [
              "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 the country for simulation.",
            "default": "FR"
          },
          "deduplicateDomains": {
            "title": "6. 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
          },
          "startHour": {
            "title": "7.1.1 Start Hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Earliest hour (0–23) to begin scheduling visits",
            "default": 9
          },
          "endHour": {
            "title": "7.1.2 End Hour",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Latest hour (0–23) to end scheduling visits",
            "default": 20
          },
          "maxSchedules": {
            "title": "7.2 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": "7.3 Number of Days",
            "minimum": 1,
            "type": "integer",
            "description": "How many days to repeat the simulation",
            "default": 1
          },
          "timezone": {
            "title": "7.4 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"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}