Websites Dataset
The Batch API Websites Dataset provides comprehensive web analytics across desktop and mobile platforms, enabling you to analyze website performance, user engagement, traffic sources, and competitive positioning. Access detailed metrics on visits, page views, bounce rates, marketing channels, and audience behavior.
Historical Data Availability
Access up to 61 months of historical data, depending on your subscription plan.
What You Can Track
- Traffic & Engagement: Visits, page views, bounce rates, session duration, and user behavior metrics
- Marketing Channels & Traffic Sources: Traffic source analysis across organic search, paid search, direct, social, and more
- Geographic Distribution: Country-level traffic breakdown and regional performance
- Similar Sites: Competitive analysis and market positioning
- Referrals: Referral traffic metrics showing visits from referring websites to target domains, including both incoming and outgoing referral data.
- Popular Pages: Percentage of total website traffic that each page receives.
- Website description: Estimated e-commerce revenue and site meta description analysis
API Key Requirements
Batch API and REST API use different authentication keys. Ensure you're using your Batch API key for these requests.
How to enter domain names?
Domain names should be entered without protocol (e.g.,
example.com
nothttps://example.com
)
Getting Started
1. Authentication
Include your Batch API key in the request headers:
curl --location 'https://api.similarweb.com/batch/v4/request-report' \
--header 'api-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--request POST \
--data body
2. Request Structure
All Websites Dataset requests follow this structure:
Available Tables (vtables)
Traffic & Engagement (traffic_and_engagement
)
traffic_and_engagement
)Primary use case: Core website performance metrics, user engagement, and traffic analysis
Primary Keys: domains
, countries
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
all_traffic_visits | Total estimated visits across all devices | Monthly, Weekly, Daily |
all_traffic_unique_visitors | Total unique visitors across all devices | Monthly, Weekly, Daily |
all_page_views | Total page views across all devices | Monthly, Weekly, Daily |
all_traffic_pages_per_visit | Average pages viewed per visit | Monthly, Weekly, Daily |
all_traffic_average_visit_duration | Average session duration in seconds | Monthly, Weekly, Daily |
all_traffic_bounce_rate | Percentage of single-page sessions | Monthly, Weekly, Daily |
desktop_visits | Desktop-only visit count | Monthly, Weekly, Daily |
desktop_unique_visitors | Desktop-only unique visitors | Monthly, Weekly, Daily |
desktop_page_views | Desktop-only page views | Monthly, Weekly, Daily |
desktop_pages_per_visit | Desktop average pages per visit | Monthly, Weekly, Daily |
desktop_average_visit_duration | Desktop average session duration in seconds | Monthly, Weekly, Daily |
desktop_bounce_rate | Desktop bounce rate percentage | Monthly, Weekly, Daily |
desktop_share | Desktop traffic share percentage | Monthly, Weekly, Daily |
desktop_ppc_spend_usd | Estimated desktop PPC spend in USD | Monthly, Weekly, Daily |
mobile_visits | Mobile-only visit count | Monthly, Weekly, Daily |
mobile_unique_visitors | Mobile-only unique visitors | Monthly, Weekly, Daily |
mobile_page_views | Mobile-only page views | Monthly, Weekly, Daily |
mobile_pages_per_visit | Mobile average pages per visit | Monthly, Weekly, Daily |
mobile_average_visit_duration | Mobile average session duration in seconds | Monthly, Weekly, Daily |
mobile_bounce_rate | Mobile bounce rate percentage | Monthly, Weekly, Daily |
mobile_share | Mobile traffic share percentage | Monthly, Weekly, Daily |
mobile_ppc_spend_usd | Estimated mobile PPC spend in USD | Monthly, Weekly, Daily |
deduplicated_audience | Unique audience across devices | Monthly, Weekly, Daily |
total_new_visitors | New visitors count | Monthly, Weekly, Daily |
total_returning_visitors | Returning visitors count | Monthly, Weekly, Daily |
category | Website industry category | Monthly, Weekly, Daily |
global_rank | Global website ranking | Monthly, Weekly, Daily |
country_rank | Ranking within specific country | Monthly, Weekly, Daily |
category_rank_new | Ranking within industry category | Monthly, Weekly, Daily |
Example Request:
{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "traffic_and_engagement",
"granularity": "monthly",
"filters": {
"countries": ["WW"],
"include_subdomains": true
},
"metrics": [
"all_page_views",
"all_traffic_average_visit_duration",
"all_traffic_bounce_rate",
"all_traffic_pages_per_visit",
"all_traffic_unique_visitors",
"all_traffic_visits",
"category",
"category_rank_new",
"country_rank",
"deduplicated_audience",
"desktop_average_visit_duration",
"desktop_bounce_rate",
"desktop_page_views",
"desktop_pages_per_visit",
"desktop_ppc_spend_usd",
"desktop_share",
"desktop_unique_visitors",
"desktop_visits",
"global_rank",
"mobile_average_visit_duration",
"mobile_bounce_rate",
"mobile_page_views",
"mobile_pages_per_visit",
"mobile_ppc_spend_usd",
"mobile_share",
"mobile_unique_visitors",
"mobile_visits",
"total_new_visitors",
"total_returning_visitors"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}
Marketing Channels (marketing_channels
)
marketing_channels
)Primary use case: Traffic source analysis and marketing channel attribution
Primary Keys: domains
, countries
, channels
Available Channels: organic_search
, direct
, paid_search
, referrals
, display_ads
, social
, mail
, search
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
desktop_marketing_channels_visits | Desktop visits by traffic source | Monthly, Daily |
mobile_marketing_channels_visits | Mobile visits by traffic source | Monthly |
desktop_marketing_channels_share | Desktop traffic share by source | Monthly, Daily |
mobile_marketing_channels_share | Mobile traffic share by source | Monthly |
Example Request:
{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "marketing_channels",
"granularity": "monthly",
"filters": {
"countries": ["US"],
"channels": ["organic_search", "direct", "paid_search", "social"]
},
"metrics": [
"desktop_marketing_channels_visits",
"desktop_marketing_channels_share",
"mobile_marketing_channels_visits",
"mobile_marketing_channels_share"
],
"start_date": "2025-06",
"end_date": "2025-07"
}
]
}
}
Traffic Sources (traffic_sources
)
traffic_sources
)Primary use case: Detailed referral analysis and specific traffic source identification
Primary Keys: domains
, countries
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
desktop_traffic_source_share | Specific sources driving desktop traffic (e.g., Google, Facebook, YouTube) | Monthly |
Example Request:
{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "traffic_sources",
"granularity": "monthly",
"filters": {
"countries": ["WW"]
},
"metrics": [
"desktop_traffic_source_share"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}
Similar Sites (similar_sites
)
similar_sites
)Primary use case: Competitive analysis and website similarity measurement
Primary Keys: domain1
, domain2
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
site_affinity | Similarity score between two websites | Monthly |
Example Request:
{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "similar_sites",
"granularity": "monthly",
"filters": {
"domain1": ["example.com"],
"domain2": ["competitor.com"]
},
"metrics": [
"site_affinity"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}
Desktop Top Geography (desktop_top_geo
)
desktop_top_geo
)Primary use case: Geographic traffic distribution analysis
Primary Keys: domains
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
desktop_top_geo | Desktop traffic share by top 10 countries (minimum 1 month period) | Monthly |
Example Request:
{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "desktop_top_geo",
"granularity": "monthly",
"filters": {},
"metrics": [
"desktop_top_geo"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}
Website Search / Keywords Table (website_search_keywords
)
website_search_keywords
)Primary use case: Click metrics from search results for specific keywords leading to website visits.
Primary Keys: domains
, keywords
, countries
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
organic_desktop_site_clicks | Number of clicks generated from organic search results on desktop devices | Daily, weekly, monthly |
organic_mobile_site_clicks | Number of clicks generated from organic search results on mobile devices | Daily, weekly, monthly |
paid_desktop_site_clicks | Number of clicks generated from paid search results on desktop devices | Daily, weekly, monthly |
paid_mobile_site_clicks | Number of clicks generated from paid search results on mobile devices | Daily, weekly, monthly |
Example Request
curl --location 'https://api.similarweb.com/batch/v4/request-report' \
--header 'api-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "website_search_keywords",
"granularity": "monthly",
"filters": {
"countries": ["WW"],
"include_subdomains": true
},
"metrics": [
"organic_desktop_site_clicks",
"organic_mobile_site_clicks",
"paid_desktop_site_clicks",
"paid_mobile_site_clicks"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}'
Referrals (referrals
)
referrals
)Primary use case: This table provides referral traffic metrics showing visits from referring websites to target domains, including both incoming and outgoing referral data.
Primary Keys: domains
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
desktop_referral_visits | Number of desktop visits from referring sites to the analyzed domain | Monthly |
desktop_referral_share | Percentage share of desktop referral traffic from each referring domain | Monthly |
desktop_referral_change | Month-over-month change in desktop referral visits | Monthly |
desktop_outgoing_referral_visits | Number of desktop visits from the analyzed domain to other sites | Monthly |
desktop_outgoing_referral_share | Percentage share of desktop outgoing referral traffic to each destination | Monthly |
desktop_outgoing_referral_change | Month-over-month change in desktop outgoing referral visits | Monthly |
mobile_referral_visits | Number of mobile visits from referring sites to the analyzed domain | Monthly |
mobile_referral_share | Percentage share of mobile referral traffic from each referring domain | Monthly |
mobile_referral_change | Month-over-month change in mobile referral visits | Monthly |
Example Request
curl --location 'https://api.similarweb.com/batch/v4/request-report' \
--header 'api-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "referrals",
"granularity": "monthly",
"filters": {
"countries": ["WW"],
"include_subdomains": true
},
"metrics": [
"desktop_outgoing_referral_change",
"desktop_outgoing_referral_share",
"desktop_outgoing_referral_visits",
"desktop_referral_change",
"desktop_referral_share",
"desktop_referral_visits",
"mobile_referral_change",
"mobile_referral_share",
"mobile_referral_visits"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}'
Popular Pages (popular_pages
)
popular_pages
)Primary use case: Returns a list of pages receiving incoming traffic from all devices (desktop and mobile) and traffic share per page.
Primary Keys: domains
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
popular_page_share | Percentage of total website traffic that each page receives | Monthly, Weekly, Daily |
Example Request
curl --location 'https://api.similarweb.com/batch/v4/request-report' \
--header 'api-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "popular_pages",
"granularity": "monthly",
"filters": {
"countries": ["WW"]
},
"metrics": [
"popular_page_share"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}'
Website Description (website
)
website
)Primary use case: Website metadata and revenue estimation
Primary Keys: domains
Available Metrics:
Metric Name | Description | Granularity |
---|---|---|
ecommerce_type | Type of e-commerce functionality on the website (e.g., marketplace, direct seller, non-ecommerce) | Monthly |
first_level_domain | The first-level domain of the website | Monthly |
main_category | Primary industry category of the website | Monthly |
sub_category | Secondary/specific industry category of the website | Monthly |
online_revenue | Estimated monthly e-commerce revenue generated by the website | Monthly |
Example Request
curl --location 'https://api.similarweb.com/batch/v4/request-report' \
--header 'api-key: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"delivery_information": {
"response_format": "csv",
"delivery_method_params": {
"retention_days": 60
}
},
"report_query": {
"tables": [
{
"vtable": "website",
"granularity": "monthly",
"filters": {
"include_subdomains": true
},
"metrics": [
"ecommerce_type",
"first_level_domain",
"main_category",
"online_revenue",
"sub_category"
],
"start_date": "2025-07",
"end_date": "2025-07"
}
]
}
}'
Updated about 22 hours ago