# Website Traffic & SEO Insights API - (Similarweb Alternative) (`thedataloom/website-traffic-seo-insights-api`) Actor

🔴 BEST VALUE 🔴 Similarweb API alternative. Access crucial website analytics: domain traffic, website rank, keywords analysis, and competitive SEO data. Perfect for website engagement insights, domain authority tracking, website traffic, keyword research, keyword insights analysis.

- **URL**: https://apify.com/thedataloom/website-traffic-seo-insights-api.md
- **Developed by:** [DataLoom](https://apify.com/thedataloom) (community)
- **Categories:** SEO tools, AI, Open source
- **Stats:** 3 total users, 1 monthly users, 96.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Website Traffic & SEO Insights API (Similarweb Alternative)

Extract domain traffic, bounce rates, global rankings & AI referral insights — no crawling, no proxies, no rate limits. A fast, structured **website traffic API** and **Similarweb alternative**. From $0.70 per 1,000 results.

**Input Requirement: Takes any target website domain or URL (e.g., `shopify.com` or `ycombinator.com`) as input.**

**Built for AI agents & marketing stacks:** structured JSON output that plugs straight into n8n, Zapier, Make, REST API, Python, Node.js, and MCP — zero web scraping infrastructure needed on your end.

***

### Why Use This Website Traffic API

<table>
  <tr>
    <td>✅ <b>No crawling infrastructure</b> <br> Extract website traffic & SEO data instantly — no proxies, no headless browsers, no container maintenance</td>
    <td>📊 <b>Rich, structured data</b> <br> 70+ data points per domain — traffic volume, rank, organic keywords, geography, and AI referral metrics</td>
  </tr>
  <tr>
    <td>🌍 <b>Global traffic coverage</b> <br> Monthly visitors, engagement metrics, and country-level breakdowns for any domain worldwide</td>
    <td>🔄 <b>Export anywhere</b> <br> JSON, CSV, Excel, XML · n8n, Zapier, Make, REST API, MCP</td>
  </tr>
  <tr>
    <td>🔍 <b>Full SEO keyword data</b> <br> Top organic keywords, search volume, estimated CPC value, and SERP positions per domain</td>
    <td>💰 <b>Competitive pricing</b> <br> From $0.70 per 1,000 results — transparent Pay-Per-Event billing with zero minimum commitments</td>
  </tr>
</table>

***

### Side-by-Side Comparison: Similarweb API Alternative

| Feature / Metric                | Website Traffic & SEO Insights API                 | Similarweb API / Traditional Scraping            |
| :--------------------------------| :---------------------------------------------------| :-------------------------------------------------|
| **Pricing Model**               | **$0.70 / 1,000 results** (Pay-Per-Event)          | High annual minimums / Enterprise subscriptions  |
| **AI Referral Metrics**         | **Included** (ChatGPT, Perplexity, Gemini, Claude) | Not natively available                           |
| **Proxy & Scraper Maintenance** | **Zero** — Handled end-to-end                      | High (IP bans, CAPTCHAs, headless browser costs) |
| **Data Formats**                | JSON, CSV, Excel, dataset tables, API              | Custom JSON integration required                 |
| **Bulk Domain Support**         | **Built-in bulk website traffic checker**          | Enterprise API access required                   |
| **Integration Support**         | REST API, Python/Node SDKs, n8n, MCP               | Proprietary REST API                             |
-------------------------------------------------------------------------------------------------------------------------------------------

### What Data You Get

- **📈 Traffic Overview**: Monthly unique visitors, engagement metrics (bounce rate, pages per visit, average session duration), and full traffic source breakdown (organic, direct, social, referral, paid search).
- **🌍 Geographic Distribution**: Top country traffic share and regional audience breakdown for international market analysis.
- **🏆 Ranking Data**: Global rank, traffic popularity score, country-specific rank, and category position — a reliable Alexa Rank alternative.
- **🔑 SEO & Keyword Insights**: Top organic keywords driving traffic, monthly search volume, estimated CPC keyword value, and SERP positions.
- **🕵️ Competitor Intelligence**: Similar sites, competitor domain discovery, and alternative-domain recommendations for market mapping.
- **🤖 AI Referral Metrics**: How AI search engines (ChatGPT, Perplexity, Gemini, Claude, Copilot) refer traffic to a domain, top AI-driven prompts, and platform traffic shares.
- **ℹ️ Website Metadata**: Domain category classification, technical metadata, and screenshot previews.

***

### 💬 Frequently Asked Questions (FAQ)

#### Q1: How can I extract website traffic data programmatically via API?

You can query our `/website-insights` endpoint with any domain name (e.g., `reddit.com` or `https://shopify.com`) to extract total monthly visits, bounce rate, average session duration, geographic distribution, and top traffic sources.

#### Q2: How do I track AI referral traffic from ChatGPT, Gemini, and Perplexity?

Our `/website-insights` endpoint provides built-in `ai_referrals` metrics, detailing monthly referral visits and platform traffic share from ChatGPT, Gemini, Perplexity, Claude, and Copilot.

#### Q3: How can I find similar websites and competitor category rankings?

Use our `/similar-sites` endpoint by providing a target domain. It returns related sites along with their global rank, monthly visits, and category positions.

#### Q4: Is this API a cost-effective alternative to Similarweb API?

Yes. Our API provides complete traffic insights, search keywords, engagement metrics, and competitor datasets without expensive subscriptions or high minimum volume commitments ($0.70 per 1,000 results).

#### Q5: Can I use this tool as a bulk website traffic checker for multiple domains?

Yes. Pass multiple URLs or domains in `startUrls` array (or upload a text file / link a Google Sheet). The API processes batch domain queries concurrently with rate-limiting throttling based on your plan.

#### Q6: How does domain matching work for subdomains vs. root domains?

Querying `www.example.com` and `example.com` returns root domain traffic statistics. Subdomains (e.g., `blog.example.com`) are parsed and evaluated separately to give accurate subdomain traffic benchmarks.

#### Q7: Can I integrate this API into AI agents and automation tools?

Yes. The actor provides structured JSON dataset outputs compatible with **n8n**, **Zapier**, **Make**, **LangChain**, and **Apify MCP Server** for autonomous AI agent tools.

***

### Pricing & Cost Expectations

This Actor uses Apify's **Pay-Per-Event (PPE)** pricing framework. You are billed only for successful data items returned.

- **Cost per 1,000 Domains Analyzed**: ~$0.70 USD
- **No Monthly Minimums**: Pay only for what you run.
- **Budget Control**: You can set an optional total spending cap on your runs via Apify Console or input settings.

***

### Ready-to-Run Public Task Landing Pages

This Actor includes 10 pre-configured use-case tasks:

1. **Find Similar Websites & Competitor Domain Finder** (`similar-sites`)
2. **E-Commerce Competitor Traffic & Audience Benchmarks** (`website-insights`)
3. **SaaS Competitor Traffic & Market Share Analyzer** (`website-insights`)
4. **Extract Domain Top Organic Keywords & SERP Positions** (`website-insights`)
5. **Alexa Rank Alternative — Website Global & Country Rank Checker** (`website-insights`)
6. **Website Traffic Source Breakdown (Organic, Paid, Direct, Social)** (`website-insights`)
7. **Website Geographic Traffic Share & Regional Audience Analyzer** (`website-insights`)
8. **ChatGPT & Perplexity AI Referral Traffic Analyzer** (`website-insights`)
9. **AI Engine Referral Prompts & Generative Search Query Analytics** (`website-insights`)
10. **B2B Prospect Website Traffic & Engagement Scoring for Sales Teams** (`website-insights`)

***

### Data Availability & Coverage Notes

- **AI Referral Traffic (`ai_referrals`)**: AI platform referral metrics are available for top-ranked domains (>80% coverage for domains with >1M monthly visits, ~93% coverage for top 10,000 global domains).
- **Traffic & Engagement**: Populated for domains with active monthly traffic. Lower-traffic/unranked domains return available metadata while traffic metrics remain empty.
- **SEO Keywords**: Organic keyword CPC data is present for commercial search terms (non-commercial keywords omit CPC as expected).

***

### Who This API Is For

SEO tool developers · digital marketing agencies · SaaS founders building analytics dashboards · e-commerce businesses tracking competitors · data analysts & market researchers · growth & sales teams performing bulk website traffic scoring.

***

### Support & Feedback

If you encounter any issues or want to request new features, please submit a report on the [Apify Issues tab](https://console.apify.com/actors/thedataloom/website-traffic-seo-insights-api/issues).

***

*This is an independent, unofficial API wrapper and is not affiliated with, endorsed by, or sponsored by Similarweb. All product names, logos, and trademarks belong to their respective owners.*

# Actor input Schema

## `endpoint` (type: `string`):

Select the Website Insights API endpoint to query.

## `startUrls` (type: `array`):

One or more URLs or domains to get insights for. You can paste a list of domains/URLs, upload a text file, or link a Google Sheet.

## Actor input object example

```json
{
  "endpoint": "website-insights",
  "startUrls": [
    {
      "url": "https://ycombinator.com"
    },
    {
      "url": "https://shopify.com"
    },
    {
      "url": "https://blog.hubspot.com"
    },
    {
      "url": "https://openai.com"
    }
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing website traffic, rankings, competitor, SEO, and AI referrals data.

# 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 = {
    "startUrls": [
        {
            "url": "https://ycombinator.com"
        },
        {
            "url": "https://shopify.com"
        },
        {
            "url": "https://blog.hubspot.com"
        },
        {
            "url": "https://openai.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thedataloom/website-traffic-seo-insights-api").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 = { "startUrls": [
        { "url": "https://ycombinator.com" },
        { "url": "https://shopify.com" },
        { "url": "https://blog.hubspot.com" },
        { "url": "https://openai.com" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thedataloom/website-traffic-seo-insights-api").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://ycombinator.com"
    },
    {
      "url": "https://shopify.com"
    },
    {
      "url": "https://blog.hubspot.com"
    },
    {
      "url": "https://openai.com"
    }
  ]
}' |
apify call thedataloom/website-traffic-seo-insights-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=thedataloom/website-traffic-seo-insights-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/VVkQjbdxmxo1yJ058/builds/6OiqkUwNXXN31t79w/openapi.json
