Depop
Depop Shop Reviews API
The reviews a Depop shop received, by username or shop id: as a seller from its buyers (the default) or as a buyer from sellers, 24 a page: each with its date, star rating, text and the listing it was about (product id and image). Reviewer names are never returned; the shop's review total and average are on shop. Shop data is global. Costs 1 credit per page.
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/jsonusernamestringShop username (depop.com/<username>/; seller.username of product). Send one of username or shop_id.
Example: flomem
shop_idinteger | stringShop id (shop_id of shop, seller.id of product).
Example: 46847613
roleenum<string>default:sellerWhich reviews.
Example: seller
seller— Reviews the shop got as a seller, from its buyers. The default.buyer— Reviews the shop got as a buyer, from sellers.
pageintegerdefault:1Page, 1-based, 24 reviews each, up to 200.
Example: 2
Notes
Markets. shop-reviews is global: a Depop shop, its listings, sold listings and reviews, the category tree and the brand list are one record for every market, so it takes no country. Prices in shop listings are in the seller's listing currency.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=60)
r = client.depop.shop_reviews(username="flomem", role="seller")["data"]
stars = [x["rating"] for x in r["reviews"]]
print(len(stars), "reviews on page 1, average", sum(stars) / len(stars), "has_more", r["has_more"])Response