APIMaster.ai
Data APIs/Similarweb/Audience and conversion estimates
Available

Analyze a specific visitor age group

Analyze one age bucket for one month using supported audience metrics such as share.

GET/v1/similarweb/website-analysis/websites/traffic-by-demographics/aggregated

Request parameters

ParameterTypeMeaning
age_bucketRequiredstringSelect one age bucket, using one of the allowed values.

18, 25, 35, 45, 55, 65

countryOptional or conditionalstringGeographic scope. Only ww (worldwide) is supported.

ww

domainRequiredstringWebsite domain without protocol, for example cnn.com.
end_dateRequiredstringLast month, YYYY-MM, inclusive.
formatOptional or conditionalstringResponse format. Only json is supported.

json

granularityRequiredstringTime interval. Only monthly is supported.

monthly

main_domain_onlyOptional or conditionalbooleanWhether to limit analysis to the main domain.
metricsRequiredstringComma-separated metric names. Supported names depend on this API.
start_dateRequiredstringFirst month, YYYY-MM. Availability depends on the dataset.
web_sourceOptional or conditionalstringDevice coverage: desktop, mobile_web or total, as allowed below.

total

Response

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.

Pricing and settlement

$0.4725Estimated price

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.

Request a free estimate before running a call. An estimate is not a fixed price or a hard spending cap. Your fee uses the actual settled usage and your account's current group multiplier once. The estimated amount is reserved from your wallet; unused funds are returned after settlement. Model subscriptions and trial credits do not cover these calls.

Use a unique Idempotency-Key for each intended call. Keep the same key and parameters when recovering a call. If the outcome or fee is pending, query /v1/data-requests/{request_id}; do not start another paid call with a new key.

400: invalid parameters; 401: invalid or expired key; 403: key permissions; 402: insufficient wallet or key quota; 409: idempotency conflict or request pending; 429: rate limit; 502/503: request or settlement unavailable. For every failure, preserve the request ID and check settlement before repeating a paid operation.

Code examples

curl --request GET 'https://apimaster.ai/v1/similarweb/website-analysis/websites/traffic-by-demographics/aggregated?age_bucket=18&country=ww&domain=cnn.com&end_date=2026-09&granularity=monthly&metrics=share&start_date=2026-09' \
  --header 'Authorization: Bearer YOUR_APIMASTER_KEY' \
  --header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY'
Download OpenAPI schema

Related APIs