categorystringобязательно
category
https://api.sandbase.ai/v1/api/similarweb/top-sites-rankingGet the top-ranked websites worldwide or in a category, ordered by traffic rank.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
offset.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.
| Name | Type | Required | Description |
|---|---|---|---|
category | string | Yes | category |
limit | integer | Yes | limit |
country | string | No | Worldwide data only; values are case-insensitive. |
offset | integer | No | offset |
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"
}
}
| Field | Meaning |
|---|---|
data[] | One ranked website. The list is ordered by rank. |
data[].domain | Domain name of the ranked website, such as google.com. |
data[].rank | Traffic rank of the domain. 1 is the top site. |
meta.last_updated | Date of the ranking data, in YYYY-MM-DD format. |
meta.query.limit / meta.query.offset | The page size and starting position applied to this call. |
meta.request.category | Category the ranking was built for. all means no category filter. |
meta.request.country | Country scope of the ranking. ww means worldwide. |
meta.request.start_date / meta.request.end_date | Date range the ranking covers, in YYYY-MM-DD format. |
meta.request.granularity | Time grain of the data. The sample shows monthly. |
meta.status | Result of the call. success means the request worked. |
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.Billed at the actual cost of each call, about $0.075 for the request above. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 '{
"limit": 3,
"country": "ww",
"category": "all"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
categorystringобязательноcategory
limitintegerобязательноlimit
countrystringWorldwide data only; values are case-insensitive.
По умолчанию: "ww"
Возможные значения: ww
offsetintegeroffset
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Similarweb Top Sites RankingЭтот 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.075 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: category (string) и limit (integer). Необязательные: country (один из ww) и offset (integer). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Similarweb Top Sites Ranking работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Similarweb.