> ## Documentation Index
> Fetch the complete documentation index at: https://v3.captaindata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract TripAdvisor Profile

> Extract detailed information from TripAdvisor profile pages for hotels and restaurants.

The "Extract TripAdvisor Profile" action allows you to gather comprehensive data from TripAdvisor profile pages, specifically for hotels and restaurants. This can be useful for aggregating reviews, analyzing ratings, and understanding the competitive landscape in the hospitality and dining sectors.

### Inputs

<ParamField path="tripadvisor_profile_url" type="string" required={true} primary={true}>
  Only compatible with Hotel and Restaurant URLs.
</ParamField>

### Parameters

<Info>No additional parameters are required for this action.</Info>

### Output Fields

The action returns a variety of fields with detailed information about the TripAdvisor profile:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="address" type="string">
      The address of the establishment
    </ResponseField>

    <ResponseField name="amenities" type="array">
      List of available amenities
    </ResponseField>

    <ResponseField name="awards" type="array">
      Awards received by the establishment
    </ResponseField>

    <ResponseField name="breakdown_grade" type="object">
      Detailed breakdown of grades
    </ResponseField>

    <ResponseField name="categories" type="array">
      Categories the establishment belongs to
    </ResponseField>

    <ResponseField name="description" type="string">
      Description of the establishment
    </ResponseField>

    <ResponseField name="details" type="object">
      Additional details about the establishment
    </ResponseField>

    <ResponseField name="email" type="string">
      Contact email of the establishment
    </ResponseField>

    <ResponseField name="grade" type="string">
      Overall grade of the establishment
    </ResponseField>

    <ResponseField name="hidden_amenities" type="array">
      List of hidden amenities
    </ResponseField>

    <ResponseField name="img_urls" type="array">
      URLs of images related to the establishment
    </ResponseField>

    <ResponseField name="name" type="string">
      Name of the establishment
    </ResponseField>

    <ResponseField name="neighborhood" type="string">
      Neighborhood where the establishment is located
    </ResponseField>

    <ResponseField name="number_reviews" type="integer">
      Total number of reviews
    </ResponseField>

    <ResponseField name="open_hours" type="object">
      Opening hours of the establishment
    </ResponseField>

    <ResponseField name="phone" type="string">
      Contact phone number
    </ResponseField>

    <ResponseField name="price_range" type="string">
      Price range of the establishment
    </ResponseField>

    <ResponseField name="providers" type="array">
      List of service providers
    </ResponseField>

    <ResponseField name="ranking" type="string">
      Ranking of the establishment
    </ResponseField>

    <ResponseField name="stars" type="integer">
      Star rating of the establishment
    </ResponseField>

    <ResponseField name="website" type="string">
      Website URL of the establishment
    </ResponseField>
  </Expandable>
</ResponseField>

Below is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
      "address": "string",
      "amenities": "array",
      "awards": "array",
      "breakdown_grade": "object",
      "categories": "array",
      "description": "string",
      "details": "object",
      "email": "string",
      "grade": "string",
      "hidden_amenities": "array",
      "img_urls": "array",
      "name": "string",
      "neighborhood": "string",
      "number_reviews": "integer",
      "open_hours": "object",
      "phone": "string",
      "price_range": "string",
      "providers": "array",
      "ranking": "string",
      "stars": "integer",
      "website": "string"
  }
  ```
</Accordion>

<Note>
  This action is specifically designed for extracting data from TripAdvisor
  hotel and restaurant profiles.
</Note>
