Nexscope

Tripadvisor Reviews

Retrieve up to ten Tripadvisor reviews for a listing path. A language filter changes the request cost.

CostPricing pending
Try online
POST · https://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/runMCP · nexscope_seo_tripadvisor_reviews

What this API does

Retrieve up to ten Tripadvisor reviews for a listing path. A language filter changes the request cost. The request accepts languageCode, locationCode, urlPath. Its documented result includes language, publishedAt, rating, reviewId, text, title, languageCode, locationCode. Generation runs as a task: retain the task ID and retrieve the completed result before using the output.

Tripadvisor Reviews API use cases

Review guest feedback for a place

Use the urlPath returned for the selected venue and preserve each review's text, rating and publication time.

Filter the review language

Set languageCode when a language-specific sample is needed. Treat this as a separate request with its own charge.

Tag repeat themes

Group the returned review text by topic and state the sample size when summarizing issues.

Tripadvisor Reviews API FAQ

What does the Tripadvisor Reviews API return?

Retrieve up to ten Tripadvisor reviews for a listing path. A language filter changes the request cost. The documented output includes language, publishedAt, rating, reviewId, text, title, languageCode, locationCode. It corresponds to the supplied languageCode, locationCode, urlPath. The initial response can contain a task ID and status; the completed task result contains the generated output. Example values illustrate the response shape, rather than live account results.

How many credits does the Tripadvisor Reviews API cost?

A reliable credit estimate is not available for the current example inputs. Check the estimate in Online test after entering your generation settings, and review the pricing page before calling the API. The final charge depends on the request; your API usage records show the actual charge after execution.

How do I call the Tripadvisor Reviews API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_seo_tripadvisor_reviews. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run
MCP method
nexscope_seo_tripadvisor_reviews

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "urlPath": "/Hotel_Review-g60763-d23462501-Reviews-Example.html",
  "locationCode": 1023191
}'

Code example

