Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Similarweb Top Sites Ranking

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.

價格
自 $0.075 起美元/次呼叫
方法
POST
回應
JSON
參數
2 個必填 · 2 個選填

Playground

輸入
category
120
limit 範圍:1 到 20。
Worldwide data only; values are case-insensitive.
offset 範圍:0 到 100000。
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Similarweb每次呼叫 $0.075 起JSON
Similarweb每次呼叫 $0.225 起JSON
Similarweb每次呼叫 $0.375 起JSON
Similarweb每次呼叫 $0.15 起JSON
Similarweb每次呼叫 $0.525 起JSON
Similarweb每次呼叫 $0.60JSON

指南:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

問題

常見問題

我要如何使用 Similarweb Top Sites Ranking API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Similarweb Top Sites Ranking API 的費用是多少?

每次起 $0.075,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Similarweb Top Sites Ranking API 接受哪些參數?

必要:category (string) 和 limit (integer)。 選填:country(ww 之一) 和 offset (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Similarweb Top Sites Ranking API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Similarweb 開發者帳號或 API 金鑰嗎?

不需要。Similarweb Top Sites Ranking 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Similarweb API 存取權。