# Website Traffic Generator Pro (`xtech/website-traffic-generator-pro`) Actor

Generate authentic website traffic with human-like browsing patterns. Perfect for analytics testing, warming up landing pages, and creating realistic visitor engagement. Professional-grade tool for undetectable web visits that boost your site's performance metrics.

- **URL**: https://apify.com/xtech/website-traffic-generator-pro.md
- **Developed by:** [Xtech](https://apify.com/xtech) (community)
- **Categories:** Automation, SEO tools, Developer tools
- **Features:** Full permissions
- **Stats:** 66 total users, 17 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Website Traffic Generator Pro 🚦

Website Traffic Generator Pro is an Apify actor made for teams that just need some dependable, human-looking website visits. Give it a few URLs, decide how many times they should be opened, and it quietly runs in the background while you keep working.

### Why people use it

- **Feels like actual browsing** – Visits include light scrolling, pauses, and a bit of interaction, so your analytics tools see something realistic.
- **Quick to set up** – Paste your URLs, choose a visit count, hit run. No fiddly scripts.
- **Easy pacing** – Default timing works fine, but you can slow things down or speed them up if you’re running a campaign and need more control.
- **Clear paper trail** – Each visit leaves a record with timestamps, IDs, and what it did, so you can double-check results anytime.
- **Apify-ready** – Run it once, schedule it, or call it from the API—whatever fits your workflow.

### Getting started

Provide a short JSON input when you run the actor:

```json
{
  "targetUrls": [
    "https://example.com/product",
    "https://example.com/blog"
  ],
  "visitsPerUrl": 5,
  "maxConcurrency": 3
}
```

- `targetUrls` – required array of pages you want visited.
- `visitsPerUrl` – how many sessions per URL (defaults to 3).
- `maxConcurrency` – how many visits run in parallel (defaults to 3).

Optional knobs (already set to sensible defaults) let you tweak dwell times, delays between actions, viewport randomization, custom headers, and proxy settings.

### What you receive

- An Apify dataset where every row is a visit. You’ll see the visit ID, which URL was requested, where it actually landed, whether it succeeded, how long it took, and a short action log.
- Execution logs in the Apify Console if you like to watch things unfold in real time.

### Typical use cases

- Double-check analytics or attribution setups before launch day.
- Keep landing pages or demo sites “warm” overnight so nothing goes cold.
- Spin up believable engagement when you’re showing stakeholders dashboards.
- Recreate referral or regional traffic without waiting on real users.

### Launch it today

1. Add the actor to your Apify account.
2. Paste your target URLs and how many visits you want.
3. Press **Run** or set a schedule and forget about it.

Need something custom or a higher daily volume? Ping Apify support and we’ll sort it out.

# Actor input Schema

## `targetUrls` (type: `array`):

Array of URLs to visit

## `visitsPerUrl` (type: `integer`):

Number of visits per URL (default: 3)

## `maxConcurrency` (type: `integer`):

Maximum number of parallel visits (default: 3)

## `actionsPerVisit` (type: `integer`):

Number of actions per visit (default: 3)

## `headless` (type: `boolean`):

Run browser in headless mode (default: false)

## Actor input object example

```json
{
  "targetUrls": [
    "https://example.com"
  ],
  "visitsPerUrl": 3,
  "maxConcurrency": 3,
  "actionsPerVisit": 3,
  "headless": false
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "targetUrls": [
        "https://example.com"
    ],
    "visitsPerUrl": 3,
    "maxConcurrency": 3,
    "actionsPerVisit": 3,
    "headless": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtech/website-traffic-generator-pro").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "targetUrls": ["https://example.com"],
    "visitsPerUrl": 3,
    "maxConcurrency": 3,
    "actionsPerVisit": 3,
    "headless": False,
}

# Run the Actor and wait for it to finish
run = client.actor("xtech/website-traffic-generator-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "targetUrls": [
    "https://example.com"
  ],
  "visitsPerUrl": 3,
  "maxConcurrency": 3,
  "actionsPerVisit": 3,
  "headless": false
}' |
apify call xtech/website-traffic-generator-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtech/website-traffic-generator-pro"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XV6keoSCCs9ct6KdD/builds/0foRxjCl6xkc4H79L/openapi.json