{
  "urlPath": "/Hotel_Review-g60763-d23462501-Reviews-Example.html",
  "locationCode": 1023191
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ Reviews & Reputation
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/run
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
languageCodestringoptional
Language code value used by this API operation.
Pattern: ^[a-z]{2}$
locationCodeintegerrequired
Location code value used by this API operation.
Minimum: 1
urlPathstringrequired
Url path value used by this API operation.
Minimum length: 1
Maximum length: 256

Response example

Example response envelope from the documented SEO API contract.

{
  "code": 0,
  "msg": null,
  "data": {
    "callId": "00000000-0000-4000-8000-000000000018",
    "schemaVersion": "MDX-F2-443-1.0",
    "status": "SUCCESS",
    "source": "DATAFORSEO",
    "requestedAt": 1795528800000,
    "completedAt": 1795528801000,
    "coverage": {
      "status": "COMPLETE",
      "missing": []
    },
    "usage": {
      "chargedCredits": 10,
      "billingStatus": "CHARGED"
    },
    "result": {
      "source": "DATAFORSEO_TRIPADVISOR_REVIEWS",
      "target": "Hotel_Review-g60763-d23462501-Reviews-Example.html",
      "items": [
        {
          "reviewId": "ta-sample-001",
          "title": "Quiet room",
          "text": "The room was quiet and check-in was quick.",
          "language": "en",
          "rating": 4
        }
      ],
      "missing": [],
      "sampledAt": 1795528800000,
      "locationCode": 1023191,
      "languageCode": null
    }
  },
  "ts": "1795528801000",
  "time": "2026-11-24 21:00:01",
  "cost": "1000",
  "traceId": null
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.

One of option 1 — requires callId, status, result

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.callIdstringrequired
Call id value used by this API operation.
data.completedAtstring | integer | nulloptional
Completed at value used by this API operation.
data.coverageobject | nulloptional
Coverage value used by this API operation.
data.requestedAtstring | integer | nulloptional
Requested at value used by this API operation.
data.resultanyrequired
Result value used by this API operation.
data.schemaVersionstringoptional
Schema version value used by this API operation.
data.sourcestringoptional
Source value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
data.usageobject | nulloptional
Usage value used by this API operation.
data.usage.billingStatusstring | nulloptional
Billing status value used by this API operation.
data.usage.chargedCreditsstring | integer | nulloptional
Charged credits value used by this API operation.

Any of option 1 — requires source, target, items, missing

NameTypeRequiredDescription
data.resultobjectrequired
Result value used by this API operation.
data.result.itemsarrayrequired
Items value used by this API operation.
Maximum items: 10
data.result.items[]objectrequired
Item in data result items.
data.result.items[].languagestringoptional
Language value used by this API operation.
data.result.items[].publishedAtintegeroptional
Published at value used by this API operation.
data.result.items[].ratingnumberoptional
Rating value used by this API operation.
Minimum: 0
Maximum: 5
data.result.items[].reviewIdstringoptional
Review id value used by this API operation.
data.result.items[].textstringoptional
Text value used by this API operation.
data.result.items[].titlestringoptional
Title value used by this API operation.
data.result.languageCodestring | nulloptional
Language code value used by this API operation.
data.result.locationCodeinteger | nulloptional
Location code value used by this API operation.
data.result.missingarrayrequired
Missing value used by this API operation.
data.result.missing[]objectrequired
Item in data result missing.
data.result.missing[].fieldstringoptional
Field value used by this API operation.
data.result.missing[].reasonstringoptional
Reason value used by this API operation.
data.result.sampledAtinteger | nulloptional
Sampled at value used by this API operation.
data.result.sourcestringrequired
Source value used by this API operation.
data.result.targetstringrequired
Target value used by this API operation.

Any of option 2

NameTypeRequiredDescription
data.resultnullrequired
Result value used by this API operation.

One of option 2 — requires callId, status, reason, retryable

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nullrequired
Call id value used by this API operation.
data.reasonstringrequired
Reason value used by this API operation.
data.retryablebooleanrequired
Retryable value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
data.taskIdstring | nulloptional
Task id value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Accepted processing response

code 0 confirms acceptance. Use data.callId to query the same request; processing is not completion.

NameTypeRequiredDescription
codeintegerrequired
0 is a successful envelope; inspect data.status separately.
Constant: 0
coststringrequired
Elapsed processing milliseconds; not price. -1 for non-web context.
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nullrequired
Call id value used by this API operation.
data.reasonstringrequired
Reason value used by this API operation.
Constant: IN_PROGRESS
data.retryablebooleanoptional
Retryable value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
Constant: PROCESSING
data.taskIdstring | nulloptional
Task id value used by this API operation.
msgstring | nullrequired
Available upstream msg/errmsg/message is preferred for success and failure; Chinese is translated to English. Missing successful message is null. Platform-only errors and task states use platform English. Message text never determines success or retry.
timestringrequired
yyyy-MM-dd HH:mm:ss
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds; global long serializer.

Error response

NameTypeRequiredDescription
codeintegerrequired
0 is a successful envelope; inspect data.status separately.
coststringrequired
Elapsed processing milliseconds; not price. -1 for non-web context.
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nullrequired
Call id value used by this API operation.
data.reasonstring | nullrequired
Reason value used by this API operation.
data.retryablebooleanoptional
Retryable value used by this API operation.
data.statusstring | nullrequired
Status value used by this API operation.
data.taskIdstring | nulloptional
Task id value used by this API operation.
msgstring | nullrequired
Available upstream msg/errmsg/message is preferred for success and failure; Chinese is translated to English. Missing successful message is null. Platform-only errors and task states use platform English. Message text never determines success or retry.
timestringrequired
yyyy-MM-dd HH:mm:ss
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds; global long serializer.

Retrieve a processing result

A response withPROCESSING and a callIdmeans the result is still being prepared. Use the result query below with the returned identifier. This lookup reads the stored result and does not spend credits.

curl -X GET https://api.nexscope.ai/api/skill-api/v1/skills/seo-tripadvisor-reviews/calls/{callId} \
  -H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx"

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_seo_tripadvisor_reviews",
    "arguments": {
      "urlPath": "/Hotel_Review-g60763-d23462501-Reviews-Example.html",
      "locationCode": 1023191
    }
  }
}

What can you do with this API?

Data explained and practical use cases

AI Guide

Question

What can I do with the Tripadvisor Reviews API?

AI answer

Retrieve up to ten Tripadvisor reviews for a listing path. A language filter changes the request cost.

  • Review guest feedback for a place. Use the urlPath returned for the selected venue and preserve each review's text, rating and publication time.
  • Filter the review language. Set languageCode when a language-specific sample is needed. Treat this as a separate request with its own charge.
  • Tag repeat themes. Group the returned review text by topic and state the sample size when summarizing issues.

If the run response is PROCESSING, preserve its callId and check the original call for the completed result.

A compatible MCP client can use nexscope_seo_tripadvisor_reviews with the illustrated arguments when the tool is enabled.

The request and response examples use fictional data. Review the actual status and charged credits in your own response.

Data Example

Sample request and response

Related APIs