SimilarWeb
Authentication Type: API Key
Description: Get website traffic analytics, rankings, and competitive insights.
Traffic Analytics
Retrieve comprehensive website traffic data and analytics.
Get Traffic Data
Get detailed traffic analytics for a website including visitor metrics, traffic sources, country breakdown, rankings, and top keywords. Requires a valid domain name (e.g., "cotera.co").
Operation Type: Mutation (Write)
Parameters:
- domain
string(required): The domain to get traffic data for (e.g., "cotera.co")
Returns:
- siteName
string: The site name - description
string: Site description - title
string: Site title - topCountryShares
array of objects: Top countries by traffic share- country
number: Country code number - countryCode
string: Two-letter country code - value
number: Traffic share percentage
- country
- engagements
object: User engagement metrics- bounceRate
string: Site bounce rate - month
string: Data month - year
string: Data year - pagePerVisit
string: Average pages per visit - visits
string: Total visits - timeOnSite
string: Average time on site in seconds
- bounceRate
- estimatedMonthlyVisits
object: Monthly visit estimates by date - globalRank
object: Global ranking information- rank
number: Global website rank
- rank
- countryRank
object: Country-specific ranking- country
number: Country code - countryCode
string: Country code string - rank
number: Rank within country
- country
- categoryRank
object: Category ranking information- rank
string(nullable): Category rank - category
string(nullable): Category name - globalCategoryRank
number(nullable): Global category rank
- rank
- isSmall
boolean: Whether the site is considered small - trafficSources
object: Traffic source breakdown- social
number: Social media traffic percentage - paidReferrals
number: Paid referrals traffic percentage - mail
number: Email traffic percentage - referrals
number: Referral traffic percentage - search
number: Search traffic percentage - direct
number: Direct traffic percentage
- social
- category
string: Website category - largeScreenshot
string: URL to website screenshot - isDataFromGa
boolean: Whether data is from Google Analytics - topKeywords
array of objects: Top performing keywords- name
string: Keyword name - estimatedValue
number: Estimated keyword value - volume
number(nullable): Search volume - cpc
number(nullable): Cost per click
- name
- snapshotDate
string: Date when data was captured - cached
number: Cache timestamp
Example Usage:
{
"domain": "example.com"
}
Common Use Cases
Competitive Analysis:
- Compare website traffic metrics against competitors to identify market positioning
- Analyze competitor traffic sources to understand their marketing strategies
- Monitor competitor keyword performance and search engine optimization tactics
Market Research:
- Evaluate website categories and industry rankings for market sizing
- Analyze geographic traffic distribution to identify expansion opportunities
- Research traffic trends and seasonal patterns across different markets
Digital Marketing Optimization:
- Identify top-performing keywords to inform SEO and content strategies
- Analyze traffic source breakdown to optimize marketing channel allocation
- Monitor engagement metrics like bounce rate and time on site for performance benchmarking
Business Intelligence:
- Track website ranking changes over time to measure digital growth
- Analyze user engagement patterns to improve website design and content
- Generate competitive intelligence reports with traffic data and market insights