Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Similarweb Marketing Channel Sources

API 문서
https://api.sandbase.ai/v1/api/similarweb/marketing-channel-sources-legacy

Get a website's visits by marketing channel (direct, search, social, referrals, mail, display) month by month.

가격
$0.525부터USD / 호출
메서드
POST
응답
JSON
매개변수
필수 3개 · 선택 사항 4개

Playground

입력
domain
end_date
start_date
Worldwide data only; values are case-insensitive.
granularity
main_domain_only
web_source
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Similarweb Marketing Channel Sources API

Returns estimated website visits split by marketing channel for each month in a date range. It needs a domain, a start_date and an end_date in YYYY-MM format.

Use cases

  • Compare how much of a competitor's traffic comes from direct visits versus display ads or mail.
  • Track month by month how a site's channel mix changes after a campaign.
  • Build a channel breakdown chart for a domain in a market research report.

Request

curl -X POST "https://api.sandbase.ai/v1/api/similarweb/marketing-channel-sources-legacy" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"start_date": "2026-09", "end_date": "2026-09", "country": "ww", "domain": "cnn.com", "granularity": "monthly"}'

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

Parameters

NameTypeRequiredDescription
domainstringYesdomain
end_datestringYesend_date
start_datestringYesstart_date
countrystringNoWorldwide data only; values are case-insensitive.
granularitystringNogranularity
main_domain_onlybooleanNomain_domain_only
web_sourcestringNoweb_source

Example response

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

{
  "data": [
    {
      "average_visit_duration": null,
      "bounce_rate": null,
      "date": "2026-09-01",
      "pages_per_visit": null,
      "source_type": "Direct",
      "visits": 124416521.07111368
    }
  ],
  "meta": {
    "last_updated": "2026-09-30",
    "request": {
      "country": "ww",
      "domain": "cnn.com",
      "end_date": "2026-09-30",
      "format": "json",
      "granularity": "monthly",
      "main_domain_only": true,
      "metrics": [
        "visits"
      ],
      "mtd": false,
      "start_date": "2026-09-01",
      "web_source": "total"
    },
    "status": "success"
  }
}

Response fields

FieldMeaning
data[]One row per channel and month. The response lists one row for each source_type in each month of the range.
data[].source_typeThe marketing channel for the row, such as Direct, Display Ads or Mail.
data[].visitsEstimated number of visits from that channel in that month. The value is a decimal number.
data[].dateFirst day of the month the row covers, in YYYY-MM-DD format, for example 2026-09-01.
data[].average_visit_duration / bounce_rate / pages_per_visitEngagement metrics for the channel. They are null in this response, because only the visits metric was returned.
meta.request.metricsList of metrics returned for the request. This response contains visits only.
meta.request.web_sourceDevice scope used for the data. This response used total.
meta.last_updatedDate of the most recent data update, for example 2026-09-30.

Notes

  • Pass dates as YYYY-MM. The echoed request in meta.request shows them expanded to the first and last day of the month.
  • country accepts only ww, which is worldwide data. granularity accepts only monthly.
  • Set web_source to desktop, mobile_web or total to choose the device scope. The response showed total when it was not set.
  • To see which sites send referral traffic, call Similarweb Referrals. For total visits over time, call Similarweb Website Traffic Trend.

Pricing

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

더 살펴보기

관련 API

모든 API
API가격응답
Similarweb호출당 $0.525부터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

질문

FAQ

Similarweb Marketing Channel Sources API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/similarweb/marketing-channel-sources-legacy에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Similarweb Marketing Channel Sources API 비용은 얼마인가요?

호출당 $0.525부터, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Similarweb Marketing Channel Sources API는 어떤 매개변수를 받나요?

필수: domain (string), end_date (string) 및 start_date (string). 선택: country(ww 중 하나), granularity(monthly 중 하나), main_domain_only (boolean) 및 web_source(desktop, mobile_web, total 중 하나). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Similarweb Marketing Channel Sources API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Similarweb 개발자 계정이나 API 키가 필요한가요?

아니요. Similarweb Marketing Channel Sources은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Similarweb API 액세스를 별도로 신청할 필요는 없습니다.