# 被リンク履歴

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/backlinks/history/live`

**Tags:** DataForSEO

1 つの `target` の、指定した日付範囲の各日時点での被リンクプロファイル。`date_from`、`date_to` と各時点の項目を返します。現在のプロファイルだけが必要な場合は `post_dataforseo_backlinks_summary_live` を使用してください。より軽量な時系列が必要な場合、`post_dataforseo_backlinks_timeseries_summary_live` は各時点で報告する指標を減らします。このエンドポイントは limit パラメータを受け付けないため、呼び出し頻度を下げることだけが調整手段です。

### 料金の参考情報

- 計量方式：レスポンスで報告されるコスト。
- 参考リクエスト見積もり：0.0271 USD。
- 参考顧客乗数：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: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "target": {
            "type": "string",
            "description": "<em>ドメイン</em><br><strong>必須フィールド</strong><br>ドメインは <code>https://</code> と <code>www.</code> を付けずに指定します"
          },
          "date_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>期間の開始日</em><br>任意フィールド<br>最小値 <code>2019-01-01</code><br>このフィールドを指定しない場合、最小値がデフォルトで使用されます<br>日付形式: <code>\"yyyy-mm-dd\"</code><br>例:<br><code>\"2019-01-15\"</code>"
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>期間の終了日</em><br>任意フィールド<br>このフィールドを指定しない場合、今日の日付がデフォルトで使用されます<br>日付形式: <code>\"yyyy-mm-dd\"</code><br>例:<br><code>\"2019-01-15\"</code>"
          },
          "rank_scale": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em><code>rank</code>、<code>domain_from_rank</code>、<code>page_from_rank</code> の値を計算・表示する際のスケールを定義します</em><br>任意フィールド<p>このパラメータを使用して、rank 値を 0〜100 と 0〜1000 のどちらのスケールで表示するかを選択できます<p>指定可能な値:<br><code>one_hundred</code> — rank 値は 0〜100 のスケールで表示されます<br><code>one_thousand</code> — rank 値は 0〜1000 のスケールで表示されます<p>デフォルト値: <code>one_thousand</code><p>このパラメータの動作とランキング指標の計算方法については、<a href=\"https://dataforseo.com/help-center/what_is_rank_in_backlinks_api#rank_scale\">こちらのヘルプセンターの記事</a>をご覧ください"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ユーザー定義のタスク識別子</em><br>任意フィールド<br><em>文字数上限は 255 です</em><br>このパラメーターを使ってタスクを識別し、結果と照合できます<br>指定した <code>tag</code> の値は、レスポンスの <code>data</code> オブジェクトに含まれます"
          }
        },
        "example": [
          {
            "target": "cnn.com",
            "date_from": "2020-01-01",
            "date_to": "2021-01-01"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "target": "cnn.com",
      "date_from": "2020-01-01",
      "date_to": "2021-01-01"
    }
  ]
}
```

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveResponseInfo"
    }
  ]
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BacklinksHistoryLiveItem

