Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Similarweb Website Top Geographies

API-Dokumentation
https://api.sandbase.ai/v1/api/similarweb/website-top-geographies

Get the countries a website's traffic comes from, with share and visits for each country.

Preis
Ab $0.225USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
Bare website hostname without scheme, path, port, or credentials.
Complete month in YYYY-MM.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Similarweb Website Top Geographies API

Returns the countries that send traffic to a website, with each country's share of traffic and visit count. It needs a bare domain such as cnn.com and can take a month in YYYY-MM format.

Use cases

  • Check which countries make up most of a news site's audience.
  • Compare the US share of visits for two competing websites.
  • Find smaller markets, such as India, where a site already gets traffic.
  • Feed country-level visit counts into a market sizing report.

Request

curl -X POST "https://api.sandbase.ai/v1/api/similarweb/website-top-geographies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "cnn.com", "month": "2026-09"}'

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

Parameters

NameTypeRequiredDescription
domainstringYesBare website hostname without scheme, path, port, or credentials.
monthstringNoComplete month in YYYY-MM.

Example response

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

{
  "data": {
    "countries": [
      {
        "country_code": "us",
        "country_name": "United States",
        "rank": null,
        "share": 0.8111012961668697,
        "visits": 153021200.49451894
      }
    ]
  },
  "meta": {
    "country": "ww",
    "end_date": "2026-09",
    "granularity": "monthly",
    "request_id": "imc_c30995d6af7ed527de005aaf6c0822d71f6c0fc719e2f31a4cb27ddb09d08ee5",
    "retrieved_at": "2026-11-03T07:43:23.793583227Z",
    "source": "similarweb",
    "start_date": "2026-09"
  }
}

Response fields

FieldMeaning
data.countries[]List of countries that send traffic to the domain. Each item is one country.
data.countries[].country_codeLowercase two-letter country code, for example us.
data.countries[].country_nameEnglish name of the country.
data.countries[].shareFraction of the site's traffic from this country. A value of 0.81 means about 81 percent.
data.countries[].visitsNumber of visits from this country. The value is a decimal, so round it for display.
data.countries[].rankCountry rank value. It is null in this response.
meta.start_date / meta.end_dateFirst and last month covered by the data, in YYYY-MM format.
meta.granularityTime step of the data. The value here is monthly.
meta.countryCountry scope of the request. The value ww is used here for all countries combined.

Notes

  • month is optional. Use a complete month in YYYY-MM format, such as 2026-09.
  • Pass the hostname only. Leave out the scheme, path, port, and credentials.
  • The response has no pagination parameters. The pricing section says up to 10 countries come back.
  • For more on a site's traffic over time, call Similarweb Website Traffic Trend.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
SimilarwebAb $0.225 pro AufrufJSON
SimilarwebAb $0.225 pro AufrufJSON
SimilarwebAb $0.375 pro AufrufJSON
SimilarwebAb $0.15 pro AufrufJSON
SimilarwebAb $0.525 pro AufrufJSON
Similarweb$0.60 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die Similarweb Website Top Geographies API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/similarweb/website-top-geographies mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Similarweb Website Top Geographies API?

Ab $0.225 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Similarweb Website Top Geographies API?

Erforderlich: domain (string). Optional: month (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Similarweb Website Top Geographies API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Similarweb-Entwicklerkonto oder einen API-Schlüssel?

Nein. Similarweb Website Top Geographies läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Similarweb API beantragen.