# Google Play アプリの競合（ライブ）

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/dataforseo_labs/google/app_competitors/live`

**Tags:** DataForSEO

特定のアプリと共通のキーワードで競合する Google Play アプリです。`limit`、`offset`、`offset_token` でページングし、最初の数ページを超えたらトークンを使用してください。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。Apple 版は `post_dataforseo_labs_apple_app_competitors_live` です。重なりの背景にあるキーワードが必要な場合は `post_dataforseo_labs_google_app_intersection_live` を使用してください。

### 料金の参考情報

- 計量方式：レスポンスで報告されるコスト。
- 参考リクエスト見積もり：0.1356 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": {
          "app_id": {
            "type": "string",
            "description": "<em>アプリの ID</em><br><strong>必須フィールド</strong><br>Google Play 上のモバイルアプリの ID；<br>ID は Google Play に掲載されているすべてのアプリの URL で確認できます；<br>例：<br>URL <code>https://play.google.com/store/apps/details?id=org.telegram.messenger</code> の場合<br>ID は <code>org.telegram.messenger</code> です"
          },
          "location_name": {
            "type": "string",
            "description": "<em>ロケーションの正式名称</em><br><strong><code>location_code</code> を指定しない場合は必須フィールド</strong><br><strong>注意：</strong><code>location_name</code> または <code>location_code</code> のいずれかを指定する必要があります<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能なロケーションとその <code>location_name</code> の一覧を取得できます；<br><strong>注意：</strong>このエンドポイントは現在、米国のロケーションのみをサポートしています；<br>例：<br><code class=\"long-string\">United States</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>ロケーションコード</em><br><strong><code>location_name</code> を指定しない場合は必須フィールド</strong><br><strong>注意：</strong><code>location_name</code> または <code>location_code</code> のいずれかを指定する必要があります<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能なロケーションとその <code>location_code</code> の一覧を取得できます；<br><strong>注意：</strong>このエンドポイントは現在、米国のロケーションのみをサポートしています；<br>例：<br><code class=\"long-string\">2840</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>言語の正式名称</em><br><strong><code>language_code</code> を指定しない場合は必須フィールド</strong><br><strong>注意：</strong><code>language_name</code> または <code>language_code</code> のいずれかを指定する必要があります<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能な言語とその <code>language_name</code> の一覧を取得できます；<br><strong>注意：</strong>このエンドポイントは現在、英語のみをサポートしています；<br>例：<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>言語コード</em><br><strong><code>language_name</code> を指定しない場合は必須フィールド</strong><br><strong>注意：</strong><code>language_name</code> または <code>language_code</code> のいずれかを指定する必要があります<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能な言語とその <code>language_code</code> の一覧を取得できます；<br><strong>注意：</strong>このエンドポイントは現在、英語のみをサポートしています<br>例：<br><code class=\"long-string\">en</code>"
          },
          "filters": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ]
            },
            "description": "<em>結果フィルターパラメーターの配列</em><br>任意フィールド<br><strong>複数のフィルターを同時に追加できます（最大 8 個）</strong><br>条件の間には論理演算子 <code>and</code>、<code>or</code> を設定してください<br>次の演算子がサポートされています：<br><code>&lt;</code>、<code>&lt;=</code>、<code>&gt;</code>、<code>&gt;=</code>、<code>=</code>、<code>&lt;&gt;</code>、<code>in</code>、<code>not_in</code><br>例：<br><code>[\"intersections\",\"&gt;\",500]</code><p><code>[[\"competitor_metrics.google_play_search_organic.pos_1\",\"&lt;&gt;\",10],\"and\",[\"avg_position\",\"&gt;=\",\"10\"]]</code><p><code>[[[\"intersections\",\"&gt;=\",50],\"and\",[\"competitor_metrics.google_play_search_organic.pos_1\",\"in\",[1,5]]],<br>\"or\",<br>[\"sum_position\",\"&gt;=\",\"10000\"]]</code><p>フィルターの詳細については、<a href=\"/v3/dataforseo_labs/filters\" target=\"_blank\" rel=\"noopener noreferrer\">Dataforseo Labs - Filters</a> またはこちらの <a href=\"https://dataforseo.com/help-center/how-to-use-filters-in-dataforseo-labs-api\" rel=\"noopener noreferrer\" target=\"_blank\">ヘルプセンターガイド</a>を参照してください"
          },
          "order_by": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>結果の並べ替えルール</em><br>任意フィールド<br><code>filters</code> 配列と同じ値を使用して結果を並べ替えられます；<br>指定可能な並べ替えの種類：<br><code>asc</code> - 結果は昇順で並べ替えられます；<br><code>desc</code> - 結果は降順で並べ替えられます；<br>並べ替えの種類を指定するにはカンマを使用してください；<br>例：<br><code>[\"intersections,asc\"]</code><br><strong>注意：</strong>1 回のリクエストで設定できる並べ替えルールは 3 つまでです；<br>複数の並べ替えルールはカンマで区切ってください；<br>例：<br><code>[\"intersections,desc\",\"sum_position,asc\"]</code><p>デフォルトのルール：<br><code>[\"intersections,desc\"]</code><br><strong>注意：</strong><code>item_types</code> 配列に <code>organic</code> 以外のアイテムタイプが含まれている場合、結果は配列内の最初のアイテムタイプ順に並べられます"
          },
          "limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>返されるアプリの最大数</em><br>任意フィールド<br>デフォルト値：<code>100</code><br>最大値：<code>1000</code>"
          },
          "offset": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>返されるアプリの結果配列内のオフセット</em><br>任意フィールド<br>デフォルト値：<code>0</code><br>値 <code>10</code> を指定すると、結果配列内の最初の 10 個のアプリが省略され、後続のキーワードのデータが提供されます"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ユーザー定義のタスク識別子</em><br>任意フィールド<br><em>文字数上限は 255 です</em><br>このパラメーターを使ってタスクを識別し、結果と照合できます<br>指定した <code>tag</code> の値は、レスポンスの <code>data</code> オブジェクトに含まれます"
          }
        },
        "example": [
          {
            "app_id": "org.telegram.messenger",
            "language_name": "English",
            "location_code": 2840,
            "limit": 10
          }
        ]
      }
    ]
  },
  "example": [
    {
      "app_id": "org.telegram.messenger",
      "language_name": "English",
      "location_code": 2840,
      "limit": 10
    }
  ]
}
```

