Felo API PlatformFelo API Platform

数据 API / Similarweb / Website

Demographics

Demographics. Response follows the SimilarWeb v5 envelope (meta + data). Date constraint: start_date and end_date must fall in the SAME month (exactly one monthly bucket).

参数

查询

  • 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.

  • 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可选

    允许值: total

    Traffic source device split. Allowed: total.

  • main_domain_onlyboolean可选

    Restrict to the main domain only (true/false).

  • formatstring可选

    允许值: json

    Response format. Allowed: json.

请求示例

curl -G "https://openapi.felo.ai/v1/beta/similarweb/website/demographics" \
  --data-urlencode "domain=<string>" \
  --data-urlencode "start_date=<string>" \
  --data-urlencode "end_date=<string>" \
  --data-urlencode "granularity=<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",
      "metrics": [
        "age_18_to_24_share",
        "age_25_to_34_share",
        "age_35_to_44_share",
        "age_45_to_54_share",
        "age_55_to_64_share",
        "age_65_plus_share",
        "male_share",
        "female_share"
      ]
    },
    "status": "success",
    "last_updated": "2026-07-31"
  },
  "data": [
    {
      "age_18_to_24_share": 0.0684928856109901,
      "age_25_to_34_share": 0.16978297333160164,
      "age_35_to_44_share": 0.202684431962113,
      "age_45_to_54_share": 0.2104190356035189,
      "age_55_to_64_share": 0.21167119791609917,
      "age_65_plus_share": 0.1369494755756772,
      "male_share": 0.5816619373492008,
      "female_share": 0.4183380626507992
    }
  ]
}

响应字段

  • 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[]可选
  • age_18_to_24_sharenumber可选
  • age_25_to_34_sharenumber可选
  • age_35_to_44_sharenumber可选
  • age_45_to_54_sharenumber可选
  • age_55_to_64_sharenumber可选
  • age_65_plus_sharenumber可选
  • male_sharenumber可选
  • female_sharenumber可选