# صعوبة الكلمات المفتاحية المجمّعة

**API:** Data API

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

**Tags:** DataForSEO

درجات الصعوبة لكلمات `keywords` كثيرة في استدعاء واحد. يعيد `se_type` و`total_count` و`items_count` و`items`. لا يقبل هذا الإجراء معامل حد أقصى، لكنه يُسعَّر لكل استدعاء لا لكل عنصر، لذا أرسل القائمة كاملة دفعة واحدة. الاستجابة مغلّفة في غلاف DataForSEO: البيانات في `tasks[0].result`، والنتيجة في `tasks[0].status_code` — ولا يزال الطلب المرفوض يعيد HTTP 200. السعر لكل استدعاء لا لكل كلمة مفتاحية، لذا أرسل القائمة كاملة. للصورة الكاملة على عدد أقل من الكلمات المفتاحية استخدم `post_dataforseo_labs_google_keyword_overview_live`.

### مرجع التسعير

- القياس: تكلفة الاستجابة المُبلَّغ عنها.
- تقدير الطلب المرجعي: 0.0734 دولار أمريكي.
- مضاعف العميل المرجعي: 1.0. لا تُطبّقه مرة أخرى على مبلغ عميل مسوّى.

بيانات وصفية مرجعية فقط، وليست عرض سعر للحساب ولا سعرًا مضمونًا ولا حدًا للإنفاق. أرصدة الموارد ليست أرصدة Felo. تتبع الرسوم النهائية سجلات فوترة Felo.

## Related links

