# دریافت نتایج نظرات Tripadvisor بر اساس id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/business_data/tripadvisor/reviews/task_get/{id}`

**Tags:** DataForSEO

نظرات صف‌شده Tripadvisor را برای یک اقامتگاه بر اساس `id` بازیابی می‌کند. پاسخ در پاکت DataForSEO قرار می‌گیرد: داده‌ها در `tasks[0].result` و نتیجه در `tasks[0].status_code` — درخواست ردشده نیز همچنان HTTP 200 برمی‌گرداند. ⚠️ اندازه با depth که هنگام ارسال تعیین می‌شود مقیاس می‌گیرد و هنگام واکشی قابل محدود کردن نیست.

### مرجع قیمت‌گذاری

- اندازه‌گیری: هزینه گزارش‌شده پاسخ.
- برآورد درخواست مرجع: 0.012 دلار آمریکا.
- ضریب مشتری مرجع: 1.0. آن را دوباره روی مبلغ تسویه‌شده مشتری اعمال نکنید.

فقط فراداده مرجع است، نه نقل‌قول حساب، نه قیمت تضمین‌شده و نه سقف هزینه. اعتبار منابع، اعتبار Felo نیست. هزینه‌های نهایی تابع سوابق صورت‌حساب Felo است.

## Related links

- [UUID](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>شناسه وظیفه</em><br><strong>شناسه وظیفه یکتا در سیستم ما با قالب UUID</strong><br>می‌توانید تا <strong>30 روز</strong> از آن برای درخواست نتایج وظیفه در هر زمان استفاده کنید |

## Responses

### 200 — عملیات موفق

Headers:
- `X-Request-Id` (string) — شناسه درخواست برای درج هنگام تماس با پشتیبانی Felo.

**application/json**

Schema: object | null

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

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

`#/components/schemas/Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskGetResponseInfo`

```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_BusinessDataTripadvisorReviewsTaskGetTaskInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از وظایف</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskGetResultInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskGetResultInfo`

```json
{
  "type": "object",
  "properties": {
    "url_path": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>مسیر URL دریافت‌شده در آرایه POST</em>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>دامنه موتور جستجو در آرایه POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نشانی URL مستقیم نتایج موتور جستجو</em><br>می‌توانید از آن استفاده کنید تا مطمئن شوید نتایج دقیقی ارائه کرده‌ایم"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>تاریخ و زمانی که نتیجه دریافت شده است</em><br>در قالب UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>مثال:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>عنوان عنصر «reviews» در SERP</em><br>نام مؤسسه محلی که نظرات برای آن جمع‌آوری می‌شوند"
    },
    "location": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>موقعیت مؤسسه محلی</em><br>نشانی مؤسسه محلی که نظرات برای آن جمع‌آوری می‌شوند"
    },
    "reviews_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>تعداد کل نظرات</em>",
      "format": "int64"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingInfo"
        }
      ],
      "description": "<em>امتیاز مؤسسه محلی مربوطه</em><br>نرخ محبوبیت بر اساس نظرات که در SERP نمایش داده می‌شود"
    },
    "rating_distribution": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "integer",
          "null"
        ],
        "format": "Int64"
      },
      "description": "<em>توزیع امتیاز بر اساس رأی‌ها</em><br>توزیع رأی‌ها در امتیاز در بازه 1 تا 5"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>تعداد آیتم‌های نظرات در آرایه نتایج</em><br>می‌توانید با استفاده از پارامتر <code>depth</code> هنگام تنظیم وظیفه نتایج بیشتری دریافت کنید",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_TripadvisorReviewSearch"
          }
        ]
      },
      "description": "<em>نظرات یافت‌شده</em><br>برای دریافت نتایج بیشتر می‌توانید هنگام تنظیم وظیفه از پارامتر <code>depth</code> استفاده کنید"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "کد زبان در آرایه POST"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskGetTaskInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskGetTaskInfo`

```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_BusinessDataTripadvisorReviewsTaskGetResultInfo"
              }
            ]
          },
          "description": "<em>آرایه‌ای از نتایج</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataUserProfileInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataUserProfileInfo`

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "reviews_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>تعداد کل نظرات ارسال‌شده توسط بازبین</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_ImageUrlInfo

`#/components/schemas/Response36Afe1097B20_ImageUrlInfo`

```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نشانی URL تصویر استفاده‌شده در نظر</em>"
    }
  }
}
```

### Response36Afe1097B20_RatingInfo

`#/components/schemas/Response36Afe1097B20_RatingInfo`

```json
{
  "properties": {
    "rating_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع امتیاز\nاینجا می‌توانید عناصر زیر را بیابید: Max5، Percents، CustomMax"
    },
    "value": {
      "type": [
        "number",
        "null"
      ],
      "description": "مقدار امتیاز",
      "format": "double"
    },
    "votes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "میزان بازخورد",
      "format": "int64"
    },
    "rating_max": {
      "type": [
        "integer",
        "null"
      ],
      "description": "حداکثر مقدار یک rating_type"
    }
  }
}
```

### Response36Afe1097B20_ReviewResponseItemInfo

`#/components/schemas/Response36Afe1097B20_ReviewResponseItemInfo`

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "عنوان پاسخ"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "محتوای پاسخ"
    },
    "timestamp": {
      "type": [
        "string",
        "null"
      ],
      "description": "زمان انتشار"
    }
  }
}
```

### Response36Afe1097B20_TripadvisorReviewSearch

`#/components/schemas/Response36Afe1097B20_TripadvisorReviewSearch`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "نوع عنصر"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>موقعیت در یک گروه از عناصر با مقادیر <code>type</code> یکسان</em><br>موقعیت عناصر با مقادیر <code>type</code> متفاوت از <code>rank_group</code> حذف می‌شود"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>رتبه مطلق در میان همه نظرات فهرست‌شده</em><br>موقعیت مطلق در میان همه نظرات فهرست"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>تراز نظر در SERP</em><br>می‌تواند مقادیر زیر را داشته باشد: <code>right</code>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>نشانی URL نظر</em>"
    },
    "rating": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RatingInfo"
        }
      ],
      "description": "<em>امتیاز رتبه‌بندی ارسال‌شده توسط بازبین</em>"
    },
    "date_of_visit": {
      "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>"
    },
    "timestamp": {
      "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>"
    },
    "review_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>شناسه نظر</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>عنوان نظر</em>"
    },
    "review_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>محتوای نظر</em>"
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>زبان متن نظر</em>"
    },
    "original_language": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>زبان متن نظر ترجمه‌نشده</em>"
    },
    "review_images": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ImageUrlInfo"
          }
        ]
      },
      "description": "<em>حاوی نشانی‌های URL تصاویر استفاده‌شده در نظر است</em>"
    },
    "user_profile": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BusinessDataUserProfileInfo"
        }
      ],
      "description": "<em>اطلاعات نمایه بازبین</em>"
    },
    "responses": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_ReviewResponseItemInfo"
          }
        ]
      },
      "description": "<em>حاوی اطلاعاتی درباره پاسخ مالک است</em>"
    },
    "review_highlights": {
      "type": [
        "object",
        "null"
      ],
      "description": "<em>نکات برجسته نظر</em><br>حاوی معیارها و ارزیابی‌های برجسته‌شده نظر است"
    }
  }
}
```
