# 受眾輪廓

**API:** Data API

**Endpoint:** `GET /v1/beta/similarweb/website/demographics`

**Tags:** Website Analytics

受眾輪廓。回應採用 SimilarWeb v5 信封結構（meta + data）。日期限制：start_date 與 end_date 必須落在同一個月（恰好一個月度分桶）。

### 計費參考

- 計量方式：方案資源單位。
- 參考請求估算：0.6 美元。
- 單位成本基準：0.075 美元。
- 資源單位：`similarweb_credit`。
- 參考客戶乘數：1.0。不得再次套用於已結算的客戶金額。
- 成本基礎不構成最終客戶價格，即使為零亦同。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `country` | query | no | string, enum: "ww", default: "ww" |  |
| `domain` | query | yes | string |  |
| `end_date` | query | yes | string |  |
| `format` | query | no | string, enum: "json" |  |
| `granularity` | query | yes | string, enum: "monthly" |  |
| `main_domain_only` | query | no | boolean |  |
| `start_date` | query | yes | string |  |
| `web_source` | query | no | string, enum: "total" |  |

## Responses

### 200 — SimilarWeb v5 信封結構（meta + data）。

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "meta": {
      "$ref": "#/components/schemas/Response87Ff1885565E_SimilarWebMeta"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "age_18_to_24_share": {
            "type": "number"
          },
          "age_25_to_34_share": {
            "type": "number"
          },
          "age_35_to_44_share": {
            "type": "number"
          },
          "age_45_to_54_share": {
            "type": "number"
          },
          "age_55_to_64_share": {
            "type": "number"
          },
          "age_65_plus_share": {
            "type": "number"
          },
          "male_share": {
            "type": "number"
          },
          "female_share": {
            "type": "number"
          }
        }
      }
    }
  }
}
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response87Ff1885565E_SimilarWebMeta

`#/components/schemas/Response87Ff1885565E_SimilarWebMeta`

```json
{
  "type": "object",
  "description": "SimilarWeb v5 回應信封中繼資料。",
  "properties": {
    "status": {
      "type": "string",
      "description": "上游狀態；呼叫成功時為 'success'。",
      "example": "success"
    },
    "last_updated": {
      "type": "string",
      "description": "上游可用的最新資料點日期（YYYY-MM-DD）。",
      "example": "2026-06-30"
    },
    "request": {
      "type": "object",
      "description": "正規化上游請求的完整回顯（依接收到的參數）。"
    },
    "query": {
      "type": "object",
      "description": "適用時回顯分頁/排序參數（limit、offset、asc、sort）。"
    }
  },
  "required": [
    "status"
  ]
}
```
