thredUP
thredUP Categories API
One thredUP department's categories and filter values (women by default), as the inputs of the list endpoints: categories with the tag category takes, other departments, sizes with the sizing id size takes, conditions, colours, materials, patterns and thredUP's price ranges. Costs 1 credit.
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/jsondepartmentenum<string>default:womenDepartment: women, girls, boys, handbags, shoes, designer, plus, juniors, maternity, accessories. thredUP has no men's department.
Example: handbags
Notes
Store. thredUP has one store: thredup.com in English and US dollars (it ships to the US and Canada from it). There is no country param; every price is USD. Each call costs 1 credit.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
c = client.thredup.categories(department="women")["data"]
print([x["category"] for x in c["categories"]])
# size takes ids, not labels:
small = next(s["size"] for s in c["sizes"] if s["label"] == "Sm")
print(client.thredup.category(department="women", category="sweaters", size=[small])["data"]["total"])Response