# デモグラフィック

**API:** Data API

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

**Tags:** Website Analytics

デモグラフィック。レスポンスは SimilarWeb v5 のエンベロープ（meta + data）に従います。日付制約：start_date と end_date は同じ月（ちょうど 1 つの月次バケット）でなければなりません。

### 料金の参考情報

- 計測方法：プランのリソースユニット。
- 参考リクエスト見積もり：0.6 USD。
- ユニットコスト基準：USD 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"
  ]
}
```