`#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ターゲットのデータが保存された日時</em><br>UTC 形式：\"yyyy-mm-dd hh-mm-ss +00:00\"<br>例:<br><code>2019-11-15 12:57:46 +00:00</code>"
    },
    "rank": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>指定された <code>date</code> のドメインランク</em><br>この指標と計算方法の詳細については、こちらの<a href=\"https://dataforseo.com/help-center/what_is_rank_in_backlinks_api\" rel=\"noopener noreferrer\" target=\"_blank\">ヘルプセンター記事</a>を参照してください"
    },
    "backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>被リンク数</em>",
      "format": "int64"
    },
    "new_backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> の新規被リンク数</em><br>データは前期間との比較に基づいて提供されます<br><strong>注意:</strong> このデータは 2021 年 5 月以降に利用できます；<br>POST リクエストで指定した期間が 2021 年 5 月より前の場合、このフィールドは <code>0</code> になります",
      "format": "int64"
    },
    "lost_backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> で失われた被リンク数</em><br>データは前期間との比較に基づいて提供されます<br><strong>注意:</strong> このデータは 2021 年 5 月以降に利用できます；<br>POST リクエストで指定した期間が 2021 年 5 月より前の場合、このフィールドは <code>0</code> になります",
      "format": "int64"
    },
    "new_referring_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> の新規参照ドメイン数</em><br>データは前期間との比較に基づいて提供されます<br><strong>注意:</strong> このデータは 2021 年 5 月以降に利用できます；<br>POST リクエストで指定した期間が 2021 年 5 月より前の場合、このフィールドは <code>0</code> になります",
      "format": "int64"
    },
    "lost_referring_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> で失われた参照ドメイン数</em><br>データは前期間との比較に基づいて提供されます<br><strong>注意:</strong> このデータは 2021 年 5 月以降に利用できます；<br>POST リクエストで指定した期間が 2021 年 5 月より前の場合、このフィールドは <code>0</code> になります",
      "format": "int64"
    },
    "crawled_pages": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> のクロール済みページ数</em>"
    },
    "info": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_TargetInfo"
        }
      ],
      "description": "<em><code>target</code> に関する情報</em>"
    },
    "internal_links_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>内部リンク数</em><br>指定された <code>target</code> のページ上の内部リンクの合計として計算されます",
      "format": "int64"
    },
    "external_links_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ページの外部リンク数</em><br>指定された <code>target</code> のページ上の外部リンクの合計として計算されます",
      "format": "int64"
    },
    "broken_backlinks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>壊れた被リンク数</em><br><code>target</code> を指す壊れた被リンクの数",
      "format": "int64"
    },
    "broken_pages": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>壊れたページ数</em><br>被リンクを受け取っているものの、4xx または 5xx ステータスコードを返すページの数"
    },
    "referring_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>参照ドメイン数</em><br>この指標では、参照ドメインに別個のドメインとしてカウントされるサブドメインが含まれます",
      "format": "int64"
    },
    "referring_domains_nofollow": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> に少なくとも 1 つの nofollow リンクを指しているドメイン数</em>",
      "format": "int64"
    },
    "referring_main_domains": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>参照メインドメイン数</em>",
      "format": "int64"
    },
    "referring_main_domains_nofollow": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> に少なくとも 1 つの nofollow リンクを指しているメインドメイン数</em>",
      "format": "int64"
    },
    "referring_ips": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>参照 IP アドレス数</em><br>このページを指す IP アドレスの数",
      "format": "int64"
    },
    "referring_subnets": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>参照サブネットワーク数</em>",
      "format": "int64"
    },
    "referring_pages": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> を指すページ数</em>",
      "format": "int64"
    },
    "referring_pages_nofollow": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> に少なくとも 1 つの nofollow リンクを指している参照ページ数</em>",
      "format": "int64"
    },
    "referring_links_tld": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照リンクのトップレベルドメイン</em><br>トップレベルドメインと、それぞれの参照リンク数を含みます"
    },
    "referring_links_types": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照リンクの種類</em><br>参照リンクの種類と、種類ごとのリンク数を示します<br>指定可能な値:<br><code>anchor</code>、<code>image</code>、<code>link</code>、<code>meta</code>、<code>canonical</code>、<code>alternate</code>、<code>redirect</code>"
    },
    "referring_links_attributes": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照リンクのリンク属性</em><br>参照リンクのリンク属性と、属性ごとのリンク数を示します"
    },
    "referring_links_platform_types": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照プラットフォームの種類</em><br>参照プラットフォームの種類と、プラットフォームごとのリンク数を示します<p>指定可能な値: <code>cms</code>、<code>blogs</code>、<code>ecommerce</code>、<code>message-boards</code>、<code>wikis</code>、<code>news</code>、<code>organization</code>"
    },
    "referring_links_semantic_locations": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照リンクのセマンティックロケーション</em><br>参照リンクが配置されている HTML のセマンティック要素と、セマンティックロケーションごとのリンク数を示します<br>セマンティック要素の完全な一覧は<a href=\"https://www.w3schools.com/html/html5_semantic_elements.asp\" target=\"_blank\" rel=\"noopener noreferrer\">こちら</a>で確認できます<br>例:<br><code>article</code>、<code>section</code>、<code>summary</code>"
    },
    "referring_links_countries": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "int64"
      },
      "description": "<em>参照リンクの ISO 国コード</em><br>参照リンクが配置されているドメインの ISO 国コードと、国ごとのリンク数を示します"
    }
  }
}
```

### Response36Afe1097B20_BacklinksHistoryLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BacklinksHistoryLiveResultInfo

`#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "target": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列の <code>target</code></em>"
    },
    "date_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>期間の開始日</em><br>UTC 形式：“yyyy-mm-dd”<br>例:<br><code>2019-01-01</code>"
    },
    "date_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>期間の終了日</em><br>UTC 形式：<code>\"yyyy-mm-dd\"</code><br>例:<br><code>\"2019-01-15\"</code>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>items</code> 配列で返される結果の数</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveItem"
          }
        ]
      },
      "description": "<em>指定されたドメインの履歴被リンクデータを含みます</em><br>データは月単位で提供されます；<br>指標は、指定されたドメインが各月の初日に持っていた被リンクに基づいて集計されます"
    }
  }
}
```

### Response36Afe1097B20_BacklinksHistoryLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_BacklinksHistoryLiveResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API の現在のバージョン"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "一般的なステータスコード\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "一般的な情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "合計実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 配列内のタスク数",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "エラーで返された tasks 配列内のタスク数",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスク識別子\n当社システム内で UUID 形式の一意のタスク識別子"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "タスクのステータスコード\nDataForSEO によって生成され、次の範囲の値になります: 10000-60000\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスクの情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 配列内の要素数",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL パス"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST リクエストで指定したものと同じパラメーターを含みます"
    }
  }
}
```

### Response36Afe1097B20_TargetInfo

`#/components/schemas/Response36Afe1097B20_TargetInfo`

```json
{
  "type": "object",
  "properties": {
    "server": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>サーバー</em>"
    },
    "cms": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>コンテンツ管理システム</em>"
    },
    "platform_type": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>プラットフォームタイプ</em>"
    },
    "ip_address": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><code>target</code> の IP アドレス</em>"
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em><code>target</code> ドメインが属すると判定された国コード</em>"
    },
    "is_ip": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em><code>target</code> が IP かどうかを示します</em><br><code>true</code> の場合、そのドメイン、サブドメイン、または Web ページは IP アドレスとして機能し、ドメイン名を持ちません"
    },
    "target_spam_score": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>target</code> のスパムスコア</em><br><code>target</code> がドメイン/サブドメインの場合、このフィールドはそのドメイン/サブドメインのすべてのページの平均スパムスコアを示します；<br>この指標の計算方法の詳細については、こちらの<a href=\"https://dataforseo.com/help-center/what-is-spam-score-and-how-is-it-calculated\" rel=\"noopener noreferrer\" target=\"_blank\">ヘルプセンターのページ</a>を参照してください"
    }
  }
}
```
