categorystringobbligatorio
category
https://api.sandbase.ai/v1/api/similarweb/top-sites-rankingGet the top-ranked websites worldwide or in a category, ordered by traffic rank.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
categorystringobbligatoriocategory
limitintegerobbligatoriolimit
countrystringWorldwide data only; values are case-insensitive.
Predefinito: "ww"
Valori possibili: ww
offsetintegeroffset
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Similarweb Top Sites RankingQuesta API Similarweb | Da $0.075 per chiamata | JSON |
Similarweb | Da $0.225 per chiamata | JSON |
Similarweb | Da $0.375 per chiamata | JSON |
Similarweb | Da $0.15 per chiamata | JSON |
Similarweb | Da $0.525 per chiamata | JSON |
Similarweb | $0.60 per chiamata | JSON |
Guide:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/similarweb/top-sites-ranking con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.075 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: category (string) e limit (integer). Facoltativi: country (uno tra ww) e offset (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Similarweb Top Sites Ranking funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Similarweb.