Similarweb Scraper: Website Traffic, Ranks & AI Referrals avatar

Similarweb Scraper: Website Traffic, Ranks & AI Referrals

Pricing

from $1.61 / 1,000 result extracteds

Go to Apify Store
Similarweb Scraper: Website Traffic, Ranks & AI Referrals

Similarweb Scraper: Website Traffic, Ranks & AI Referrals

Get Similarweb website traffic for any list of domains: monthly visits and trend, global/country/category rank, engagement, channels, countries, keywords, and AI chatbot referral traffic. No Similarweb account needed.

Pricing

from $1.61 / 1,000 result extracteds

Rating

0.0

(0)

Developer

Automation Lab

Automation Lab

Maintained by Community

Actor stats

0

Bookmarked

22

Total users

5

Monthly active users

5 days ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Turn a list of websites into structured traffic-intelligence records.

This Actor accepts domains or full URLs and extracts public Similarweb estimates for visits, rankings, engagement, acquisition channels, countries, search keywords, and AI chatbot referral traffic (visits from ChatGPT, Claude, Gemini, Perplexity and others). It is designed for repeatable competitor monitoring, SEO research, agency reporting, investment diligence, and lead scoring.

No Similarweb account or API key is required. This independent Actor is not affiliated with or endorsed by Similarweb. It does not use AI models to produce its output.

What does Similarweb Traffic Intelligence Scraper do?

The Actor performs one lookup per unique domain and saves one normalized dataset row.

It can:

  • 🌐 normalize bare domains and full URLs;
  • 📈 extract current and monthly estimated visits with ready-to-sort month-over-month changes;
  • 🏆 collect global, country, and category ranks;
  • ⏱️ return bounce rate, pages per visit, and time on site;
  • 🚦 break traffic down by direct, search, social, referral, mail, ads, affiliate, and generative AI;
  • 🌍 list leading countries and their traffic shares;
  • 🔎 return top keywords with volume and CPC when available;
  • 🤖 measure AI chatbot referral traffic: AI visits, AI share of all visits, the top chatbots sending them, and sample AI prompts for large sites;
  • 🖼️ link Similarweb's homepage screenshot of each site;
  • ⚡ answer single-domain lookups over HTTP in seconds through the Server API;
  • 📦 process a bulk domain cohort with bounded concurrency;
  • 🔁 retry blocked requests with fresh sessions;
  • 💾 export results as JSON, CSV, Excel, XML, RSS, or via API.

Who is it for?

SEO and growth teams

Compare organic visibility, paid-search share, engagement, and traffic direction across competitors.

Competitive-intelligence analysts

Refresh a watchlist on a weekly or monthly schedule and join snapshots by domain.

Agencies

Build repeatable client and prospect reports without manually copying website analytics.

Investors and researchers

Use estimated visits, market ranks, countries, and channel mix as directional diligence signals.

Sales and lead-scoring teams

Enrich domain lists with traffic scale and engagement indicators before prioritizing outreach.

Why use this Actor?

Similarweb's normal website pages are protected and tedious to inspect at scale. This Actor uses a lightweight public data surface with managed proxy sessions and produces a stable schema.

You get:

  • one row per domain;
  • source snapshot dates separated from scrape timestamps;
  • explicit metric names and units;
  • typed arrays for months, countries, and keywords;
  • duplicate input removal;
  • no charge for domains Similarweb has no data for, or for blocked records;
  • one invalid entry is skipped and named, not fatal for the whole list;
  • a final status message such as "Got 98 of 100 domains: 2 without Similarweb data";
  • non-zero failure when every lookup fails.

What data can you extract?

