Travel Review Sentiment Checker

Parses the Travel/Hospitality product review and provides its sentiment with a score between 0-100%.

Parses the Travel/Hospitality product review and provides its sentiment (POSITIVE/NEGATIVE/NEUTRAL) with a score between 0-100%.

Ideal for developers working on travel platforms, review aggregators, or customer feedback systems. It automates the analysis of travel reviews, helping businesses understand customer experiences and improve their services. Use cases include generating sentiment reports, enhancing travel recommendations, and improving customer satisfaction by addressing negative feedback.

Great for sentiment report processing for any online travel agency.

AI jobs involve two key steps:

  1. Submitting the AI job: Initiating the process by sending the job request.
  2. Monitoring and receiving results: Continuously checking the job status and obtaining the final output upon successful completion.


SharpAPI SOC 2 Type II

SharpAPI is now SOC 2 Type II compliant. You can check details at our Trust Center Portal.

Your data is your data. Learn how we protect it and comply with global privacy standards in our Data Handling and Compliance policy .

Step 1. Submit the AI Job request

Endpoint: POST - /api/v1/tth/review_sentiment

Attribute Type Mandatory Description
content String Yes Provide Review text to analyze the sentiment.

REQUEST EXAMPLE:

{
  "content": "We had a great stay at the Jen Orchard!! Super comfortable rooms and beds. The delicious and extensive breakfast buffet is absolutely worth it as well. The pool is really cool and offers amazing views. We didn't get to enjoy it as much as we wanted due to thunderstorms, but you can even stay here if you have a late flight, which we had. The changing rooms have free lockers that easily fit your hand luggage and there are showers to freshen up and change before leaving for the airport. Location is perfect, right above an MRT station. Staff is really friendly. Would definitely stay here again when in Singapore."
}

RESPONSE EXAMPLE:

{
  "status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
  "job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}

Step 2. Monitor & Fetch AI Job Results

Endpoint: GET - /api/v1/tth/review_sentiment/job/status/:uuid

An endpoint is used to check on the progress of the requested API job.

RESULT EXAMPLE:

{
    "data": {
        "type": "api_job_result",
        "id": "065c36a4-56a8-4af0-bb2b-5a62ae67d404",
        "attributes": {
            "status": "success",
            "type": "tth_review_sentiment",
            "result": {
                "opinion": "POSITIVE",
                "score": 95,
                "emotion": "delight",
                "urgency": "none",
                "topics": [
                    {
                        "topic": "room_comfort",
                        "sentiment": "positive",
                        "mention_count": 2
                    },
                    {
                        "topic": "breakfast_buffet",
                        "sentiment": "positive",
                        "mention_count": 1
                    },
                    {
                        "topic": "pool",
                        "sentiment": "positive",
                        "mention_count": 1
                    },
                    {
                        "topic": "location",
                        "sentiment": "positive",
                        "mention_count": 1
                    },
                    {
                        "topic": "staff_friendliness",
                        "sentiment": "positive",
                        "mention_count": 1
                    }
                ],
                "loyalty_signal": "promoter",
                "recommended_action": "highlight_positive",
                "language": "en",
                "travel_category": "accommodation"
            }
        }
    }
}