A brand’s reputation score
A brand’s reputation blended from Trustpilot, app stores, G2 and Reddit. Metered.
GET /v1/prism/reputationBeta30 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/prism/reputation?brand=notion",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 30 credits{ "brand": "notion", "score": null, "weights": "sqrt(reviews read) per source", "sources": [ { "source": "reddit", "reviews": 0, "score": 50, "sentiment": { "positive": 0, "negative": 0, "neutral": 0, "positive_share": 0, "negative_share": 0, "net": 0, "method": "lexicon" }, "themes": [] } ], "unavailable": [ "google_business" ], "ids": { "app_store_id": null, "google_play_id": null, "trustpilot_domain": "notion.com" }, "legs": [ { "key": "appstore", "platform": "appstore", "endpoint": "appstore.app_search.get", "status": "ok", "credits": 2, "ms": 0, "error": null }, { "key": "googleplay", "platform": "googleplay", "endpoint": "googleplay.app_search.get", "status": "ok", "credits": 2, "ms": 0, "error": null }, "… 2 more" ], "credits_used": 6, "failed": [ "trustpilot" ]}Parameters
| Name | Type | Description |
|---|---|---|
brandquery · required | string | Brand name. Example: notion. |
domainquery | string | Website for Trustpilot (default <brand>.com). |
g2query | string | G2 product link or slug. |
sourcesquery | string | string[] | Default trustpilot, appstore, googleplay, reddit (+ g2 when given). |
app_store_idquery | string | App Store id, e.g. 1232780281. |
google_play_idquery | string | Android package, e.g. notion.id. |
countryquery | string | Store country (default us). |
depthquery | string | Not used. |
placequery | string | Not available (Google Business). |
axisquery | string | Not used. |
includequery | string | Not used. |
Status codes
| Status | Meaning |
|---|---|
200 | A blended score with each source’s numbers. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Nothing was found for that input on any platform. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Prism composites is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How is it charged?
Per platform that answers, at that platform’s own price, up to the ceiling shown. A platform that fails is listed in legs and not charged; if none answers, nothing is.
Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.