thredUP
thredUP Brands API
thredUP's brand directory per department (women by default): brands matching a term (query), every brand under one letter A-Z (letter, paged with page and limit), or, with neither, the letter groups with 50 brands each. Each brand has its id, name and brand, the exact value the brand, search and sold endpoints take. 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
Send query or letter, not both (or neither for the letter groups).querystringBrands matching a term, 1-60 characters.
Example: coach
letterstringEvery brand under one letter, A-Z (brands starting with a digit or symbol are not offered).
Example: M
departmentenum<string>default:womenDepartment: women, girls, boys, handbags, shoes, designer, plus, juniors, maternity, accessories. thredUP has no men's department.
Example: handbags
pageintegerdefault:1Page of a letter or query answer.
Example: 2
limitintegerdefault:100Brands per page, 1 to 500. With query or letter only.
Example: 500
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)
# Every women's brand under M, 500 a page.
page, names = 1, []
while True:
d = client.thredup.brands(letter="M", limit=500, page=page)["data"]
names += [b["brand"] for b in d["brands"]]
if not d["has_more"]:
break
page += 1
print(len(names))Response