FieldTypeDescription
domainstringCanonical domain without protocol or www
similarwebUrlURLPublic Similarweb website page
snapshotDatedatetimeDate represented by the source metrics
scrapedAtdatetimeTime the Actor retrieved the record
titlestringWebsite title
descriptionstringWebsite description
categorystringSimilarweb category
primaryCountryCodestringMain country ISO code
globalRanknumberWorldwide traffic rank
countryRanknumberRank in the main country
categoryRanknumberRank in the category
totalVisitsnumberLatest monthly estimated visits
monthlyVisitsarrayRecent month and visit values
previousMonthVisitsnumberEstimated visits in the month before the latest valid month
visitChangenumberLatest visits minus previous-month visits
visitChangePercentnumberMonth-over-month percentage change; omitted when the previous value is zero
bounceRatenumberEstimated single-page visit share
pagesPerVisitnumberEstimated pages per session
timeOnSiteSecondsnumberEstimated average visit duration
trafficChannelsobjectAcquisition-channel shares
topCountriesarrayCountry names, codes, and shares
topKeywordsarrayKeyword, traffic value, volume, and CPC
aiReferralVisitsnumberEstimated monthly visits from AI chatbots
aiReferralSharenumberAI chatbot visits as a share of all visits (0–1)
aiChatbotsarrayTop chatbots and each one's share of the site's AI visits (0–1)
aiTopPromptsarraySample AI prompts that led to the site; mostly large sites, often empty
screenshotUrlURLSimilarweb's homepage screenshot image
isSmallSitebooleanSource low-traffic coverage marker

How to scrape Similarweb traffic data

  1. Open the Actor input page.
  2. Add one or more domains or URLs.
  3. Leave parallel lookups at 3 for reliable bulk processing.
  4. Keep the recommended residential proxy configuration.
  5. Click Start.
  6. Open the Dataset tab when the run finishes.
  7. Export the data or consume it through the API.

A small first run with two domains normally completes well under two minutes.

Input

{
"domains": [
"apify.com",
"https://www.openai.com/research/"
],
"maxConcurrency": 2,
"maxRetries": 2
}

domains

Required array with up to 1,000 entries. Accepted forms include:

  • apify.com
  • www.apify.com
  • https://apify.com/
  • https://apify.com/store

All four resolve to the canonical domain apify.com. Duplicate domains are removed before requests begin. An entry that is not a domain is skipped with a warning; the run fails only when no entry is valid.

maxConcurrency

Number of parallel domain lookups, from 1 to 10. The default is 3. Higher values can increase blocking and are not always faster.

maxRetries

Number of fresh-session retries per domain, from 0 to 5. The default is 2.

proxyConfiguration

The default uses US residential Apify Proxy because the source blocks ordinary datacenter requests. You can provide your own compatible proxies.

Output example

{
"domain": "apify.com",
"similarwebUrl": "https://www.similarweb.com/website/apify.com/",
"snapshotDate": "2026-06-01T00:00:00+00:00",
"scrapedAt": "2026-07-17T17:00:00.000Z",
"title": "Apify: Full-stack web scraping and data extraction platform",
"category": "Computers_Electronics_and_Technology/Computers_Electronics_and_Technology",
"primaryCountryCode": "US",
"globalRank": 8801,
"countryRank": 8256,
"categoryRank": 247,
"totalVisits": 4414475,
"monthlyVisits": [
{ "month": "2026-04-01", "visits": 4130336 },
{ "month": "2026-05-01", "visits": 4418959 },
{ "month": "2026-06-01", "visits": 4414475 }
],
"previousMonthVisits": 4418959,
"visitChange": -4484,
"visitChangePercent": -0.10147186249069068,
"bounceRate": 0.3635451162,
"pagesPerVisit": 7.3124135947,
"timeOnSiteSeconds": 294.1571081669,
"trafficChannels": {
"direct": 0.4145422251,
"organicSearch": 0.366193478,
"paidSearch": 0.0575787237,
"generativeAi": 0.0309050553
},
"topCountries": [
{ "countryCode": "US", "countryName": "United States", "share": 0.2108480084 }
],
"topKeywords": [
{ "keyword": "apify", "estimatedTrafficValue": 1077780, "volume": 953570, "cpc": 0.83 }
],
"aiReferralVisits": 124221.157,
"aiReferralShare": 0.0299,
"aiChatbots": [
{ "chatbot": "claude.ai", "share": 0.6635 },
{ "chatbot": "gemini.google.com", "share": 0.104 },
{ "chatbot": "chatgpt.com", "share": 0.0611 }
],
"aiTopPrompts": [],
"screenshotUrl": "https://site-images.similarcdn.com/image?url=apify.com&t=1&s=1&h=125d66be47a23677bb607b06989996d242ec48f6fa515f16fb9caf60be1ad6f6",
"isSmallSite": false
}

