# Exploding Topics - Top Websites Scraper (`serj_henrique/exploding-topics-top-websites-scraper`) Actor

Scrape trending and “exploding” websites from Exploding Topics, categorized by industry and region, to uncover emerging market trends.

- **URL**: https://apify.com/serj\_henrique/exploding-topics-top-websites-scraper.md
- **Developed by:** [Sergio Henrique](https://apify.com/serj_henrique) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

## Exploding Topics: Scrape Top Websites by Category and Region

Scrape trending and "exploding" websites from Exploding Topics, categorized by industry and region, to uncover emerging market trends.

### Introduction

In the fast-paced digital economy, staying ahead of the curve means knowing which websites and services are gaining momentum before they become mainstream. The **Exploding Topics Scraper** is designed to help you automate this discovery process. By extracting data directly from the Exploding Topics analytics platform, this Actor provides deep insights into the websites that are currently seeing rapid growth in engagement and popularity.

Whether you are a market researcher, an SEO specialist, or an entrepreneur looking for the next big thing, this tool allows you to systematically monitor shifts in digital interest across various categories and geographic regions.

### Use Cases

- **Trend Discovery for Product Development**: Identify emerging niches and websites within specific industries (like "Artificial Intelligence" or "SaaS") to find gaps in the market.
- **Competitive Intelligence**: Monitor how certain websites are performing in terms of visits, bounce rates, and engagement metrics to understand market leaders and rising challengers.
- **Regional Market Analysis**: Compare website popularity and engagement across different countries to tailor your marketing or expansion strategies to specific geographic regions.
- **SEO & Content Strategy**: Track trending topics and website growth to inform content creation and keyword targeting based on real-world engagement data.

### Input

The Actor is highly configurable, allowing you to target specific areas of interest:

- **Regions**: Select one or more countries or regions (e.g., `united-states`, `global`) to focus your scrape on.
- **Categories**: Choose from a wide range of business categories (e.g., `computer-software-and-development`, `all`) to filter the results.
- **Max Concurrency**: Control the speed of the scraper by setting the number of concurrent requests (between 1 and 8).

### Output

The Actor produces a dataset containing detailed information for each website found, including its rank, engagement metrics, and growth trends.

```json
[
  {
      "region": "united-states",
      "category": "airlines",
      "path": "expedia.com",
      "rank": 1,
      "rankChange": 0,
      "rankChangeDirection": "same",
      "visits": 61885880,
      "pagesPerVisit": 4.6943,
      "bounceRate": 46.69,
      "averageDuration": "14:06"
    },
    {
      "region": "united-states",
      "category": "airlines",
      "path": "aa.com",
      "rank": 2,
      "rankChange": 0,
      "rankChangeDirection": "same",
      "visits": 46900058,
      "pagesPerVisit": 6.1783,
      "bounceRate": 27.56,
      "averageDuration": "15:10"
    }
]
```

### Miscellaneous

- **Rate Limits**: Be mindful of the `max_concurrency` setting. Higher values increase speed but may lead to more frequent rate limiting if not paired with robust proxy usage.
- **Concurrency & Memory**: The `max_concurrency` parameter should be tuned alongside the Apify Actor's memory configuration. Increasing the memory provides more CPU, which is necessary to handle higher concurrency. For instance, a 1 GB actor might not be reliable when using high concurrency.
- **Error Handling**: Failed requests are pushed to the Key-Value Store, allowing you to review them and retry if needed.

# Actor input Schema

## `region` (type: `array`):

One or more regions or countries to get top websites for.

## `categories` (type: `array`):

List of categories to scrape top websites from.

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

Maximum number of concurrent requests. Increase this to improve throughput but pair it with the memory configuration in apify. 1 GB can't handle concurrency while 8 GB can give us 8 cores. Must be at least 1

## Actor input object example

```json
{
  "region": [
    "united-states"
  ],
  "categories": [
    "all"
  ],
  "maxConcurrency": 8
}
```

# Actor output Schema

## `default` (type: `string`):

No description

# 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 = {
    "region": [
        "united-states"
    ],
    "categories": [
        "all"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("serj_henrique/exploding-topics-top-websites-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 = {
    "region": ["united-states"],
    "categories": ["all"],
}

# Run the Actor and wait for it to finish
run = client.actor("serj_henrique/exploding-topics-top-websites-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 '{
  "region": [
    "united-states"
  ],
  "categories": [
    "all"
  ]
}' |
apify call serj_henrique/exploding-topics-top-websites-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,serj_henrique/exploding-topics-top-websites-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/Ry0VdZoYFwcwsk3Gz/builds/GLg5Ze8lZFSKLi52D/openapi.json
