# Setting Business Data Tripadvisor Reviews Tasks

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/business_data/tripadvisor/reviews/task_post`

**Tags:** DataForSEO

Queues Tripadvisor reviews for one property, returning a task `id`. Wrapped in DataForSEO's envelope: data in `tasks[0].result`, outcome in `tasks[0].status_code` - a rejected request still returns HTTP 200. Retrieve with `get_dataforseo_business_tripadvisor_reviews_fetch`; the Trustpilot equivalent is `post_dataforseo_business_trustpilot_reviews_submit`.

### Pricing reference

- Metering: Reported response cost.
- Reference request estimate: USD 0.2428.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## 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": {
          "url_path": {
            "type": "string",
            "description": "<em>URL path of the business entity</em><br><strong>required field if you do not specify <code>keyword</code></strong><br>URL path to the Tripadvisor page of the business entity;<br>examples:<br><code>Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html</code><br><code>https://www.tripadvisor.com/Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html</code>"
          },
          "keyword": {
            "type": "string",
            "description": "<em>keyword</em><br><strong>required field if you do not specify <code>url_path</code></strong><br>the keyword you specify should indicate a name of an existing business or prominent place on Tripadvisor;<br>you can specify up to 700 characters in the <code>keyword</code> filed;<br>all %## will be decoded (plus character ‘+’ will be decoded to a space character);<br>if you need to use the “%” character for your <code>keyword</code>, please specify it as “%25”"
          },
          "location_name": {
            "type": "string",
            "description": "<em>full name of search engine location</em><br><strong>required field if you don't specify <code>location_code</code> or <code>url_path</code></strong><br>you can receive the list of available locations with <code>location_name</code> by making a separate request to the <code>https://api.dataforseo.com/v3/business_data/tripadvisor/locations</code><br>example:<br><code class=\"long-string\">London,England,United Kingdom</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>search engine location code</em><br><strong>required field if you don't specify <code>location_name</code> or <code>url_path</code></strong><br>you can receive the list of available locations with <code>location_code</code> by making a separate request to the <code>https://api.dataforseo.com/v3/business_data/tripadvisor/locations</code><br>example:<br><code class=\"long-string\">1003854</code>"
          },
          "priority": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>task priority</em><br>optional field<br>can take the following values:<br>1 – normal execution priority (set by default)<br>2 – high execution priorityYou will be additionally charged for the tasks with high execution priority.<br>The cost can be calculated on the <a title=\"Pricing\" href=\"https://dataforseo.com/pricing/business-data/business-data-api-tripadvisor-pricing\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing</a> page."
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>full name of search engine language</em><br>optional field<br><strong>if you use this field, your account will be charged for one extra request</strong><br>you can receive the list of available languages with <code>language_name</code> by making a separate request to the <code>https://api.dataforseo.com/v3/business_data/tripadvisor/languages</code><br>example:<br><code class=\"long-string\">English</code><br>You will be additionally charged for setting a language parameter in this endpoint.<br>The cost can be calculated on the <a title=\"Pricing\" href=\"https://dataforseo.com/pricing/business-data/business-data-api-tripadvisor-pricing\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing</a> page."
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>search engine language code</em><br>optional field<br><strong>if you use this field, your account will be charged for one extra request</strong><br>you can receive the list of available languages with <code>language_code</code> by making a separate request to the <code>https://api.dataforseo.com/v3/business_data/tripadvisor/languages</code><br>example:<em><br></em><code class=\"long-string\">en</code><br>You will be additionally charged for setting a language parameter in this endpoint.<br>The cost can be calculated on the <a title=\"Pricing\" href=\"https://dataforseo.com/pricing/business-data/business-data-api-tripadvisor-pricing\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing</a> page."
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>parsing depth</em><br>optional field<br>number of reviews in SERP;<br>we strongly recommend setting the parsing depth in the multiples of ten, because our systems processes ten reviews in a row;<br>default value: <code>10</code>;<br>max value: <code>4490</code><br><strong>Your account will be billed per each SERP containing up to 10 results;</strong> <br>Setting depth above 10 may result in additional charges if the search engine returns more than 10 results</a>;<br>The cost can be calculated on the <a title=\"Pricing\" href=\"https://dataforseo.com/pricing/business-data/business-data-api-tripadvisor-pricing\" target=\"_blank\" rel=\"noopener noreferrer\">Pricing</a> page."
          },
          "ratings": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>Tripadvisor traveler rating for a place of interest</em><br>optional field<br>rating based on the written reviews by a traveler after they visited a place.<br>possible values: <code>excellent</code>, <code>very_good</code>, <code>average</code>, <code>poor</code>, <code>terrible</code><br>you can specify several values at once"
          },
          "visit_type": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>filter by type of travelers who left a review</em><br>optional field<br>possible values: <code>families</code>, <code>couples</code>, <code>solo</code>, <code>business</code>, <code>friends</code><br>you can specify several values at once"
          },
          "months": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>filter by months when a traveler made a visit</em><br>optional field<br>possible values: <code>january</code>, <code>february</code>, <code>march</code>, <code>april</code>, <code>may</code>, <code>april</code>, <code>june</code>, <code>july</code>, <code>august</code>, <code>september</code>, <code>october</code>, <code>november</code>, <code>december</code><br>you can specify several values at once"
          },
          "sort_by": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>results sorting parameters</em><br>optional field<br>you can use this field to sort the results;<br>possible types of sorting:<br><code>most_recent</code><br><code>detailed_reviews</code>"
          },
          "translate_reviews": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>translate reviews according to the URL path</em><br>optional field<br>if set to <code>true</code>, returned reviews will be translated to the language matching the specified <code>url_path</code>;<br>for example, if <code>url_path</code> contains <code>tripadvisor.it</code> and <code>translate_reviews</code> is <code>true</code>, reviews will be translated to the Italian language;<br>default value: <code>true</code><br>you can learn more about how reviews are translated in <a href=\"https://dataforseo.com/help-center/how-to-translate-reviews-in-tripadvisor-business-data-api\" rel=\"noopener noreferrer\" target=\"_blank\">this Help Center article</a>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>user-defined task identifier</em><br>optional field<br><em>the character limit is 255</em><br>you can use this parameter to identify the task and match it with the result<br>you will find the specified <code>tag</code> value in the <code>data</code> object of the response"
          },
          "postback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>URL for sending task results</em><br>optional field<br>once the task is completed, we will send a POST request with its results compressed in the <code>gzip</code> format to the <code>postback_url</code> you specified<br>you can use the ‘$id’ string as a <code>$id</code> variable and ‘$tag’ as urlencoded <code>$tag</code> variable. We will set the necessary values before sending the request.<br>example:<br><code>http://your-server.com/postbackscript?id=$id</code><br><code>http://your-server.com/postbackscript?id=$id&amp;tag=$tag</code><br><strong>Note:</strong> special characters in <code>postback_url</code> will be urlencoded;<br>i.a., the <code>#</code> character will be encoded into <code>%23</code><p>learn more on our <a href=\"https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api\" target=\"_blank\" rel=\"noopener noreferrer\">Help Center</a>"
          },
          "pingback_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>notification URL of a completed task</em><br>optional field<br>when a task is completed we will notify you by GET request sent to the URL you have specified<br>you can use the ‘$id’ string as a <code>$id</code> variable and ‘$tag’ as urlencoded <code>$tag</code> variable. We will set the necessary values before sending the request.<br>example:<br><code>http://your-server.com/pingscript?id=$id</code><br><code>http://your-server.com/pingscript?id=$id&amp;tag=$tag</code><br><strong>Note:</strong> special characters in <code>pingback_url</code> will be urlencoded;<br>i.a., the <code>#</code> character will be encoded into <code>%23</code><p>learn more on our <a href=\"https://dataforseo.com/help-center/pingbacks-postbacks-with-dataforseo-api\" target=\"_blank\" rel=\"noopener noreferrer\">Help Center</a>"
          }
        },
        "example": [
          {
            "url_path": "Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html",
            "location_code": 1003854,
            "pingback_url": "https://your-server.com/pingback.php?id=$id&tag=$tag",
            "tag": "some_string_123"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "url_path": "Hotel_Review-g60763-d23462501-Reviews-Margaritaville_Times_Square-New_York_City_New_York.html",
      "location_code": 1003854,
      "pingback_url": "https://your-server.com/pingback.php?id=$id&tag=$tag",
      "tag": "some_string_123"
    }
  ]
}
```

## Responses

### 200 — Successful operation

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: object | null

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

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "the current version of the API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "general status code\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "general informational message\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "total execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "the number of tasks in the tasks array returned with an error",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "task identifier\nunique task identifier in our system in the UUID format"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "status code of the task\ngenerated by DataForSEO, can be within the following range: 10000-60000\nyou can find the full list of the response codes here"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "informational message of the task\nyou can find the full list of general informational messages here"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "execution time, seconds"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total tasks cost, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "number of elements in the result array",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL path"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "contains the same parameters that you specified in the POST request"
    }
  }
}
```

### Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskPostResponseInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskPostResponseInfo`

```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_BusinessDataTripadvisorReviewsTaskPostTaskInfo"
              }
            ]
          },
          "description": "<em>array of tasks</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskPostTaskInfo

`#/components/schemas/Response36Afe1097B20_BusinessDataTripadvisorReviewsTaskPostTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "object",
            "null"
          ],
          "description": "<em>array of results</em><br>in this case, the value will be <code>null</code>"
        }
      }
    }
  ]
}
```