Values are estimates supplied by the source. They should not be interpreted as first-party analytics.

How much does it cost to scrape Similarweb traffic data?

The Actor uses pay-per-event pricing:

  • the run-start event is $0.005, charged once with the first saved domain (or when a valid run finishes without data); an invalid input costs nothing;
  • one result event is charged per domain with traffic data saved to the dataset;
  • domains without Similarweb data, blocked lookups and invalid entries are not charged;
  • the run stops cleanly at your Maximum charge per run, so you never pay more than you set;
  • result prices are $0.0030811 FREE, $0.0026792 BRONZE, $0.0020898 SILVER, $0.0016075 GOLD, $0.0010717 PLATINUM, and $0.00075018 DIAMOND.

From 2026-12-05 the price will be lower: the run-start event will be $0.001, and result prices will be $0.0018 FREE, $0.0018 BRONZE, $0.00162 SILVER, and $0.00144 GOLD, PLATINUM and DIAMOND. For example, 100 domains will cost about $0.18 on the Starter plan instead of $0.27.

The Apify Console displays the exact current price before each run. Proxy and compute usage is included in platform execution accounting.

Traffic-channel interpretation

Channel values are shares between 0 and 1.

For example, organicSearch: 0.36 means roughly 36% of estimated visits came from organic search in the source model.

Possible keys include:

  • direct
  • organicSearch
  • paidSearch
  • organicSocial
  • paidSocial
  • referrals
  • mail
  • displayAds
  • affiliate
  • generativeAi

A missing key means the source did not provide that metric for the domain.

Monthly monitoring workflow

Use an Apify schedule to run the same domain cohort every month.

Recommended workflow:

  1. create one task with your stable domain list;
  2. schedule it after the source's monthly refresh;
  3. send the dataset to Google Sheets, a warehouse, or a webhook;
  4. retain snapshotDate and scrapedAt;
  5. sort or filter visitChange and visitChangePercent to identify traffic winners and losers;
  6. compare rank, engagement, and channel share over time.

The derived change fields use the latest two valid chronological entries in monthlyVisits. They are omitted when fewer than two valid months exist, and visitChangePercent is omitted when the previous month has zero visits. Do not overwrite historical rows if longer-term trend analysis matters.

Lead-scoring workflow

Traffic intelligence can enrich a CRM or prospect dataset.

Example scoring signals:

  • estimated visits above a chosen threshold;
  • improving global rank;
  • high paid-search or display-ad share;
  • target-country concentration;
  • meaningful brand keyword volume;
  • engagement above a segment benchmark.

Treat these as directional indicators, not verified business revenue.

SEO competitor workflow

Build a list of direct competitors and compare:

  • monthly visits;
  • organic versus paid search share;
  • top search keywords;
  • bounce rate and pages per visit;
  • category rank;
  • leading countries.

Sort visitChange or visitChangePercent directly to find winners and losers; no spreadsheet formula is required for the latest month-over-month comparison.

Integrations

Google Sheets

Use the Google Sheets integration to append each scheduled snapshot to a reporting workbook.

Webhooks

Send a run-finished webhook to Slack, Make, Zapier, n8n, or an internal ingestion endpoint.

Cloud storage and warehouses

Export JSON or CSV to S3-compatible storage, BigQuery, Snowflake, or your data lake pipeline.

Other Apify Actors

