Discover/Similarweb API
live

Similarweb APIsimilarweb.com

Get traffic stats, rankings, demographics, competitors, and search sources for any domain via the Similarweb Website Analytics API.

Endpoint health
verified 4d ago
get_website_info
1/1 passing latest checkself-healing
Endpoints
1
Updated
26d ago

What is the Similarweb API?

The Similarweb Website Analytics API exposes over 20 structured data fields for any domain through a single get_website_info endpoint. Pass a domain name and receive global and country rankings, engagement metrics (bounce rate, pages per visit, average session duration), geographic traffic distribution, competitor domains, audience demographics, and organic vs. paid search keyword data — all in one response.

Try it
The website domain to analyze (e.g., 'nike.com', 'google.com'). Do not include protocol prefix.
api.parse.bot/scraper/9e9926d7-8602-4fa3-8302-616d58668d39/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/9e9926d7-8602-4fa3-8302-616d58668d39/get_website_info?domain=google.com' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace similarweb-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.similarweb_website_analytics_api import Similarweb

client = Similarweb()

# Fetch analytics for a domain
site = client.websites.get(domain="nike.com")

# Company info
print(site.company.name, site.company.headquarters_country)

# Rankings
print(site.rankings.global_rank, site.rankings.country_rank)

# Engagement metrics
print(site.engagement.total_visits, site.engagement.bounce_rate, site.engagement.pages_per_visit)

# Traffic history
for entry in site.traffic_history:
    print(entry.date, entry.percentage_change, entry.percentage_value)

# Traffic sources
for source in site.traffic_sources:
    print(source.source, source.rank, source.percentage)

# Competitors
for comp in site.competitors:
    print(comp.domain)

# Demographics (may be None for low-traffic sites)
if site.demographics:
    print(site.demographics.gender.male, site.demographics.gender.female)
    for age_group in site.demographics.age_distribution:
        print(age_group.min_age, age_group.max_age, age_group.value)

# Geography
if site.geography:
    print(site.geography.total_countries)
    for country in site.geography.top_countries:
        print(country.country_alpha2_code, country.visits_share)

# Search sources
if site.search_sources:
    print(site.search_sources.organic_share, site.search_sources.total_keywords)
    for kw in site.search_sources.top_keywords:
        print(kw.name, kw.cpc)
All endpoints · 1 totalmissing one? ·

Get comprehensive website analytics data for any domain, including company info, rankings, traffic engagement metrics, competitors, demographics, geography, and search sources. Data is extracted from Similarweb's public website analysis pages. Returns data for the most recent month available. Some sections (demographics, geography, search_sources) may be null for low-traffic or newly-registered domains.

Input
ParamTypeDescription
domainrequiredstringThe website domain to analyze (e.g., 'nike.com', 'google.com'). Do not include protocol prefix.
Response
{
  "type": "object",
  "fields": {
    "domain": "string - the analyzed domain",
    "company": "object containing name, year_founded, headquarters_country, headquarters_city, employees_min, employees_max, revenue_min, revenue_max, category_id, parent_domain",
    "rankings": "object containing global_rank, global_rank_change, country_rank, country_rank_change, country_code, category_rank, category_rank_change",
    "geography": "object containing total_countries and top_countries array, or null for low-traffic domains",
    "engagement": "object containing total_visits, visits_change, bounce_rate, pages_per_visit, avg_visit_duration, visits_grade",
    "competitors": "array of objects with domain field",
    "description": "string or null - site description",
    "demographics": "object containing gender {male, female} and age_distribution array, or null",
    "search_sources": "object containing organic_share, paid_share, total_keywords, top_keywords array, or null",
    "traffic_history": "array of traffic history entries with date, percentage_change, percentage_value",
    "traffic_sources": "array of objects with source, rank, percentage, is_higher fields"
  },
  "sample": {
    "data": {
      "domain": "google.com",
      "company": {
        "name": "Google",
        "category_id": "computers_electronics_and_technology/search_engines",
        "revenue_max": null,
        "revenue_min": 1000000000,
        "year_founded": 1998,
        "employees_max": null,
        "employees_min": 10001,
        "parent_domain": "google.com",
        "headquarters_city": "Mountain View",
        "headquarters_country": "US"
      },
      "rankings": {
        "global_rank": 1,
        "country_code": "US",
        "country_rank": 1,
        "category_rank": 1,
        "global_rank_change": 0,
        "country_rank_change": 0,
        "category_rank_change": 0
      },
      "geography": {
        "top_countries": [
          {
            "visitsShare": 0.238,
            "countryUrlCode": "united-states",
            "countryAlpha2Code": "US",
            "visitsShareChange": 0.0002,
            "countryAlpha2CodeRaw": "US"
          }
        ],
        "total_countries": 120
      },
      "engagement": {
        "bounce_rate": 0.283,
        "total_visits": 87502305979,
        "visits_grade": null,
        "visits_change": null,
        "pages_per_visit": 8.65,
        "avg_visit_duration": "00:10:03"
      },
      "competitors": [
        {
          "domain": "bing.com"
        },
        {
          "domain": "yandex.ru"
        }
      ],
      "description": "Learn about the Certified Publisher Program.",
      "demographics": {
        "gender": {
          "male": 0.572,
          "female": 0.428
        },
        "age_distribution": [
          {
            "value": 0.268,
            "maxAge": 34,
            "minAge": 25
          }
        ]
      },
      "search_sources": {
        "paid_share": 0.05,
        "top_keywords": [
          {
            "cpc": 0.26,
            "name": "gemini",
            "volume": null,
            "estimatedValue": null
          }
        ],
        "organic_share": 0.95,
        "total_keywords": 29569986
      },
      "traffic_history": [
        {
          "date": "2026-03-01T00:00:00",
          "percentageValue": 24.18,
          "percentageChange": 6.73
        }
      ],
      "traffic_sources": [
        {
          "rank": 1,
          "source": "direct",
          "isHigher": null,
          "percentage": 0.925
        }
      ]
    },
    "status": "success"
  }
}

