# OnPage API মাইক্রোডেটা

**API:** Data API

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

**Tags:** DataForSEO

একটি ক্রল করা `url`-এর স্ট্রাকচার্ড ডেটা যাচাই করে। এটি সম্পন্ন হওয়া ক্রল থেকে পড়ে, তাই `post_dataforseo_on_page_submit` থেকে পাওয়া `id` দরকার এবং `crawl_progress`-এর সাথে `crawl_status` ফেরত দেয় যাতে থাকে `max_crawl_pages`, `pages_in_queue` ও `pages_crawled` — ছোট ফলাফলে ভরসা করার আগে এগুলো যাচাই করুন, কারণ চলমান ক্রলের রিপোর্ট করার জিনিস কম থাকে। ⚠️ পেজটি অবশ্যই ক্রলের অংশ হতে হবে: যে URL ছিল না তা চাইলে HTTP 200-এর ভেতরে `status_code` 40406 ও `Requested page was not submitted for crawling` আসে। চাওয়া পেজটি অনুপস্থিত থাকলে `max_crawl_pages` বাড়ান বা submit কলে `start_url` সেট করুন। 💰 আপস্ট্রিম ফ্রি: সম্পন্ন হওয়া ক্রল কোয়েরি করতে কোনো খরচ নেই, খরচ শুধু ক্রলের নিজেরই।

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

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

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

## Related links

- [Task POST](<https://docs.dataforseo.com/v3/on_page/task_post/>)
- [Pages](<https://docs.dataforseo.com/v3/on_page/pages/>)
- [schema.org](<https://schema.org/docs/full.html>)

## 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><code>\"07131248-1535-0216-1000-17384017ad04\"</code>"
          },
          "url": {
            "type": "string",
            "description": "<em>রিসোর্স URL</em><br><strong>আবশ্যক ফিল্ড</strong><br>এই URL আপনি Pages endpoint-এর response-এ পেতে পারেন<br>উদাহরণ:<br><code>https://dataforseo.com/apis</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ব্যবহারকারী-নির্ধারিত টাস্ক আইডেন্টিফায়ার</em><br>ঐচ্ছিক ফিল্ড<br><em>অক্ষরসীমা 255</em><br>এই প্যারামিটার দিয়ে টাস্ক শনাক্ত করে ফলাফলের সঙ্গে মিলিয়ে নিতে পারেন<br>নির্দিষ্ট <code>tag</code> মান response-এর <code>data</code> অবজেক্টে পাবেন"
          }
        },
        "example": [
          {
            "id": "02241700-1535-0216-0000-034137259bc1",
            "url": "https://dataforseo.com/apis"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "id": "02241700-1535-0216-0000-034137259bc1",
      "url": "https://dataforseo.com/apis"
    }
  ]
}
```

## Responses

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

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

**application/json**

Schema: object | null

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

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

`#/components/schemas/Response36Afe1097B20_MessageInfo`

```json
{
  "type": "object",
  "properties": {
    "level": {
      "type": [
        "string",
        "null"
      ],
      "description": "ত্রুটির স্তর\nনিম্নলিখিত মান নিতে পারে: fatal, error, warning, info"
    },
    "message": {
      "type": [
        "string",
        "null"
      ],
      "description": "ত্রুটির সঙ্গে সম্পর্কিত বার্তা\nশনাক্ত করা ত্রুটির বিবরণ প্রদানকারী বার্তা"
    }
  }
}
```

### Response36Afe1097B20_MicrodataFieldsInfo

`#/components/schemas/Response36Afe1097B20_MicrodataFieldsInfo`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ফিল্ডের নাম</em><br>ডেটা ফিল্ডের নাম"
    },
    "types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "মাইক্রোডেটা ধরনের তালিকা"
    },
    "value": {
      "type": [
        "string",
        "null"
      ],
      "description": "মাইক্রোডেটার মান\nলক্ষ্য ওয়েব পৃষ্ঠায় নির্দিষ্ট করা মাইক্রোডেটার মান"
    },
    "test_results": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_MessageInfo"
        }
      ],
      "description": "<em>মাইক্রোডেটা যাচাই পরীক্ষার ফলাফল</em><br>শনাক্ত করা ত্রুটি ও সংশ্লিষ্ট বার্তাসহ সাব-টাইপ মাইক্রোডেটা পরীক্ষার ফলাফল"
    },
    "fields": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_MicrodataFieldsInfo"
          }
        ]
      },
      "description": "<em>মাইক্রোডেটা ফিল্ড</em><br>নির্দিষ্ট মাইক্রোডেটা ধরনের সঙ্গে সম্পর্কিত ডেটা ফিল্ডসহ অবজেক্টের অ্যারে"
    }
  }
}
```

### Response36Afe1097B20_MicrodataInspectionInfo

`#/components/schemas/Response36Afe1097B20_MicrodataInspectionInfo`

```json
{
  "type": "object",
  "properties": {
    "types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>মূল মাইক্রোডেটা ধরন</em><br>উপলব্ধ ধরনের সম্পূর্ণ তালিকার জন্য schema.org দেখুন"
    },
    "fields": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_MicrodataFieldsInfo"
          }
        ]
      },
      "description": "<em>মাইক্রোডেটা ফিল্ড</em><br>নির্দিষ্ট মাইক্রোডেটা ধরনের সঙ্গে সম্পর্কিত ডেটা ফিল্ডসহ অবজেক্টের অ্যারে"
    }
  }
}
```

### Response36Afe1097B20_OnPageMicrodataInfoItem

`#/components/schemas/Response36Afe1097B20_OnPageMicrodataInfoItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "এলিমেন্টের ধরন"
    },
    "inspection_info": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_MicrodataInspectionInfo"
        }
      ],
      "description": "<em>মাইক্রোডেটা যাচাইয়ের সঙ্গে সম্পর্কিত তথ্য</em>"
    }
  }
}
```

### Response36Afe1097B20_OnPageMicrodataResponseInfo

`#/components/schemas/Response36Afe1097B20_OnPageMicrodataResponseInfo`

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

### Response36Afe1097B20_OnPageMicrodataResultInfo

`#/components/schemas/Response36Afe1097B20_OnPageMicrodataResultInfo`

```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>"
    },
    "test_summary": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_TestSummary"
        }
      ],
      "description": "<em>মাইক্রোডেটা যাচাই পরীক্ষার ফলাফল</em>"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ফলাফল অ্যারেতে আইটেমের সংখ্যা</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_OnPageMicrodataInfoItem"
          }
        ]
      },
      "description": "<em>items অ্যারে</em>"
    }
  }
}
```

### Response36Afe1097B20_OnPageMicrodataTaskInfo

`#/components/schemas/Response36Afe1097B20_OnPageMicrodataTaskInfo`

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

### Response36Afe1097B20_TestSummary

`#/components/schemas/Response36Afe1097B20_TestSummary`

```json
{
  "type": "object",
  "properties": {
    "fatal": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>মারাত্মক মাইক্রোডেটা ত্রুটির সংখ্যা</em>"
    },
    "error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>গুরুতর মাইক্রোডেটা ত্রুটির সংখ্যা</em>"
    },
    "warning": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>মাইক্রোডেটা সতর্কতার সংখ্যা</em>"
    },
    "info": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>মাইক্রোডেটা তথ্য ফ্ল্যাগের সংখ্যা</em>"
    }
  }
}
```
