A business's Tripadvisor or Trustpilot reviews
https://seolyticize.com /api/v1/tools/get_platform_reviews Reviews of a business on Tripadvisor (business: its name and town, or a Tripadvisor URL path such as /Restaurant_Review-g…) or Trustpilot (business: its domain), newest first, with the platform's own rating and review count, the star spread over the reviews read, the average and the owner's response rate — for the cross-platform comparison beside Google's reviews (get_business_reviews, sync_local_reviews). Both are queued: the first call (with business) is the paid one and returns a taskId; calling again with the taskId collects it for free (status pending until ready). Answers 'how are we rated on Tripadvisor' and 'what does Trustpilot say about this competitor'. A paid lookup on the client's account unless anyone read the same thing recently; quote it with estimate_cost.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredplatformstringrequiredbusinessstringtaskIdstringdepthintegerlocationCodeintegermaxCostMicrosintegerdryRunboolean{
"clientId": "string",
"platform": "tripadvisor",
"business": null,
"taskId": null,
"depth": 40,
"locationCode": null,
"maxCostMicros": 0,
"dryRun": true
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/get_platform_reviews" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","platform":"tripadvisor","business":null,"taskId":null,"depth":40,"locationCode":null,"maxCostMicros":0,"dryRun":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/get_platform_reviews
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger