Get website visits and engagement metrics
Select visits, bounce rate, visit duration or other supported metrics to compare monthly performance.
/v1/similarweb/website/traffic-engagementAanvraagparameters
| Parameter | Type | Betekenis |
|---|---|---|
| countryOptioneel of voorwaardelijk | string | Geographic scope. Only ww (worldwide) is supported.
|
| domainVereist | string | Website domain without protocol, for example cnn.com. |
| end_dateVereist | string | Last month, YYYY-MM, inclusive. |
| granularityOptioneel of voorwaardelijk | string | Time interval. Only monthly is supported.
|
| main_domain_onlyOptioneel of voorwaardelijk | boolean | Whether to limit analysis to the main domain. |
| metricsVereist | string | Comma-separated metric names. Supported names depend on this API. |
| mtdOptioneel of voorwaardelijk | boolean | Whether to include month-to-date data, when available. |
| start_dateVereist | string | First month, YYYY-MM. Availability depends on the dataset. |
| web_sourceOptioneel of voorwaardelijk | string | Device coverage: desktop, mobile_web or total, as allowed below.
|
Respons
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.
Prijzen en afrekening
$0.07875Geschatte prijsReference 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.
Vraag een gratis schatting aan voordat u een aanroep uitvoert. Een schatting is geen vaste prijs en geen hard bestedingsplafond. Uw tarief is gebaseerd op het werkelijk afgerekende gebruik en de huidige groepsmultiplier van uw account, die eenmalig wordt toegepast. Het geschatte bedrag wordt op uw wallet gereserveerd; ongebruikte middelen worden na afrekening terugbetaald. Modelabonnementen en proeftegoeden dekken deze aanroepen niet.
Gebruik een unieke Idempotency-Key voor elke beoogde aanroep. Behoud dezelfde sleutel en parameters bij het herstellen van een aanroep. Als de uitkomst of het tarief nog in behandeling is, raadpleeg /v1/data-requests/{request_id}; start dan geen nieuwe betaalde aanroep met een nieuwe sleutel.
400: ongeldige parameters; 401: ongeldige of verlopen sleutel; 403: sleutelmachtigingen; 402: onvoldoende wallet- of sleutelquota; 409: idempotentieconflict of aanvraag in behandeling; 429: snelheidslimiet; 502/503: aanvraag of afrekening niet beschikbaar. Bewaar bij elke fout het aanvraag-ID en controleer de afrekening voordat u een betaalde bewerking herhaalt.
Codevoorbeelden
curl --request GET 'https://apimaster.ai/v1/similarweb/website/traffic-engagement?country=ww&domain=cnn.com&end_date=2026-09&metrics=visits&start_date=2026-09' \ --header 'Authorization: Bearer YOUR_APIMASTER_KEY' \ --header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY'
