# কিওয়ার্ড ডেনসিটি

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/on_page/keyword_density`

**Tags:** DataForSEO

পুরো ক্রলে শব্দ ও বাক্যাংশের ফ্রিকোয়েন্সি, যেখানে `keyword_length` n-gram-এর আকার বেছে নেয়। `total_items_count`, `items_count` ও `items` ফেরত দেয়। এটি সম্পন্ন হওয়া ক্রল থেকে পড়ে, তাই `post_dataforseo_on_page_submit` থেকে পাওয়া `id` দরকার এবং `crawl_progress`-এর সাথে `crawl_status` ফেরত দেয় যাতে থাকে `max_crawl_pages`, `pages_in_queue` ও `pages_crawled` — ছোট ফলাফলে ভরসা করার আগে এগুলো যাচাই করুন, কারণ চলমান ক্রলের রিপোর্ট করার জিনিস কম থাকে। এটি বলে একটি সাইট নিজের সম্পর্কে কী বলে; ওয়েব তার সম্পর্কে কী বলে তা জানতে `post_dataforseo_backlinks_anchors_live` এবং মানুষ কী খোঁজে তা জানতে `post_dataforseo_keywords_gads_search_volume_live` ব্যবহার করুন। 💰 আপস্ট্রিম ফ্রি: সম্পন্ন হওয়া ক্রল কোয়েরি করতে কোনো খরচ নেই, খরচ শুধু ক্রলের নিজেরই।

### মূল্য রেফারেন্স

- মিটারিং: সফল রিকোয়েস্টের নির্দিষ্ট খরচের ভিত্তিতে
- রেফারেন্স রিকোয়েস্ট অনুমান: USD 0.012
- রেফারেন্স গ্রাহক মাল্টিপ্লায়ার: 1.0। নিষ্পত্তিকৃত গ্রাহক অঙ্কে এটি আবার প্রয়োগ করবেন না।

এটি কেবল রেফারেন্স মেটাডেটা; অ্যাকাউন্টের কোটেশন, নিশ্চিত মূল্য বা ব্যয়সীমা নয়। রিসোর্স ক্রেডিট Felo ক্রেডিট নয়। চূড়ান্ত চার্জ Felo-এর বিলিং রেকর্ড অনুযায়ী হয়।

## Related links

- [Task POST](<https://docs.dataforseo.com/v3/on_page/task_post/>)
- [এই লিংকে](<https://docs.dataforseo.com/v3/on_page/filters_and_thresholds/?bash>)

## 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": {
          "id": {
            "type": "string",
            "description": "<em>টাস্কের ID</em><br><strong>আবশ্যক ফিল্ড</strong><br>এই ID আপনি Task POST endpoint-এর response-এ পেতে পারেন<br>উদাহরণ:<br>\"07131248-1535-0216-1000-17384017ad04\""
          },
          "keyword_length": {
            "type": "integer",
            "description": "<em>কিওয়ার্ডের জন্য শব্দের সংখ্যা</em><br><strong>আবশ্যক ফিল্ড</strong><br>সম্ভাব্য মান:<br><code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code>"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>পেজ URL</em><br>ঐচ্ছিক ফিল্ড<br><strong>এখানে কোনো পেজ নির্দিষ্ট না করলে পুরো ওয়েবসাইটের ফলাফল দেওয়া হবে</strong><br>এই ফিল্ড ব্যবহার করলে API response-এ কেবল নির্দিষ্ট পেজের কিওয়ার্ড থাকবে<br>পেজটি অবশ্যই পরম URL দিয়ে নির্দিষ্ট করতে হবে (<code>http://</code> বা <code>https://</code> সহ)"
          },
          "limit": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ফেরত দেওয়া কীওয়ার্ডের সর্বোচ্চ সংখ্যা</em><br>ঐচ্ছিক ফিল্ড<br>ডিফল্ট মান: <code>100</code><br>সর্বোচ্চ মান: <code>1000</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>regex</code>, <code>not_regex</code>, <code>=</code>, <code>&lt;&gt;</code>, <code>in</code>, <code>not_in</code>, <code>like</code>, <code>not_like</code><br>শূন্য বা তার বেশি অক্ষরের যেকোনো স্ট্রিংয়ের সঙ্গে মেলাতে আপনি <code>%</code> অপারেটর ব্যবহার করতে পারেন <code>like</code> ও <code>not_like</code>-এর সঙ্গে<br>উদাহরণ:<br><code>[\"keyword\",\"=\",\"%seo%\"]</code><p><code>[[\"keyword\",\"=\",\"%seo%\"],<br>\"and\",<br>[\"frequency\",\"&lt;\",\"6\"]]</code><p><code>[[\"keyword\",\"not_like\",\"%seo%\"],<br>\"and\",<br>[[\"frequency\",\"&gt;\",\"6\"],\"or\",[\"density\",\"&gt;\",\"0.02\"]]]</code><p>সম্ভাব্য ফিল্টারের সম্পূর্ণ তালিকা এই লিংকে পাওয়া যায়।"
          },
          "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>[\"frequency,desc\"]</code><br><strong>লক্ষ্য করুন, একটি রিকোয়েস্টে আপনি সর্বোচ্চ তিনটি সাজানোর নিয়ম সেট করতে পারেন</strong><br>একাধিক সাজানোর নিয়ম আলাদা করতে আপনাকে কমা ব্যবহার করতে হবে<br>উদাহরণ:<br><code>[\"keyword,asc\",\"frequency,desc\"]</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ব্যবহারকারী-নির্ধারিত টাস্ক আইডেন্টিফায়ার</em><br>ঐচ্ছিক ফিল্ড<br><em>অক্ষরসীমা 255</em><br>এই প্যারামিটার দিয়ে টাস্ক শনাক্ত করে ফলাফলের সঙ্গে মিলিয়ে নিতে পারেন<br>নির্দিষ্ট <code>tag</code> মান response-এর <code>data</code> অবজেক্টে পাবেন"
          }
        },
        "example": [
          {
            "id": "09101923-1535-0216-0000-2389a8854b70",
            "url": "https://dataforseo.com/",
            "keyword_length": 2,
            "filters": [
              "frequency",
              ">",
              5
            ]
          }
        ]
      }
    ]
  },
  "example": [
    {
      "id": "09101923-1535-0216-0000-2389a8854b70",
      "url": "https://dataforseo.com/",
      "keyword_length": 2,
      "filters": [
        "frequency",
        ">",
        5
      ]
    }
  ]
}
```

