Skip to main content

Scenario

You know your own TrustScore — but how does it compare to competitors? Trustpilot lets you look up any business domain. You pull TrustScores for your competitors, compare distributions, and use Mave to analyze where you win and lose in the court of public opinion. Flow: Trustpilot GET /business-units/find?name={domain} (per competitor) → Compare scores → Mavera POST /mave/chat → Competitive positioning

Code

Example Output

Error Handling

If a competitor isn’t on Trustpilot, GET /business-units/find returns 404. Skip gracefully and note the gap.
You can read public reviews for any business via the API. No special permissions needed beyond the API key.