## Responses

### 200 — 操作成功

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

**application/json**

Schema: object | null

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AppMetricsInfo

`#/components/schemas/Response36Afe1097B20_AppMetricsInfo`

```json
{
  "type": "object",
  "properties": {
    "pos_1": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>商品が #1 にランクインしているオーガニック SERP の数</em>"
    },
    "pos_2_3": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>商品が #2-3 にランクインしているオーガニック SERP の数</em>"
    },
    "pos_4_10": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>商品が #4-10 にランクインしているオーガニック SERP の数</em>"
    },
    "pos_11_100": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>商品が #11-100 にランクインしているオーガニック SERP の数</em>"
    },
    "count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>その商品を含む Amazon オーガニック SERP の総数</em>",
      "format": "int64"
    },
    "search_volume": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>オーガニック SERP における商品のランキングキーワードの総検索量</em>",
      "format": "int64"
    }
  }
}
```

### 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_DataforseoLabsGoogleAppCompetitorsLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleAppCompetitorsLiveResponseInfo`

```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_DataforseoLabsGoogleAppCompetitorsLiveTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DataforseoLabsGoogleAppCompetitorsLiveResultInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleAppCompetitorsLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>検索エンジンの種類</em>"
    },
    "app_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内のアプリの ID</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 配列内のロケーションコード</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内の言語コード</em>"
    },
    "total_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>当社データベース内のリクエストに関連する結果の総数</em>",
      "format": "int64"
    },
    "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_DataforseoLabsleAppCompetitorsLiveItem"
          }
        ]
      },
      "description": "<em><code>app_id</code> と競合アプリに関連するデータを含みます</em>"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleAppCompetitorsLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleAppCompetitorsLiveTaskInfo`

```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_DataforseoLabsGoogleAppCompetitorsLiveResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DataforseoLabsleAppCompetitorsLiveItem

`#/components/schemas/Response36Afe1097B20_DataforseoLabsleAppCompetitorsLiveItem`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>検索エンジンの種類</em>"
    },
    "app_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内のアプリの ID</em>"
    },
    "avg_position": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>Google Play SERP におけるアプリの平均位置</em><br><strong>注意:</strong> 平均位置はインターセクションのキーワードのみを対象に計算されます<br>特定のアプリの値は、組み合わせるターゲットアプリが異なると変わる場合があります",
      "format": "float"
    },
    "sum_position": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>Google Play SERP におけるアプリの全位置の合計</em><br><strong>注意:</strong> 合計位置はインターセクションのキーワードのみを対象に計算されます<br>特定のアプリの値は、組み合わせるターゲットアプリが異なると変わる場合があります"
    },
    "intersections": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>インターセクションのキーワード数</em>"
    },
    "competitor_metrics": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "$ref": "#/components/schemas/Response36Afe1097B20_AppMetricsInfo"
      },
      "description": "<em>インターセクションのキーワードの指標</em><br>POST リクエストで指定した競合アプリが対象アプリと共有するキーワードに関連するランキングデータ<br><strong>注意:</strong> この配列のランキングデータは、返された競合他社の <code>app_id</code> に対するものです"
    },
    "full_metrics": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "$ref": "#/components/schemas/Response36Afe1097B20_AppMetricsInfo"
      },
      "description": "<em>アプリのすべてのキーワードの指標</em><br>指定した <code>app_id</code> がランクインしているすべてのキーワードに関連するランキングデータの全体像"
    }
  }
}
```
