Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Similarweb Demographics

Документация API
https://api.sandbase.ai/v1/api/similarweb/demographics

Get the age and gender breakdown of a website's visitors for the selected period.

Цена
$0.60USD / вызов
Метод
POST
Ответ
JSON
Параметры
4 обязательных · 4 необязательных

Песочница

Ввод
domain
end_date
granularity
start_date
Worldwide data only; values are case-insensitive.
format
main_domain_only
web_source
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

Similarweb Demographics API

Returns the age and gender split of a website's visitors for a chosen period. You send a domain, a start_date, an end_date and granularity, and get back shares between 0 and 1.

Use cases

  • Compare the age mix of a news site with a competitor's to see which one reaches older readers.
  • Check the male and female split of a domain before planning an ad buy.
  • Build audience profiles for a list of publishers in a media planning sheet.
  • Track how a site's age mix changes by running the same domain over different months.

Request

curl -X POST "https://api.sandbase.ai/v1/api/similarweb/demographics" \
  -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
granularitystringYesgranularity
start_datestringYesstart_date
countrystringNoWorldwide data only; values are case-insensitive.
formatstringNoformat
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": [
    {
      "age_18_to_24_share": 0.08070495283947984,
      "age_25_to_34_share": 0.18467731979384402,
      "age_35_to_44_share": 0.2067059697120009,
      "age_45_to_54_share": 0.20790595096812176,
      "age_55_to_64_share": 0.19314205276691135,
      "age_65_plus_share": 0.12686375391964214,
      "female_share": 0.4365859576418669,
      "male_share": 0.5634140423581331
    }
  ],
  "meta": {
    "last_updated": "2026-09-30",
    "request": {
      "country": "ww",
      "domain": "cnn.com",
      "end_date": "2026-09-30",
      "format": "json",
      "granularity": "monthly",
      "metrics": [
        "age_18_to_24_share"
      ],
      "start_date": "2026-09-01"
    },
    "status": "success"
  }
}

Response fields

FieldMeaning
data[].age_18_to_24_shareShare of the site's visitors aged 18 to 24, as a fraction of 1.
data[].age_25_to_34_share / age_35_to_44_share / age_45_to_54_share / age_55_to_64_shareShare of visitors in each of these age brackets, as a fraction of 1.
data[].age_65_plus_shareShare of visitors aged 65 and older.
data[].female_share / male_shareShare of visitors who are female and male. The two values add up to 1.
meta.last_updatedDate the data was last updated, in YYYY-MM-DD format.
meta.request.start_date / meta.request.end_datePeriod the data covers. A monthly request is expanded to the first and last day of the month.
meta.request.metricsMetric names tied to the request.
meta.statusShows success when the call worked.

Notes

Pricing

$0.6 per successful call. Failed calls are not charged.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Similarweb$0.60 за запросJSON
SimilarwebОт $0.225 за запросJSON
SimilarwebОт $0.375 за запросJSON
SimilarwebОт $0.15 за запросJSON
SimilarwebОт $0.525 за запросJSON
SimilarwebОт $1.275 за запросJSON

Руководства:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

Вопросы

FAQ

Как использовать API Similarweb Demographics?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/similarweb/demographics, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Similarweb Demographics?

$0.60 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Similarweb Demographics?

Обязательные: domain (string), end_date (string), granularity (один из monthly) и start_date (string). Необязательные: country (один из ww), format (один из json), main_domain_only (boolean) и web_source (один из total). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Similarweb Demographics?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Similarweb или API key?

Нет. Similarweb Demographics работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Similarweb.