100 free credits. No credit card required. Get a key

A product’s reviews across marketplaces

A product’s reviews across Amazon, Walmart and Trustpilot, folded into one rating. Metered.

GET /v1/prism/product-reviewsBeta30 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/prism/product-reviews?query=ninja%20air%20fryer",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 30 credits
{
"query": "ninja air fryer",
"ids": {
"asin": "B0FH9LQH9W",
"walmart": "14678059894"
},
"rating": 4.57,
"markets": [
{
"source": "amazon",
"rating": 4.6,
"rating_count": 47230,
"reviews_read": 0,
"reviews": 0,
"rated": 0,
"average": null,
"distribution": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 0
},
"sentiment": {
"positive": 0,
"neutral": 0,
"negative": 0,
"method": "star rating"
},
"praised": [],
"complained": []
},
{
"source": "walmart",
"rating": 4.5,
"rating_count": 20817,
"reviews_read": 10,
"reviews": 10,
"rated": 10,
"average": 4.5,
"distribution": {
"1": 1,
"2": 0,
"3": 0,
"4": 1,
"5": 8
},
"sentiment": {
"positive": 9,
"neutral": 0,
"negative": 1,
"method": "star rating"
},
"praised": [
{
"term": "price",
"count": 3
},
{
"term": "bought",
"count": 2
},
"… 1 more"
],
"complained": []
}
],
"unavailable": [
"google_shopping"
],
"legs": [
{
"key": "amazon_search",
"platform": "amazon",
"endpoint": "amazon.product_search.get",
"status": "ok",
"credits": 1,
"ms": 1,
"error": null
},
{
"key": "walmart_search",
"platform": "walmart",
"endpoint": "walmart.search.all",
"status": "ok",
"credits": 2,
"ms": 0,
"error": null
},
"… 2 more"
],
"credits_used": 8,
"failed": []
}

Parameters

NameTypeDescription
queryquerystringProduct name. Example: ninja air fryer.
asinquerystringAmazon ASIN.
gidquerystringWalmart product id.
brandquerystringBrand, for Trustpilot (its .com).
sourcesquerystring | string[]amazon, walmart, trustpilot.
countryquerystringMarketplace country (default US).
depthquerystringNot used.
competitorsquerystringNot used.
includequerystringreviews: the reviews.
Status codes
StatusMeaning
200Per-marketplace ratings and a blended one.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Nothing was found for that input on any platform.
429Too many requests. Wait for Retry-After seconds.
503Prism 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.