APIMaster.ai
API danych/Similarweb/Audience and conversion estimates
Dostępny

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

Parametry żądania

ParametrTypZnaczenie
age_bucketWymaganystringSelect one age bucket, using one of the allowed values.

18, 25, 35, 45, 55, 65

countryOpcjonalny lub warunkowystringGeographic scope. Only ww (worldwide) is supported.

ww

domainWymaganystringWebsite domain without protocol, for example cnn.com.
end_dateWymaganystringLast month, YYYY-MM, inclusive.
formatOpcjonalny lub warunkowystringResponse format. Only json is supported.

json

granularityWymaganystringTime interval. Only monthly is supported.

monthly

main_domain_onlyOpcjonalny lub warunkowybooleanWhether to limit analysis to the main domain.
metricsWymaganystringComma-separated metric names. Supported names depend on this API.
start_dateWymaganystringFirst month, YYYY-MM. Availability depends on the dataset.
web_sourceOpcjonalny lub warunkowystringDevice coverage: desktop, mobile_web or total, as allowed below.

total

Odpowiedź

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.

Cennik i rozliczenia

$0.4725Szacowana cena

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.

Przed wykonaniem wywołania poproś o bezpłatną wycenę. Wycena nie jest stałą ceną ani sztywnym limitem wydatków. Opłata jest obliczana na podstawie rzeczywistego rozliczonego użycia, a bieżący mnożnik grupy Twojego konta jest stosowany jednokrotnie. Szacowana kwota jest rezerwowana w portfelu; niewykorzystane środki są zwracane po rozliczeniu. Subskrypcje modeli i kredyty próbne nie pokrywają tych wywołań.

Dla każdego zamierzonego wywołania użyj unikalnej wartości Idempotency-Key. Podczas odzyskiwania wywołania zachowaj ten sam klucz i parametry. Jeśli wynik lub opłata nie zostały jeszcze rozliczone, sprawdź /v1/data-requests/{request_id}; nie rozpoczynaj kolejnego płatnego wywołania z nowym kluczem.

400: nieprawidłowe parametry; 401: nieprawidłowy lub wygasły klucz; 403: uprawnienia klucza; 402: niewystarczające środki w portfelu lub wyczerpany limit klucza; 409: konflikt idempotencji lub żądanie w toku; 429: limit liczby żądań; 502/503: żądanie lub rozliczenie niedostępne. Przy każdym błędzie zachowaj identyfikator żądania i sprawdź rozliczenie przed powtórzeniem płatnej operacji.

Przykłady kodu

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'
Pobierz schemat OpenAPI

Powiązane punkty końcowe