# 網站指標

**API:** Data API

**Endpoint:** `GET /v1/beta/ahrefs/site-explorer/metrics`

**Tags:** Ahrefs

傳回指定日期下目標網域的核心 Site Explorer 指標：自然與付費關鍵字數量、前 3 名關鍵字數量、自然流量與流量價值。

### 定價參考

- 計量方式：以成功請求為固定成本基礎。
- 參考請求預估：USD 0.08。
- 參考客戶乘數：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 |
| --- | --- | --- | --- | --- |
| `date` | query | yes | string, (date) | 快照日期，格式為 `YYYY-MM-DD`。 |
| `target` | query | yes | string | 目標網域，例如 `ahrefs.com`。 |

## Responses

### 200 — 核心網站指標。

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

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "metrics": {
      "type": "object",
      "properties": {
        "org_keywords": {
          "type": "integer",
          "description": "自然關鍵字數量。"
        },
        "paid_keywords": {
          "type": "integer",
          "description": "付費關鍵字數量。"
        },
        "org_keywords_1_3": {
          "type": "integer",
          "description": "排名前 3 的自然關鍵字。"
        },
        "org_traffic": {
          "type": "integer",
          "description": "預估的每月自然流量。"
        },
        "org_cost": {
          "type": "integer",
          "description": "預估的自然流量價值。"
        }
      }
    }
  }
}
```

Example:

```json
{
  "metrics": {
    "org_keywords": 1843000,
    "paid_keywords": 6790,
    "org_keywords_1_3": 412000,
    "org_traffic": 20413900,
    "org_cost": 42474500
  }
}
```

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```
