Depop
Depop Shop Products API
A Depop shop's listings for sale, by username or shop id, 24 a page and paged by cursor to the end of the shop: each listing with the same fields as search plus created_at and updated_at, priced in the seller's listing currency. Use it to read a seller's whole catalogue next to its sold listings. 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
cursorstringnext_cursor of the previous page. Leave out for the first page.
limitintegerdefault:24Listings per page, 1 to 24.
Example: 24
Notes
Markets. shop-products 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)
# Every listing of a shop: 1 credit per page of 24.
items, args = [], {"username": "flomem"}
while True:
page = client.depop.shop_products(**args)["data"]
items += page["items"]
if not page["has_more"]:
break
args["cursor"] = page["next_cursor"]
print(len(items), "listings")Response