Skip to the content

Scraper API

Similarweb

similarweb.top_websitesAvailable

Similarweb top websites

The websites of that ranking in order: domain, category, and how many places each moved since the month before, with the month the ranking is for.

Give it a country, a category, both or neither: the ranking you would open on Similarweb's top websites page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3
Record
12 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/similarweb.top_websites/runs

{
"input": {
"country": "DE",
"category": "finance"
}
}

sent, and answered

a record of the run12 fields

{
rank: 1
domain: "paypal.com"
category: "Finance > Banking Credit and Lending"
category_id: "finance/banking_credit_and_lending"
rank_change: 0
is_new: false
country: "DE"
ranking_category: "finance"
month: "2026-10"
… 3 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 12 fields are set down here; the whole record is below.

similarweb.com
The page Similarweb top websites reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Follow a country's top sites
Read Similarweb's ranking for a country or a category each month and keep rank by month, to see which domains rise and which fall.
Spot newcomers in a category
is_new and rank_change show the websites that entered a category's ranking and how far each moved since the month before.
Seed a list of domains
Collect the top domains of a category in each country you sell in, with their category, as the starting list for your prospecting or research.

What you send

A country, a category, both or neither: the ranking you would open on Similarweb's top websites page. These are its 3 inputs, as its schema has them.

countrystring Optional
The country, by its two-letter code such as US or DE, or its name such as united-kingdom. Leave it out for the worldwide ranking.
categorystring Optional
The category, such as finance, games or news-and-media. Leave it out for all categories.
urlstring Optional
Instead of a country and a category, the address of a ranking page on Similarweb.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/similarweb.top_websites/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"country":"DE","category":"finance"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("similarweb.top_websites", {
    "country": "DE",
    "category": "finance",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("similarweb.top_websites", {
  country: "DE",
  category: "finance",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "similarweb.top_websites", map[string]any{"country": "DE", "category": "finance"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("similarweb.top_websites", Map.of("country", "DE", "category", "finance"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run similarweb.top_websites --input country=DE --input category=finance

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The websites of that ranking in order: domain, category, and how many places each moved since the month before, with the month the ranking is for. A record has 12 fields. One we could not read is null, never an empty string or a zero.

A record similarweb.top_websites returned
{
  "rank": 1,
  "domain": "paypal.com",
  "category": "Finance > Banking Credit and Lending",
  "category_id": "finance/banking_credit_and_lending",
  "rank_change": 0,
  "is_new": false,
  "country": "DE",
  "ranking_category": "finance",
  "month": "2026-10",
  "ranking_url": "https://www.similarweb.com/top-websites/germany/finance/",
  "similarweb_url": "https://www.similarweb.com/website/paypal.com/",
  "fetched_at": "2026-11-19T18:07:41.272331Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

rankinteger
The website's place in the ranking, from 1.
domainstring
The website's domain, e.g. wikipedia.org.
categorystring or null
The website's category as the page writes it, e.g. Computers Electronics and Technology > Search Engines.
category_idstring or null
Similarweb's id of the website's category, e.g. computers_electronics_and_technology/search_engines.
rank_changeinteger or null
How many places the website moved since the month before: positive when it rose, negative when it fell, 0 when it kept its place.
is_newboolean
True when the page marks the website as new to the ranking.
countrystring or null
The country of the ranking as a two-letter code, e.g. US. Null for the worldwide ranking.
ranking_categorystring or null
The category of the ranking as in its Similarweb address, e.g. finance. Null for the ranking of all categories.
monthstring
The month the ranking is for, as YYYY-MM.
ranking_urlstring
The Similarweb page of the ranking.
similarweb_urlstring
Similarweb's page about the website.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • A ranking of a country or of a category lists 50 websites; a ranking of one country and one category lists its first 5.
  • Sub-categories are not offered. Visit duration, pages per visit and bounce rate are not returned.
  • One run reads one ranking.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Similarweb top websites return?

The websites of that ranking in order: domain, category, and how many places each moved since the month before, with the month the ranking is for. A record has 12 fields, among them rank, domain, category, category_id, rank_change and is_new. A value that could not be read is null, never an empty string or a zero.

What do I send?

A country, a category, both or neither: the ranking you would open on Similarweb's top websites page. Optional: country, category and url.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

A ranking of a country or of a category lists 50 websites; a ranking of one country and one category lists its first 5. Sub-categories are not offered. Visit duration, pages per visit and bounce rate are not returned. One run reads one ranking.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id similarweb.top_websites and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs Similarweb top websites as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Finance

    Web Rank Tracker

    Where the websites you follow rank in Similarweb's most-visited rankings, by country and category, and how they moved since last run.

Similarweb

Similarweb's public ranking of the most visited websites, worldwide or by country and category.

Similarweb on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.