## Responses

### 200 — সফল অপারেশন

Headers:
- `X-Request-Id` (string) — Felo সাপোর্টে যোগাযোগের সময় অন্তর্ভুক্ত করার জন্য রিকোয়েস্ট আইডেন্টিফায়ার।

**application/json**

Schema: object | null

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

### 400 — রিকোয়েস্ট প্রক্রিয়া করা যায়নি। রিকোয়েস্ট প্যারামিটার যাচাই করুন।

### 401 — একটি বৈধ Felo API key আবশ্যক।

### 402 — বিলিং শর্ত পূরণ না হওয়ায় রিকোয়েস্ট এগোতে পারছে না।

### 403 — অ্যাকাউন্টটিকে এই অপারেশন করার অনুমতি নেই।

### 429 — রিকোয়েস্ট বা ব্যয়ের সীমায় পৌঁছে গেছে।

### 502 — পরিষেবা রিকোয়েস্টটি সম্পন্ন করতে পারেনি।

### 503 — API বা বিলিং পরিষেবা সাময়িকভাবে অনুপলভ্য।

### 504 — রিকোয়েস্ট প্রক্রিয়াকরণের সময় পরিষেবার সময় শেষ হয়ে গেছে।

### default — ত্রুটি রেসপন্স; আপস্ট্রিম passthrough রেসপন্স প্রোভাইডারের ফর্ম্যাট ব্যবহার করতে পারে।

**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সম্পূর্ণ response কোড তালিকা এখানে দেখতে পাবেন"
    },
    "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সম্পূর্ণ response কোড তালিকা এখানে দেখতে পাবেন"
    },
    "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_CrawlStatusInfo

`#/components/schemas/Response36Afe1097B20_CrawlStatusInfo`

```json
{
  "type": "object",
  "properties": {
    "max_crawl_pages": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ক্রল করার সর্বোচ্চ পেজ সংখ্যা\n টাস্ক সেট করার সময় আপনি নির্দিষ্ট করা max_crawl_pages সীমা নির্দেশ করে",
      "format": "int64"
    },
    "pages_in_queue": {
      "type": [
        "integer",
        "null"
      ],
      "description": "এই মুহূর্তে ক্রল কিউতে থাকা পেজের সংখ্যা",
      "format": "int64"
    },
    "pages_crawled": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ক্রল করা পেজের সংখ্যা",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_OnPageKeywordDensityItem

`#/components/schemas/Response36Afe1097B20_OnPageKeywordDensityItem`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ফেরত দেওয়া কিওয়ার্ড</em>"
    },
    "frequency": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>কিওয়ার্ড ফ্রিকোয়েন্সি</em><br>ওয়েবসাইটে (বা আপনি <code>url</code> নির্দিষ্ট করলে ওয়েব পেজে) কিওয়ার্ডটি যতবার উপস্থিত হয়"
    },
    "density": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>কিওয়ার্ড ডেনসিটি</em><br>ওয়েব পেজ বা ওয়েবসাইটে সেট করা <code>keyword_length</code> যুক্ত কিওয়ার্ডের মোট সংখ্যার সঙ্গে <code>frequency</code>-এর অনুপাত হিসেবে গণনা করা হয়"
    }
  }
}
```

### Response36Afe1097B20_OnPageKeywordDensityResponseInfo

`#/components/schemas/Response36Afe1097B20_OnPageKeywordDensityResponseInfo`

```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_OnPageKeywordDensityTaskInfo"
              }
            ]
          },
          "description": "<em>টাস্কের অ্যারে</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_OnPageKeywordDensityResultInfo

`#/components/schemas/Response36Afe1097B20_OnPageKeywordDensityResultInfo`

```json
{
  "type": "object",
  "properties": {
    "crawl_progress": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ক্রলিং সেশনের অবস্থা</em><br>সম্ভাব্য মান: <code>in_progress</code>, <code>finished</code>"
    },
    "crawl_status": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_CrawlStatusInfo"
        }
      ],
      "description": "<em>ক্রলিং সেশনের বিবরণ</em>"
    },
    "total_items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>প্রাসঙ্গিক আইটেমের মোট সংখ্যা</em><br>নির্দিষ্ট ওয়েবসাইট বা ওয়েব পেজে সেট করা <code>keyword_length</code> ও <code>filters</code>-এর সঙ্গে মেলে এমন কিওয়ার্ডের মোট সংখ্যা",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ফলাফল অ্যারেতে আইটেমের সংখ্যা</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_OnPageKeywordDensityItem"
          }
        ]
      },
      "description": "<em>items অ্যারে</em>"
    }
  }
}
```

### Response36Afe1097B20_OnPageKeywordDensityTaskInfo

`#/components/schemas/Response36Afe1097B20_OnPageKeywordDensityTaskInfo`

```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_OnPageKeywordDensityResultInfo"
              }
            ]
          },
          "description": "<em>ফলাফলের অ্যারে</em>"
        }
      }
    }
  ]
}
```
