Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Similarweb Top Sites Ranking

Tài liệu API
https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking

Get the top-ranked websites worldwide or in a category, ordered by traffic rank.

Giá
Từ $0.075USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
2 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
category
120
limit Phạm vi: 1 đến 20.
Worldwide data only; values are case-insensitive.
offset Phạm vi: 0 đến 100000.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Similarweb Top Sites Ranking API

Returns a list of the top-ranked websites worldwide, ordered by traffic rank. It needs a category (for example all) and a limit of 1 to 20 rows.

Use cases

  • Build a leaderboard of the most visited websites worldwide.
  • Check which domains hold the top ranks in a given category.
  • Seed a competitor list with the highest-ranked domains before deeper analysis.
  • Track how many sites you need to page through to reach a target rank with offset.

Request

curl -X POST "https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category": "all", "country": "ww", "limit": 3}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
categorystringYescategory
limitintegerYeslimit
countrystringNoWorldwide data only; values are case-insensitive.
offsetintegerNooffset

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": [
    {
      "domain": "google.com",
      "rank": 1
    }
  ],
  "meta": {
    "last_updated": "2026-09-30",
    "query": {
      "asc": null,
      "limit": 3,
      "offset": 0,
      "sort": null
    },
    "request": {
      "category": "all",
      "channel": "total",
      "country": "ww",
      "end_date": "2026-09-30",
      "format": "json",
      "granularity": "monthly",
      "start_date": "2026-07-01",
      "web_source": "total"
    },
    "status": "success"
  }
}

Response fields

FieldMeaning
data[]One ranked website. The list is ordered by rank.
data[].domainDomain name of the ranked website, such as google.com.
data[].rankTraffic rank of the domain. 1 is the top site.
meta.last_updatedDate of the ranking data, in YYYY-MM-DD format.
meta.query.limit / meta.query.offsetThe page size and starting position applied to this call.
meta.request.categoryCategory the ranking was built for. all means no category filter.
meta.request.countryCountry scope of the ranking. ww means worldwide.
meta.request.start_date / meta.request.end_dateDate range the ranking covers, in YYYY-MM-DD format.
meta.request.granularityTime grain of the data. The sample shows monthly.
meta.statusResult of the call. success means the request worked.

Notes

  • Use offset with limit to page through the list. limit accepts 1 to 20 and offset accepts 0 to 100000.
  • country accepts only ww (worldwide), and the value is case-insensitive.
  • To see ranking details for a single domain, call Similarweb Website Ranking.
  • To see traffic numbers for a domain from this list, call Similarweb Website Traffic Snapshot.

Pricing

Billed at the actual cost of each call, about $0.075 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
SimilarwebTừ $0.075 mỗi lần gọiJSON
SimilarwebTừ $0.225 mỗi lần gọiJSON
SimilarwebTừ $0.375 mỗi lần gọiJSON
SimilarwebTừ $0.15 mỗi lần gọiJSON
SimilarwebTừ $0.525 mỗi lần gọiJSON
Similarweb$0.60 mỗi lần gọiJSON

Hướng dẫn:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

Câu hỏi

FAQ

Làm thế nào để dùng API Similarweb Top Sites Ranking?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Similarweb Top Sites Ranking có giá bao nhiêu?

Từ $0.075 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Similarweb Top Sites Ranking chấp nhận những tham số nào?

Bắt buộc: category (string) và limit (integer). Tùy chọn: country (một trong số ww) và offset (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Similarweb Top Sites Ranking trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Similarweb không?

Không. Similarweb Top Sites Ranking chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Similarweb.