Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Similarweb Demographics

Documentazione API
https://api.sandbase.ai/v1/api/similarweb/demographics

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

Prezzo
$0.60USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
4 obbligatori · 4 opzionali

Playground

Input
domain
end_date
granularity
start_date
Worldwide data only; values are case-insensitive.
format
main_domain_only
web_source
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Similarweb$0.60 per chiamataJSON
SimilarwebDa $0.225 per chiamataJSON
SimilarwebDa $0.375 per chiamataJSON
SimilarwebDa $0.15 per chiamataJSON
SimilarwebDa $0.525 per chiamataJSON
SimilarwebDa $1.275 per chiamataJSON

Guide:Similarweb API: request examples and billingSimilarweb API pricing: data credits vs per-call prices

Domande

FAQ

Come uso l'API Similarweb Demographics?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/similarweb/demographics con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Similarweb Demographics?

$0.60 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Similarweb Demographics?

Richiesti: domain (string), end_date (string), granularity (uno tra monthly) e start_date (string). Facoltativi: country (uno tra ww), format (uno tra json), main_domain_only (boolean) e web_source (uno tra total). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Similarweb Demographics?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Similarweb?

No. Similarweb Demographics funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Similarweb.