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.60 每次调用JSON

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

问题

常见问题

如何使用 Similarweb Top Sites Ranking API?

向 https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Similarweb Top Sites Ranking 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Similarweb API 访问权限。