Trustpilot
Trustpilot Review API
One Trustpilot review by its id: rating, title, full text, language, published and experience dates, verification source and level, the reviewer's public profile summary, the business reply if there is one, and the business the review is about. Costs 2 credits per request.
POST/api/v1/trustpilot/review
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonreview_idstringrequiredThe 24-character review id, as returned in review_id by the Business or Reviews endpoint.
Example: 6aca2504b52cc4b518bf4b75
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.trustpilot.review("6aca2504b52cc4b518bf4b75")
review, business = res["data"]["review"], res["data"]["business"]
print(business["name"], review["rating"], review["verification_level"])
print(review["text"])
print(review["reply"]["text"] if review["reply"] else "no reply")Response
},
"response_time": 2847
}