APIMaster.ai
データ API/Similarweb/Traffic sources and advertising
一時的に利用不可

Get traffic channels for a website segment

Requires a valid account-specific segment ID. Public execution is unavailable until segment access is supported.

GET/v1/similarweb/segment-analysis/segments/traffic-sources

リクエストパラメータ

パラメータ型意味
country任意または条件付きstringGeographic scope. Only ww (worldwide) is supported.

ww

end_date必須stringLast month, YYYY-MM, inclusive.
format任意または条件付きstringResponse format. Only json is supported.

json

granularity必須stringTime interval. Only monthly is supported.

monthly

main_domain_only任意または条件付きbooleanWhether to limit analysis to the main domain.
metrics必須stringComma-separated metric names. Supported names depend on this API.
segment必須stringAuthorized website segment ID. Public execution is currently unavailable.
start_date必須stringFirst month, YYYY-MM. Availability depends on the dataset.
web_source任意または条件付きstringDevice coverage: desktop, mobile_web or total, as allowed below.

total

レスポンス

Returns JSON with the requested traffic or market data. Field names and available metrics vary by API; consult the downloadable OpenAPI schema. Empty or missing data does not mean zero traffic.

Worldwide (ww) and monthly data only. These are third-party estimates, not verified users or sales. Data may be unavailable for small websites or recent months.

Use your APIMaster Bearer key. Model-restricted keys must allow similarweb. Only wallet funds cover these requests.

料金と精算

Reference estimates checked on 2026-12-02, using the displayed query parameters and default account pricing. More months, metrics or result rows can increase the cost; get a free estimate before executing.

呼び出しを実行する前に無料の見積もりを取得してください。見積もりは固定価格でも厳格な支出上限でもありません。手数料は、実際に精算された使用量とアカウントの現在のグループ乗数を用いて 1 回計算されます。見積額はウォレットから予約され、未使用分は精算後に返還されます。モデルのサブスクリプションとトライアルクレジットはこれらの呼び出しには適用されません。

意図する呼び出しごとに一意の Idempotency-Key を使用してください。呼び出しを復旧するときは同じキーとパラメータを維持してください。結果または手数料が保留中の場合、/v1/data-requests/{request_id} を照会してください。新しいキーで別の有料呼び出しを開始しないでください。

400: 無効なパラメータ、401: 無効または期限切れのキー、403: キーの権限、402: ウォレット残高またはキークォータ不足、409: 冪等性の競合またはリクエスト保留中、429: レート制限、502/503: リクエストまたは精算を利用不可。すべての失敗で、リクエスト ID を保持し、有料操作を繰り返す前に精算を確認してください。

コード例

curl --request GET 'https://apimaster.ai/v1/similarweb/segment-analysis/segments/traffic-sources?country=ww&end_date=2026-09&granularity=monthly&metrics=visits&segment=YOUR_SEGMENT_ID&start_date=2026-09' \
  --header 'Authorization: Bearer YOUR_APIMASTER_KEY' \
  --header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY'

関連エンドポイント