About the Similarweb API

What the API Returns

The get_website_info endpoint accepts a single domain parameter (e.g., nike.com) and returns a structured object covering eight distinct data categories. The rankings object includes global_rank, global_rank_change, country_rank, country_rank_change, country_code, and category_rank — giving you a snapshot of where a site stands relative to its peers. The engagement object covers total_visits, visits_change, bounce_rate, pages_per_visit, avg_visit_duration, and visits_grade.

Traffic, Geography, and Demographics

The geography object returns the total number of countries sending traffic and an array of top countries with fields like countryAlpha2Code and visitsShare, letting you see where a site's audience is concentrated. The demographics object, when available, provides a gender split (male, female) and an age_distribution array with minAge, maxAge, and value fields. The company object adds firmographic context: year_founded, headquarters_country, headquarters_city, employees_min/employees_max, and revenue_min/revenue_max.

Search and Competitive Intelligence

The search_sources object returns organic_share, paid_share, total_keywords, and a top_keywords array where each entry includes name, estimatedValue, volume, and cpc. This makes it straightforward to estimate a domain's SEO vs. SEM mix. The competitors array lists related domains, and traffic_history provides a time-series view of traffic trends, though availability varies by domain.

Reliability & maintenanceVerified

The Similarweb API is a managed, monitored endpoint for similarweb.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when similarweb.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official similarweb.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Benchmark a competitor's global and category rankings using global_rank and category_rank fields.
  • Identify which countries drive the most traffic to a target domain using geography.top_countries.
  • Estimate a site's paid vs. organic search strategy using search_sources.organic_share and paid_share.
  • Build audience segmentation reports using demographics.gender and demographics.age_distribution.
  • Discover adjacent competitors for market mapping using the competitors array.
  • Track engagement health across sites using bounce_rate, pages_per_visit, and avg_visit_duration.
  • Enrich a B2B lead database with firmographic data using company.employees_min, employees_max, and revenue_min.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Similarweb offer an official developer API?+
Yes. Similarweb offers a commercial API platform called the Similarweb Digital Intelligence API, documented at developers.similarweb.com. It requires a paid enterprise plan and covers more granular endpoints than the public-facing data this API exposes.
What does the `search_sources` object include, and is it always present?+
search_sources returns organic_share, paid_share, total_keywords, and a top_keywords array with name, volume, cpc, and estimatedValue per keyword. This field may be null for domains with low traffic volume or limited public search data on Similarweb.
Is `traffic_history` available for every domain?+
The traffic_history array is returned as part of the response but may be empty for domains where Similarweb does not publish historical trend data publicly. High-traffic domains generally have richer history. Low-traffic or newly indexed domains often return an empty array.
Does the API support bulk domain lookups or batch requests?+
The current API covers one domain per call via the domain parameter in get_website_info. Batch processing is not built into the endpoint. You can fork this API on Parse and revise it to add a batch endpoint that accepts multiple domains and aggregates results.
Does the API return page-level or subdomain-level traffic data?+
No. The API operates at the root domain level and returns domain-wide metrics only. Individual pages, subdomains, and URL-level breakdowns are not currently covered. You can fork this API on Parse and revise it to add a subdomain or top-pages endpoint if Similarweb exposes that data publicly for your target domains.
Page content last updated . Spec covers 1 endpoint from similarweb.com.
Related APIs in B2b DirectorySee all →
worlddata.info API
Explore global statistics and compare countries across population, economy, demographics, quality of life, education, and health metrics. Search worldwide data on everything from life expectancy and languages to religions and regional breakdowns to gain comprehensive insights into how nations rank against each other.
myip.ms API
Find detailed ownership and hosting information for any IP address or domain, including WHOIS data, website statistics, and hosting provider details. Discover your own IP information and explore rankings of top hosting companies worldwide.
dotdb.com API
Search domains and uncover keyword insights to research competitor strategies and domain market intelligence. Get detailed domain metadata, keyword reports, and pricing information to inform your SEO and business decisions.
pageviews.wmcloud.org API
Access Wikipedia pageview analytics across articles, languages, and time periods. Retrieve per-article view counts, top-viewed pages, cross-language traffic breakdowns, site-wide aggregates, category-level mass analysis, redirect traffic attribution, user contribution metrics, and Wikimedia Commons media request counts.
trustpilot.com API
Access company reviews, ratings, and user profiles from Trustpilot to research businesses, compare ratings across categories, and analyze customer feedback and company responses. Find detailed company overviews and review summaries to make informed decisions about products and services.
thecompaniesapi.com API
Enrich your company database with 80+ data points per company, search by industry or company details, and discover email patterns to drive your business intelligence. Find verified company information, get pricing data, and ask contextual questions about any organization to fuel your sales, marketing, or research efforts.
app.appfigures.com API
Track top-performing iOS apps across categories with detailed insights on rankings, monetization models, ratings, revenue estimates, and user demographics. Monitor app performance metrics and discover trending applications by category to stay informed about the competitive app market landscape.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.