- [مقال مركز المساعدة](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)
- [دليل مركز المساعدة هذا](<https://dataforseo.com/help-center/what-is-keyword-difficulty-and-how-is-it-calculated>)

## 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": {
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "<em>الكلمات المفتاحية المستهدفة</em><br><strong>حقل مطلوب</strong><br>ترميز UTF-8<br>الحد الأقصى لعدد الكلمات المفتاحية التي يمكنك تحديدها في هذه المصفوفة: 1000<br>ستُحوَّل الكلمات المفتاحية إلى صيغة أحرف صغيرة<p>تعرّف على قواعد وقيود حقلَي <code>keyword</code> و<code>keywords</code> في واجهات DataForSEO API في مقال مركز المساعدة"
          },
          "location_name": {
            "type": "string",
            "description": "<em>الاسم الكامل للموقع</em><br><strong>حقل مطلوب إذا لم تحدد <code>location_code</code></strong><br>يمكنك الحصول على قائمة المواقع المتاحة مع <code>location_name</code> الخاص بها عبر إرسال طلب منفصل إلى <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>مثال:<br><code class=\"long-string\">United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>رمز الموقع</em><br><strong>حقل مطلوب إذا لم تحدد <code>location_name</code></strong><br>يمكنك الحصول على قائمة المواقع المتاحة مع <code>location_code</code> الخاص بها عبر إرسال طلب منفصل إلى <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>مثال:<br><code class=\"long-string\">2840</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>الاسم الكامل للغة</em><br><strong>حقل مطلوب إذا لم تحدد <code>language_code</code></strong><br>يمكنك الحصول على قائمة اللغات المتاحة مع <code>language_name</code> الخاص بها عبر طلب منفصل إلى <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>مثال:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>رمز اللغة</em><br><strong>حقل مطلوب إذا لم تحدد <code>language_name</code></strong><br>يمكنك الحصول على قائمة اللغات المتاحة مع <code>language_code</code> الخاص بها عبر طلب منفصل إلى <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>مثال:<br><code class=\"long-string\">en</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>معرّف مهمة يحدده المستخدم</em><br>حقل اختياري<br><em>الحد الأقصى للأحرف هو 255</em><br>يمكنك استخدام هذا المعامل لتمييز المهمة ومطابقتها مع النتيجة<br>ستجد قيمة <code>tag</code> المحددة في كائن <code>data</code> ضمن الاستجابة"
          }
        },
        "example": [
          {
            "location_code": 2840,
            "language_code": "en",
            "keywords": [
              "dentist new york",
              "pizza brooklyn",
              "car dealer los angeles"
            ]
          }
        ]
      }
    ]
  },
  "example": [
    {
      "location_code": 2840,
      "language_code": "en",
      "keywords": [
        "dentist new york",
        "pizza brooklyn",
        "car dealer los angeles"
      ]
    }
  ]
}
```

## Responses

### 200 — عملية ناجحة

Headers:
- `X-Request-Id` (string) — معرّف الطلب المراد تضمينه عند التواصل مع دعم Felo.

**application/json**

Schema: object | null

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

### 400 — تعذّرت معالجة الطلب. تحقق من معاملات الطلب.

### 401 — مطلوب مفتاح API صالح من Felo.

### 402 — لا يمكن متابعة الطلب لأن أحد متطلبات الفوترة غير مستوفٍ.

### 403 — الحساب غير مصرّح له بهذه العملية.

### 429 — تم بلوغ حد الطلبات أو حد الإنفاق.

### 502 — تعذّر على الخدمة إكمال الطلب.

### 503 — خدمة API أو الفوترة غير متاحة مؤقتًا.

### 504 — انتهت مهلة الخدمة أثناء معالجة الطلب.

### default — استجابة خطأ؛ قد تستخدم استجابات المنبع الممرَّرة تنسيقات المزوّد

**application/json**

Schema:

```json
{}
```

## Schema definitions

### 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": "إجمالي تكلفة المهام، بالدولار الأمريكي",
      "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": "رمز حالة المهمة\nينشئه DataForSEO ويمكن أن يقع ضمن النطاق التالي: 10000-60000\nيمكنك العثور على القائمة الكاملة لرموز الاستجابة هنا"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "الرسالة المعلوماتية للمهمة\nيمكنك العثور على القائمة الكاملة للرسائل المعلوماتية العامة هنا"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "وقت التنفيذ، بالثواني"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "إجمالي تكلفة المهام، بالدولار الأمريكي",
      "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_DataforseoLabsGoogleBulkKeywordDifficultyLiveItem

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveItem`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نوع محرك البحث</em>"
    },
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>الكلمة المفتاحية في مصفوفة POST</em>"
    },
    "keyword_difficulty": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>صعوبة الترتيب ضمن أفضل 10 نتائج عضوية أولى لكلمة مفتاحية</em><br>يشير إلى احتمال الوصول إلى أفضل 10 نتائج عضوية لكلمة مفتاحية على مقياس لوغاريتمي من 0 إلى 100<br>يُحسب من خلال تحليل ملفات الروابط للصفحات العشر الأولى في SERP، إلى جانب معاملات أخرى<br>تعرّف على المزيد حول هذا المقياس في دليل مركز المساعدة هذا"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveResponseInfo`

```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_DataforseoLabsGoogleBulkKeywordDifficultyLiveTaskInfo"
              }
            ]
          },
          "description": "<em>مصفوفة المهام</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveResultInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نوع محرك البحث</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>رمز الموقع في مصفوفة POST</em><br>فإذا لم تكن هناك بيانات، تكون القيمة <code>null</code>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>رمز اللغة في مصفوفة POST</em><br>فإذا لم تكن هناك بيانات، تكون القيمة <code>null</code>"
    },
    "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_DataforseoLabsGoogleBulkKeywordDifficultyLiveItem"
          }
        ]
      },
      "description": "<em>يحتوي على كلمات مفتاحية ودرجات صعوبة الكلمات المفتاحية المرتبطة</em>"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkKeywordDifficultyLiveTaskInfo`

```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_DataforseoLabsGoogleBulkKeywordDifficultyLiveResultInfo"
              }
            ]
          },
          "description": "<em>مصفوفة نتائج</em>"
        }
      }
    }
  ]
}
```
