# 即時社交媒體 Pinterest 任務

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/social_media/pinterest/live`

**Tags:** DataForSEO

每個 `targets` 在 Pinterest 上被 Pin 的次數。依 URL 回傳 `type`、`page_url` 與 `pins_count`。採用 DataForSEO 的信封結構：資料位於 `tasks[0].result`，結果狀態位於 `tasks[0].status_code`——被拒絕的請求仍會回傳 HTTP 200。它接受清單，因此一次呼叫即可檢查整個網站的頁面。若要取得 Pinterest 內容而非計數，pinterest 伺服器會直接讀取該平台。

### 計費參考

- 計量方式：依回報的回應成本計量。
- 參考請求估算：0.2428 美元。
- 參考客戶倍率：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`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "targets": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "*目標 URL* **必填欄位** 目標頁面應使用絕對 URL 指定（包含 http:// 或 https://）範例：`https://dataforseo.com/`**注意：** 最多可指定 10 個目標。你將按此陣列中指定的每個 URL 計費"
      },
      "tag": {
        "type": "string",
        "description": "*使用者自訂任務識別碼* 選填欄位 *字元限制為 255* 可使用此參數識別任務，並將其與結果比對 你將在回應的 `data` 物件中找到指定的 `tag` 值"
      }
    },
    "required": [
      "targets"
    ]
  }
}
```

## Responses

### 200 — 成功回應

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

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "*目前 API 版本*"
    },
    "version.status_code": {
      "type": "integer",
      "description": "*通用狀態代碼* 完整的狀態代碼清單見[此處](https://docs.dataforseo.com/v3/appendix/errors.md) **注意：** 強烈建議設計必要的系統來處理相關例外或錯誤情況"
    },
    "version.status_message": {
      "type": "string",
      "description": "*通用資訊訊息* 完整的通用資訊訊息清單見[此處](https://docs.dataforseo.com/v3/appendix/errors.md)"
    },
    "version.time": {
      "type": "string",
      "description": "*執行時間，秒*"
    },
    "version.cost": {
      "type": "number",
      "description": "*任務總費用，美元*"
    },
    "version.tasks_count": {
      "type": "integer",
      "description": "*位於 **`tasks`** 陣列中的任務數量*"
    },
    "version.tasks_error": {
      "type": "integer",
      "description": "*傳回錯誤狀態的 **`tasks`** 陣列中的任務數量*"
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*任務陣列*"
    },
    "tasks.id": {
      "type": "string",
      "description": "*我們系統中的唯一任務識別碼* 採用 [通用唯一識別碼（UUID）](https://en.wikipedia.org/wiki/Universally_unique_identifier) 格式"
    },
    "tasks.status_code": {
      "type": "integer",
      "description": "*任務狀態代碼* 由 DataForSEO 產生；取值範圍為：10000-60000"
    },
    "tasks.status_message": {
      "type": "string",
      "description": "*任務資訊訊息*"
    },
    "tasks.time": {
      "type": "string",
      "description": "*執行時間，秒*"
    },
    "tasks.cost": {
      "type": "number",
      "description": "*任務費用，美元*"
    },
    "tasks.result_count": {
      "type": "integer",
      "description": "*`result` 陣列中的元素數量*"
    },
    "tasks.path": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*URL 路徑*"
    },
    "tasks.data": {
      "type": "object",
      "description": "*包含你在 POST 請求中指定的相同參數*"
    },
    "result": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "*結果陣列*"
    },
    "result.type": {
      "type": "string",
      "description": "*元素類型 = **‘social\\_media\\_pinterest\\_item’***"
    },
    "result.page_url": {
      "type": "string",
      "description": "*提供資料所對應頁面的 URL* 即設定任務時你在 `targets` 陣列中指定的對應 URL"
    },
    "result.pins_count": {
      "type": "integer",
      "description": "*相關 `page_url` 的 Pin 數量* [Pinterest 上的 Pin](https://help.pinterest.com/en/business/article/build-a-pin) 對應內容收藏；此欄位顯示使用 [Pinterest Save Button](https://developers.pinterest.com/docs/widgets/save/?) 從相關 `page_url` 發起的內容收藏次數"
    }
  }
}
```

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```