Pass a domain list from a lead scraper into this Actor, then join records by normalized domain.

JavaScript API example

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/similarweb-traffic-intelligence-scraper').call({
domains: ['apify.com', 'openai.com'],
maxConcurrency: 2,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python API example

from apify_client import ApifyClient
import os
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('automation-lab/similarweb-traffic-intelligence-scraper').call(
run_input={'domains': ['apify.com', 'openai.com'], 'maxConcurrency': 2}
)
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

cURL API example

curl -X POST \
"https://api.apify.com/v2/acts/automation-lab~similarweb-traffic-intelligence-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains":["apify.com","openai.com"],"maxConcurrency":2}'

Fetch the default dataset after the run succeeds.

Use with Apify MCP

Connect the Actor to Claude and other MCP clients through:

https://mcp.apify.com/?tools=automation-lab/similarweb-traffic-intelligence-scraper

Claude Code setup

$claude mcp add --transport http apify "https://mcp.apify.com/?tools=automation-lab/similarweb-traffic-intelligence-scraper"

Example prompt:

Run the Similarweb traffic scraper for apify.com, openai.com, and anthropic.com. Compare visits, engagement, and organic search share.

Claude Desktop setup

Add this to the Claude Desktop MCP configuration:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com/?tools=automation-lab/similarweb-traffic-intelligence-scraper"
}
}
}

Example prompt:

Refresh my SaaS competitor domain cohort and summarize the largest month-over-month traffic changes.

Cursor setup

Add the same mcpServers JSON to Cursor's MCP settings, then ask:

Compare traffic channels and top countries for these five competitor domains.

VS Code setup

Add an HTTP MCP server using the URL above in VS Code's MCP configuration. Then ask:

Extract Similarweb traffic intelligence for my selected domains and save the result as a comparison table.

MCP is useful when an analyst wants both the raw dataset and a narrative interpretation.

Tips for reliable runs

  • Keep concurrency at 3 unless you have tested a larger cohort.
  • Use residential proxies; normal datacenter IPs are commonly blocked.
  • Keep retries enabled for scheduled monitoring.
  • Submit canonical domains when possible.
  • Split very large watchlists into scheduled batches.
  • Review isSmallSite and missing metrics before making comparisons.
  • Use the source snapshot date rather than the run date for monthly charts.

Error handling

Invalid entries are skipped with a warning; an input with no valid domain fails before any lookup and costs nothing.

For mixed batches:

  • successful domains are saved;
  • domains without Similarweb data are listed in the status message and not retried;
  • failed domains are logged after their retries;
  • only saved records are charged;
  • the run succeeds if at least one useful record is produced, and the status message says how many of the requested domains were saved and why any were missing.

If every lookup is blocked or fails, the run fails non-zero. This prevents silent empty monitoring runs. A list where Similarweb simply has no data for any domain finishes successfully with an empty dataset and says so.

Private failure diagnostics

Failed operations send sanitized diagnostic input, exceptions, and Actor/build/run IDs to our private GlitchTip service for repair. Secret fields and URL query strings are removed. Reports are retained for 30 days. Domains are sent to Similarweb through Apify Proxy; the Actor operator covers proxy and execution costs within the documented charge events. Cookies and anonymous request contexts are ephemeral and are not included in output. Dataset and run-log retention follows your Apify storage settings; delete those resources in Console when no longer needed.

Data quality and limitations

Similarweb values are modeled estimates, not a website owner's Google Analytics or server logs.

Coverage can vary for:

  • new domains;
  • low-traffic websites;
  • subdomains;
  • recently redirected domains;
  • sites with limited regional signals.

Metrics may be revised by the source. Compare trends using the same methodology and avoid presenting estimates as audited facts.

This Actor accesses publicly available aggregate website metrics and does not collect private user data.

Scraping legality depends on your location, purpose, contract, and downstream use. You are responsible for complying with applicable laws, the source terms, privacy requirements, and intellectual-property rules.

