Felo API PlatformFelo API Platform

数据 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可选