Similarweb API: List top websites
Lists Similarweb's most visited websites for a category and country, with rankings and engagement figures for the reported month. Anonymous view limits may restrict results, especially for country rankings.
Unofficial. Not affiliated with or endorsed by Similarweb.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Country optional
country Country name or two-letter code, such as United States or US. Default: worldwide.
worldwide
Default
worldwide.- Category optional
category Top-level category name, such as news and media, e-commerce and shopping, or finance. Default: all.
news and media
Default
all.- Max Results optional
max_results Maximum websites to return, such as 25. Default: 50.
10
Whole number from 1 to 50. Default
50.
Input as JSON
{ "country": "worldwide", "category": "news and media", "max_results": 10}Output
{ "month": "2026-08-01", "websites": [ { "rank": 1, "domain": "yahoo.co.jp", "category": "News and Media", "rank_change": 0, "pages_per_visit": 7.26, "similarweb_link": "https://www.similarweb.com/website/yahoo.co.jp/" , "bounce_rate_percent": 33.64, "average_visit_duration": "00:08:32" }, { "rank": 2, "domain": "yahoo.com", "category": "News and Media", "rank_change": 0, "pages_per_visit": 4.97, "similarweb_link": "https://www.similarweb.com/website/yahoo.com/" , "bounce_rate_percent": 38.63, "average_visit_duration": "00:06:10" }, { "rank": 3, "domain": "news.yahoo.co.jp", "category": "News and Media", "rank_change": 0, "pages_per_visit": 4.88, "similarweb_link": "https://www.similarweb.com/website/news.yahoo.co.jp/" , "bounce_rate_percent": 28.07, "average_visit_duration": "00:06:28" } ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"similarweb.com/list_top_websites","input":{"country":"worldwide","category":"news and media","max_results":10}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "similarweb.com/list_top_websites" , "input": { "country": "worldwide", "category": "news and media", "max_results": 10 }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "similarweb.com/list_top_websites" , "input": { "country": "worldwide", "category": "news and media", "max_results": 10 } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run similarweb.com/list_top_websites# with {"country":"worldwide","category":"news and media","max_results":10}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "properties": { "country": { "type": "string", "default": "worldwide", "description": "Country name or two-letter code, such as United States or US. Default: worldwide." }, "category": { "type": "string", "default": "all", "description": "Top-level category name, such as news and media, e-commerce and shopping, or finance. Default: all." }, "max_results": { "type": "integer", "default": 50, "maximum": 50, "minimum": 1, "description": "Maximum websites to return, such as 25. Default: 50." } }}Output schema
{ "type": "object", "required": [ "month", "websites" ], "properties": { "month": { "type": "string", "format": "date", "description": "First day of the month covered." }, "websites": { "type": "array", "items": { "type": "object", "required": [ "rank", "domain", "category", "rank_change", "average_visit_duration", "pages_per_visit", "bounce_rate_percent", "similarweb_link" ], "properties": { "rank": { "type": "integer" }, "domain": { "type": "string" }, "category": { "type": [ "string", "null" ] }, "rank_change": { "type": [ "integer", "null" ] }, "pages_per_visit": { "type": [ "number", "null" ] }, "similarweb_link": { "type": "string", "format": "uri" }, "bounce_rate_percent": { "type": [ "number", "null" ] }, "average_visit_duration": { "type": [ "string", "null" ] } }, "additionalProperties": false } } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
similarweb.com/list_top_websites- Returns
- month, rank, domain, category, rank change, visit duration, pages per visit, bounce rate, Similarweb link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method similarweb.com/list_top_websites with the inputs above.
Ask your agent
- What are the top 25 most visited news and media websites in the United States right now, with their bounce rates and average visit duration?
- Pull Similarweb's ranking of the most popular e-commerce and shopping sites in Germany this month.
- I need a list of the 10 highest-traffic finance websites worldwide, including pages per visit and how their rank changed.
- Show me the most visited websites in Japan across all categories, according to similarweb.com.
- Which gaming sites get the most traffic in Brazil? Give me the top 20 with engagement stats.
See more
All Similarweb methodsGets a website's monthly traffic estimate, rankings, engagement and top countries from Similarweb's free public overview. Traffic-source percentages withheld by the site are null; the site may limit anonymous views.
similarweb.com/get_website_trafficLists Twitch games and categories ranked by current live viewers, with content tags, box art and category links.
twitch.tv/list_top_categoriesLists current Amazon Best Sellers in the closest matching top-level category for a store country (United States, United Kingdom, Germany, India, Canada or Australia), up to 100 ranked products. Prices, ratings and photos may be missing.
amazon.com/list_best_sellersLists ranked Android apps or games from the Google Play top free, top paid or top grossing chart for a country and category.
play.google.com/list_top_chartsRanks public companies worldwide, or by country and industry, by market cap, revenue, earnings, employees or dividend yield. When both a country and an industry are set, the industry ranking order is kept and only companies from that country are shown.
companiesmarketcap.com/list_largest_companiesLists the most-watched live Twitch streams, optionally within a category and language. All-category results are limited to 30 streams; category results allow up to 100.
twitch.tv/list_top_streamsLists Spotify's top or trending podcasts for a country in chart order, with rank, movement, publisher, artwork and Spotify link. Category charts exist only for some countries.
open.spotify.com/list_top_podcastsLists the open Polymarket markets with the most trading in the last 24 hours. You can pick one category or list all of them; markets outside the named categories are labeled Other.
polymarket.com/list_trending_markets