資料 API / Similarweb / Website
Traffic & Engagement
Traffic & Engagement. Response follows the SimilarWeb v5 envelope (meta + data). Date constraint: the start_date-end_date span must cover between 1 and 120 monthly buckets.
參數
查詢
domainstring必填Target domain, e.g. example.com.
start_datestring必填Start month, format YYYY-MM.
end_datestring必填End month, format YYYY-MM.
granularitystring選填允許值: monthly
Time granularity. Allowed: monthly. Default: monthly.
metricsstring必填Comma-separated metrics, e.g. visits,pages_per_visit.
countrystring選填允許值: us · ww
Two-letter country code. Allowed: us, ww. Default: ww. Coverage is limited to ww and us on the current plan.
web_sourcestring選填允許值: desktop · mobile_web · total
Traffic source device split. Allowed: desktop, mobile_web, total.
main_domain_onlyboolean選填Restrict to the main domain only (true/false). Default: True.
mtdboolean選填Month-to-date flag (true/false).
請求範例
curl -G "https://openapi.felo.ai/v1/beta/similarweb/website/traffic-engagement" \
--data-urlencode "domain=<string>" \
--data-urlencode "start_date=<string>" \
--data-urlencode "end_date=<string>" \
--data-urlencode "metrics=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"回應
回應範例
{
"meta": {
"request": {
"format": "json",
"domain": "cnn.com",
"granularity": "monthly",
"country": "us",
"start_date": "2026-06-01",
"end_date": "2026-06-30",
"web_source": "total",
"metrics": [
"visits",
"pages_per_visit",
"average_visit_duration",
"bounce_rate",
"new_users",
"page_views",
"returning_users",
"unique_visitors"
],
"state": null,
"mtd": false,
"main_domain_only": true
},
"status": "success",
"last_updated": "2026-07-31"
},
"data": [
{
"date": "2026-06-01",
"visits": 182538329.78179574,
"bounce_rate": 0.6402229356798581,
"average_visit_duration": 194.8333714917004,
"pages_per_visit": 1.9970684926970637,
"page_views": 364541547.1167704,
"unique_visitors": 32705292.619999997,
"new_users": 10074246.080150243,
"returning_users": 22631046.540221456
}
]
}回應欄位
metaobject選填SimilarWeb v5 response envelope metadata.
statusstring必填Operation status; success for a successful lookup.
last_updatedstring選填Date of the most recent available data point (YYYY-MM-DD).
requestobject選填Normalized request parameters used for this lookup.
queryobject選填Pagination/sort echo when applicable (limit, offset, asc, sort).
dataobject[]選填datestring選填visitsnumber選填bounce_ratenumber選填average_visit_durationnumber選填pages_per_visitnumber選填page_viewsnumber選填unique_visitorsnumber選填new_usersnumber選填returning_usersnumber選填