# Hypestat Scraper (`bite-sized-insights/hypestat-scraper`) Actor

Scrape Hypestat domain analytics data including global rank, traffic, and engagement metrics.

- **URL**: https://apify.com/bite-sized-insights/hypestat-scraper.md
- **Developed by:** [bite-sized-insights](https://apify.com/bite-sized-insights) (community)
- **Categories:** Lead generation, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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

Extract website traffic, rankings, and traffic sources from HypeStat: competitive intelligence including global rankings, monthly visits, engagement metrics, geographic distribution, and traffic source breakdown for any website. No login required, no cookies needed. Just enter your domains and start extracting.

### Features

#### Data Points per Domain

| Field | Data Points | Description |
|-------|-------------|-------------|
| **Ranking** | Global Rank, Category | See where a site stands globally and what category HypeStat files it under |
| **Visits** | Up to 3 months of estimated visits | Track traffic volume over time |
| **Engagement** | Bounce Rate, Pages/Visit, Time on Site | Understand user quality and behavior |
| **Audience** | Top Countries, Traffic Shares | Identify primary markets |
| **Traffic Sources** | Search, Direct, Social, Referrals, Paid | Discover how visitors find the website |

#### Key Capabilities

- **Bulk Analysis:** Analyze up to 500 domains in one run
- **Flat Output:** One row per domain with top-level fields, ready for CSV and spreadsheets
- **Auto-Cleaning:** Accepts URLs or domains, automatically normalizes input
- **Fault Tolerant:** Failed domains return an error row and don't stop the rest of the run

### Use Cases

| Use Case | What You Get | Business Value |
|----------|--------------|----------------|
| **Competitor Analysis** | Visits, sources, engagement, rankings | Benchmark performance and identify gaps |
| **SEO & Content Strategy** | Traffic source split, engagement | See which channels work best |
| **Market Research** | Rankings, geographic distribution | Spot rising players and regional opportunities |
| **Lead Qualification (B2B)** | Rank, visits, audience | Enrich your CRM and prioritize leads |
| **Investment Research** | Traffic as alternative data | Evaluate digital assets and online businesses |
| **Affiliate Marketing** | Visits, top countries | Find high-traffic partner sites |

### Quick Start

#### Basic Run

```json
{
  "domains": ["apify.com"]
}
```

#### Bulk Analysis

```json
{
  "domains": ["apify.com", "selenium.dev", "playwright.dev", "phpscraper.de"]
}
```

#### Input Format

Enter domains in any format - the actor automatically normalizes them:

| Input Format | Cleaned Output |
|--------------|----------------|
| `https://www.example.com` | `www.example.com` |
| `http://example.com:8080/page` | `example.com` |
| `www.example.com` | `www.example.com` |
| `example.com` | `example.com` |

Note: the `www.` prefix is *not* stripped - `www.example.com` and `example.com` are treated as distinct domains. See Input Validation below.

#### Run & Export

1. Enter domains to analyze
2. Click "Start"
3. View results in the table views
4. Export to JSON, CSV, Excel, XML, or HTML via the Apify Console or API

```bash
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN"
```

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `domains` | Array\[String] | Yes | Website domains or URLs to analyze (1-500) |

#### Input Validation

- Accepts full URLs or domain names
- Auto-removes `http://`, `https://`, and port numbers, and deduplicates exact matches -- does **not** strip a `www.` prefix (kept as-is, so `www.example.com` and `example.com` are treated as distinct domains and billed separately). HypeStat returns identical data for both (verified against a live run), so there's no benefit to submitting both -- pick one.
- Validates domain format
- Hostnames must be ASCII: internationalized domains must be given in punycode (e.g. `xn--bcher-kva.de`, not `bücher.de`)
- Ports must be numeric and between 1 and 65535; reserved/internal TLDs (e.g. `.local`, `.internal`, `.test`, `localhost`) are not accepted
- An invalid domain string anywhere in the list fails the whole run at input-validation time (no items pushed) -- not a per-domain error message
- Maximum 500 domains per run (10 for test and free runs)

### Output Data

Each domain returns one flat row. All sections below are top-level fields.

#### Rank & Category

```json
{
  "global_rank": 18630,
  "category_rank": "Computers Electronics and Technology"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `global_rank` | int | HypeStat's own composite ranking among all websites |
| `category_rank` | string | The site's category label (not a number) |

Note: HypeStat doesn't provide a country-specific rank or a numeric rank within category, so there's no `country_rank` field.

#### Monthly Visits

```json
{
  "estimated_monthly_visits": {
    "2026-05-01": 2199161,
    "2026-06-01": 2089977,
    "2026-07-01": 1911397
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `estimated_monthly_visits` | object | Up to the last 3 months, keyed by the first day of the month (YYYY-MM-DD) |

#### Engagement

```json
{
  "engagements": {
    "bounce_rate": 0.345,
    "page_per_visit": 9.49,
    "visits": 1911397,
    "time_on_site": 362.21
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `bounce_rate` | float | Bounce rate (0-1 scale) |
| `page_per_visit` | float | Average pages viewed per visit |
| `visits` | int | Visits in the latest month |
| `time_on_site` | float | Average visit duration in seconds |

Any of these can be `null` when HypeStat doesn't report the value.

#### Audience

```json
{
  "top_country_shares": [
    {"country_code": "US", "value": 0.194},
    {"country_code": "IN", "value": 0.119},
    {"country_code": "GB", "value": 0.046}
  ]
}
```

| Field | Type | Description |
|-------|------|-------------|
| `top_country_shares` | array | Countries ranked by traffic share |
| `top_country_shares[].country_code` | string | Country code (ISO 3166-1 alpha-2) |
| `top_country_shares[].value` | float | Traffic share (0-1 scale) |

#### Traffic Sources

```json
{
  "traffic_sources": {
    "social": 0.017,
    "paid_referrals": 0.005,
    "referrals": 0.052,
    "search": 0.444,
    "direct": 0.482
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `traffic_sources` | object | Traffic sources with their shares (0-1 scale) |

**Traffic Source Types:**

- `direct` - Direct visits (typed URL, bookmarks)
- `search` - Organic search traffic
- `social` - Social media platforms
- `referrals` - Links from other websites
- `paid_referrals` - Paid advertising traffic

Note: only channels HypeStat reports for that site appear in `traffic_sources` - a domain may have fewer than 5 keys.

#### Complete Output Example

```json
{
  "domain": "apify.com",
  "global_rank": 18630,
  "category_rank": "Computers Electronics and Technology",
  "engagements": {
    "bounce_rate": 0.345,
    "page_per_visit": 9.49,
    "visits": 1911397,
    "time_on_site": 362.21
  },
  "estimated_monthly_visits": {
    "2026-05-01": 2199161,
    "2026-06-01": 2089977,
    "2026-07-01": 1911397
  },
  "traffic_sources": {
    "social": 0.017,
    "paid_referrals": 0.005,
    "referrals": 0.052,
    "search": 0.444,
    "direct": 0.482
  },
  "top_country_shares": [
    {"country_code": "US", "value": 0.194},
    {"country_code": "IN", "value": 0.119},
    {"country_code": "GB", "value": 0.046}
  ],
  "error": null
}
```

#### Error Output

When a domain cannot be analyzed:

```json
{
  "domain": "tiny-unknown-site.com",
  "error": "Domain not found on HypeStat"
}
```

### Pricing: Pay As You Go

This actor uses Apify's pay-per-event billing model for cost-effective, usage-based pricing.

| Event | Cost | Description |
|-------|------|--------------|
| `domain` | $5.00 / 1,000 (Free plan) | Charged per successfully analyzed domain; cheaper on higher plans, see below |
| `apify-actor-start` | $0.00025 per run | Charged once per GB of memory (minimum one), i.e. once for runs at or under 1 GB |

**Key billing details:**

- **Only successful results are charged:** Failed domains (no data on HypeStat) are free
- **No minimum commitment:** Pay only for what you use
- **Budget controls:** Set spending limits in your Apify account

The start event ($0.00025) is charged once per GB of memory (minimum one), i.e. once for runs at or under 1 GB.

**`domain` price by Apify plan:**

| Plan | Cost |
|------|------|
| Free | $5.00 / 1,000 |
| Bronze | $4.75 / 1,000 |
| Silver | $4.25 / 1,000 |
| Gold, Platinum, Diamond | $3.25 / 1,000 |

#### Free Test Runs

New users on Apify's free plan get up to 5 free runs of this actor (lifetime total), each capped to a maximum of 10 domains - upgrade your Apify plan for unlimited runs. Runs started via the Apify Console's "Test" button are always capped to 10 domains too, regardless of your plan, and don't count against the 5 free runs.

### API Integration

#### Call via Apify API

```bash
curl -X POST "https://api.apify.com/v2/acts/bite-sized-insights~hypestat-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": ["google.com", "facebook.com", "amazon.com"]
  }'
```

#### Python Integration

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("bite-sized-insights/hypestat-scraper").call(
    run_input={
        "domains": ["apify.com", "scrapy.org"]
    }
)

## Fetch results
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item.get('error'):
        continue
    print(f"{item['domain']}: Rank #{item['global_rank']}")
```

#### JavaScript/Node.js Integration

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('bite-sized-insights/hypestat-scraper').call({
    domains: ['apify.com', 'scrapy.org']
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
    if (item.error) return;
    console.log(`${item.domain}: Rank #${item.global_rank}`);
});
```

### Dataset Views

The actor provides two table views for easy data analysis:

#### Overview

Quick snapshot of the key metrics:

- Domain
- Global rank and category
- Estimated monthly visits
- Engagement (bounce rate, pages/visit, time on site)

#### Traffic Sources & Countries

- Domain
- Traffic source shares
- Top countries by traffic share

### Technical Details

#### Rate Limits & Performance

- **Automatic batching:** We chunk your workload into batches for faster parallel processing.
- **Parallel processing:** Up to 2 concurrent API requests (3 for runs over 300 domains)
- **Fault tolerance:** Failed batches don't stop other batches from processing

#### Error Handling

The actor handles errors gracefully:

| Error Type | Behavior |
|------------|----------|
| Invalid domain string | Whole run fails at input-validation time (no items pushed) |
| No HypeStat data | Returns with error message |
| Page without any readable report data | Returns an error row with `"error": "parse_empty"` (not charged) |
| Rate limit (429) | Automatic retry with backoff |
| Server error (5xx) | Automatic retry (3 attempts) |
| Auth failure (401) | Actor fails with clear message |

### FAQ

#### How accurate is HypeStat data?

HypeStat estimates traffic using a mix of measurement and statistical modeling, similar in spirit to other third-party traffic-estimate providers. Accuracy is generally best for higher-traffic sites; smaller or newer sites may have less precise estimates.

#### Why do some domains show errors?

This can happen if:

- The domain is very new or has minimal traffic
- HypeStat hasn't indexed the domain
- The domain doesn't exist or is misspelled
- The report page contained no readable data (`parse_empty`)

These rows contain only `domain` and `error`, and you are not charged for them.

#### What do the share values mean?

Share values are decimals from 0 to 1:

- `0.444` = 44.4%
- `0.017` = 1.7%

#### Can I analyze subdomains?

Yes - enter the subdomain directly (e.g. `blog.example.com`), the same as any other domain. HypeStat tracks many subdomains as independent sites with their own separate report (rank, visits, category, country breakdown, etc.) - it does not aggregate a subdomain's traffic into the root domain's numbers. A subdomain HypeStat hasn't indexed on its own simply returns the standard "Domain not found" error rather than falling back to the root domain's data, so well-known, high-traffic subdomains (e.g. a company's docs, blog, or support site) are more likely to have a report than obscure ones.

#### Can I analyze my own website?

Yes! This is useful for verifying your analytics data, understanding your traffic sources, and benchmarking against competitors.

#### How current is the data?

The data is not real-time. Traffic estimates are updated periodically, and the latest data point may lag the current month. The monthly history covers up to the last 3 months.

#### What's the difference between this and the Website Traffic Report actor?

| Feature | HypeStat Scraper | Website Traffic Report |
|---------|------------------|------------------------|
| Data Structure | Flat data fields | Organized sections |
| Trend Analysis | Raw monthly data | Month-over-month trends |
| Primary Source | Manual analysis needed | Automatically identified |
| Best For | Raw data, custom analysis | Quick insights, reporting |

#### How many domains can I analyze?

Up to 500 domains per run (a hard limit -- exceeding it fails the run at input-validation time before anything is processed). Domains within that limit are processed in parallel batches for efficiency. For larger workloads, split them across multiple runs.

### Disclaimer

This actor retrieves publicly available data from HypeStat. The accuracy and availability of data depends on HypeStat's own coverage and methodology, which this actor has no control over. Use the data in compliance with applicable laws and HypeStat's terms of service.

The actor does not store any data beyond the immediate run results. All data is delivered directly to your Apify dataset.

***

**Turn website traffic into insights.** Get HypeStat analytics for hundreds of domains in a single run.

***

**Need help?** Open an issue on the actor's repository or contact support through Apify Console.

# Actor input Schema

## `domains` (type: `array`):

List of domains or URLs to analyze. Can be TLDs (example.com) or full URLs (https://example.com/page) - domain will be extracted automatically. Up to 500 domains per run (10 for test and free runs).

## Actor input object example

```json
{
  "domains": [
    "google.com",
    "facebook.com",
    "amazon.com",
    "youtube.com",
    "wikipedia.org",
    "twitter.com",
    "reddit.com",
    "netflix.com",
    "linkedin.com",
    "instagram.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

HypeStat analytics data for each domain including traffic, rankings, and sources

# 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 = {
    "domains": [
        "google.com",
        "facebook.com",
        "amazon.com",
        "youtube.com",
        "wikipedia.org",
        "twitter.com",
        "reddit.com",
        "netflix.com",
        "linkedin.com",
        "instagram.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bite-sized-insights/hypestat-scraper").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 = { "domains": [
        "google.com",
        "facebook.com",
        "amazon.com",
        "youtube.com",
        "wikipedia.org",
        "twitter.com",
        "reddit.com",
        "netflix.com",
        "linkedin.com",
        "instagram.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bite-sized-insights/hypestat-scraper").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 '{
  "domains": [
    "google.com",
    "facebook.com",
    "amazon.com",
    "youtube.com",
    "wikipedia.org",
    "twitter.com",
    "reddit.com",
    "netflix.com",
    "linkedin.com",
    "instagram.com"
  ]
}' |
apify call bite-sized-insights/hypestat-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bite-sized-insights/hypestat-scraper"
        }
    }
}
```

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/otwepxZCsEOEGOcek/builds/LhtyEO03aAb2qlegt/openapi.json