Use reasonable request volume. Do not use output for unlawful discrimination, deception, or privacy-invasive profiling.

FAQ

Do I need a Similarweb account or API key?

No. The Actor uses a public data surface and managed proxy sessions.

Can I submit full URLs?

Yes. Protocols, paths, query strings, and www prefixes are normalized to a domain.

Why is a domain missing metrics?

Similarweb publishes no estimate for many small or new sites. Those domains are named in the run's status message, are not charged, and are not retried. If a lookup was blocked instead, the log shows the retries; a later run usually succeeds.

Why did the whole run fail?

The Actor fails when every lookup was blocked or failed, so a scheduled run never looks like an empty success. Verify the proxy configuration and try again. Domains Similarweb has no data for do not fail the run.

Are the numbers exact?

No. They are third-party estimates intended for directional comparison.

Can I process subdomains?

Yes, but coverage depends on whether Similarweb models that subdomain separately.

Does it show traffic from ChatGPT and other AI assistants?

Yes. trafficChannels.generativeAi gives the AI share among channels, and aiReferralVisits, aiReferralShare and aiChatbots show how many visits AI chatbots send and which ones. aiTopPrompts lists sample prompts when Similarweb publishes them, mostly for large sites.

Does the Actor return demographics or technology stacks?

Not in v1. The product focuses on the proven base traffic-intelligence contract.

How often should I refresh a cohort?

Monthly is appropriate for most traffic trends. Weekly runs can help monitor rank or cohort changes, but the source's visit history is typically monthly.

Combine this Actor with tools from automation-lab:

Support

If a run fails on valid domains, open an Actor issue and include:

  • the run URL;
  • one affected domain;
  • whether the failure is intermittent;
  • the approximate time of the run.

Do not post API tokens, proxy passwords, or private datasets.

Start your first traffic-intelligence run

Add two competitor domains, keep the default reliability settings, and start the Actor. The resulting dataset is ready for export, scheduling, API use, and downstream analysis.

Server API

This Actor is also a Server Actor: copy the server URL from the Server tab and send requests with your Apify token (Authorization: Bearer <token>). It answers one to five domains in a few seconds, without starting a run each time. Normal runs keep the full input, dataset and bulk lists.

GET /domain?domain=<domain or URL>

Looks up one domain. The only query parameter is domain.

$curl -H "Authorization: Bearer $APIFY_TOKEN" "<server URL>/domain?domain=apify.com"

POST /domains

Looks up 1–5 domains in parallel. Body: { "domains": ["apify.com", "openai.com"] }.

curl -X POST -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"domains":["apify.com","openai.com"]}' "<server URL>/domains"

Response: { "ok": true, "count": 2, "results": [ ... ] }. Each result has the same fields as a dataset row. Domains without data are left out of results.

Charge: one result event per returned domain. The run-start fee is not charged on server requests, and errors are free.

Limits: up to 5 domains per request, 60 seconds per request, 6 requests at once per server process.

Errors ({ "ok": false, "error": { "code", "message", "retryable" } }):

StatusCodeWhen
400INVALID_DOMAIN, INVALID_DOMAINS, INVALID_INPUT, INVALID_URLNot a domain, more than 5 domains, an unknown parameter, or a malformed URL
402SPENDING_LIMIT_REACHEDYour spending limit does not allow this request
404NO_DATASimilarweb has no traffic data for any requested domain
404, 405NOT_FOUND, METHOD_NOT_ALLOWEDUnknown route or method
413REQUEST_TOO_LARGE, RESPONSE_TOO_LARGEBody over 4 KB, or an answer over 512 KB
415UNSUPPORTED_MEDIA_TYPEThe body is not JSON
502UPSTREAM_ERROR, CHARGE_FAILEDSimilarweb lookups failed after retries, or charging failed; retry shortly
503OVERLOADED, SHUTTING_DOWNThe process is busy or stopping; retry
504TIMEOUTSimilarweb did not answer in time; retry