Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Similarweb Deduplicated Audience

Tài liệu API
https://api.sandbase.ai/v1/api/similarweb/deduplicated-audience

Get a website's deduplicated monthly audience across desktop and mobile web, with each platform's share.

Giá
Từ $0.525USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
3 bắt buộc · 4 tùy chọn

Phòng thử nghiệm

Đầu vào
domain
end_date
start_date
Worldwide data only; values are case-insensitive.
granularity
main_domain_only
web_source
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Similarweb Deduplicated Audience API

This API returns the deduplicated monthly audience of a website, counted once even if the same person visits on desktop and mobile web. It needs a domain, a start_date and an end_date in YYYY-MM format. The response gives visitor counts and shares for desktop only, mobile web only, and both platforms.

Use cases

  • Measure how many unique people reach a news site each month, without double counting people who use both desktop and phone.
  • Compare the share of desktop-only and mobile-web-only readers to decide where to focus ad spend or site design.
  • Track the size of the cross-device audience over several months to see if more users switch between platforms.
  • Compare the deduplicated audience of two competing domains by calling the API once for each.

Request

curl -X POST "https://api.sandbase.ai/v1/api/similarweb/deduplicated-audience" \
  -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": [
    {
      "date": "2026-09-01",
      "desktop_and_mobile_web_audience_share": 0.32484400771842364,
      "desktop_and_mobile_web_audience_visitors": 9005207.086507518,
      "desktop_only_audience_share": 0.14004679349515559,
      "desktop_only_audience_visitors": 3882326.123492483,
      "mobile_web_only_audience_share": 0.5351091987864207,
      "mobile_web_only_audience_visitors": 14834102.013492484,
      "total_deduplicated_audience": 27721635.223492485
    }
  ],
  "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": [
        "total_deduplicated_audience"
      ],
      "start_date": "2026-09-01"
    },
    "status": "success"
  }
}

Response fields

FieldMeaning
data[].dateFirst day of the month the row covers, such as 2026-09-01.
data[].total_deduplicated_audienceTotal unique visitors for the month across desktop and mobile web, with overlap counted once.
data[].desktop_only_audience_visitors / data[].desktop_only_audience_shareVisitors who used only desktop, and their share of the total audience. The share is a fraction between 0 and 1.
data[].mobile_web_only_audience_visitors / data[].mobile_web_only_audience_shareVisitors who used only mobile web, and their share of the total audience.
data[].desktop_and_mobile_web_audience_visitors / data[].desktop_and_mobile_web_audience_shareVisitors who used both desktop and mobile web, and their share of the total audience.
meta.last_updatedDate shown by the response as the last update, such as 2026-09-30.
meta.requestEcho of the parameters the request used, with dates expanded to full days such as 2026-09-01 and 2026-09-30.
meta.statusShows success when the call worked.

Notes

  • The three shares add up to 1, and the three visitor counts add up to total_deduplicated_audience.
  • Use YYYY-MM for start_date and end_date. The response returns one row in data for each month in the range.
  • country accepts only ww (worldwide) and granularity accepts only monthly.
  • For more on a site's traffic, call Similarweb Traffic & Engagement or Similarweb Audience Overlap.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
SimilarwebTừ $0.525 mỗi lần gọiJSON
SimilarwebTừ $0.225 mỗi lần gọiJSON
SimilarwebTừ $0.375 mỗi lần gọiJSON
SimilarwebTừ $0.15 mỗi lần gọiJSON
Similarweb$0.60 mỗi lần gọiJSON
SimilarwebTừ $1.275 mỗi lần gọiJSON

Hướng dẫn:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

Câu hỏi

FAQ

Làm thế nào để dùng API Similarweb Deduplicated Audience?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/similarweb/deduplicated-audience với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Similarweb Deduplicated Audience có giá bao nhiêu?

Từ $0.525 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Similarweb Deduplicated Audience chấp nhận những tham số nào?

Bắt buộc: domain (string), end_date (string) và start_date (string). Tùy chọn: country (một trong số ww), granularity (một trong số monthly), main_domain_only (boolean) và web_source (một trong số desktop, mobile_web, total). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Similarweb Deduplicated Audience trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Similarweb không?

Không. Similarweb Deduplicated Audience chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Similarweb.