Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Similarweb Website Top Geographies

APIドキュメント
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.

料金
$0.225 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
Bare website hostname without scheme, path, port, or credentials.
Complete month in YYYY-MM.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

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.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Similarweb1回あたり $0.225 からJSON
Similarweb1回あたり $0.225 からJSON
Similarweb1回あたり $0.375 からJSON
Similarweb1回あたり $0.15 からJSON
Similarweb1回あたり $0.525 からJSON
Similarweb$0.60 / 回JSON

ガイド:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

質問

FAQ

Similarweb Website Top Geographies API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/similarweb/website-top-geographies に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Similarweb Website Top Geographies API の料金はいくらですか?

1回あたり $0.225 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Similarweb Website Top Geographies API はどのパラメータを受け付けますか?

必須: domain (string)。 任意: month (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Similarweb Website Top Geographies API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Similarweb の開発者アカウントまたは API key は必要ですか?

いいえ。Similarweb Website Top Geographies は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Similarweb の API アクセスを別途申請する必要はありません。