{"openapi":"3.1.0","info":{"title":"besot product catalogue API","version":"1.0.1","description":"Query the live resale catalog across the sources we can find, for clothing the people we obsess over designed, founded and inspired. Prices are real listing prices in approx USD (null when the seller stated none). Each listing.url is an affiliate-wrapped buy link to the seller; besot holds no inventory and links out."},"servers":[{"url":"https://thebesot.com/catalogue"}],"paths":{"/facets":{"get":{"operationId":"getFacets","summary":"Distinct filterable values (sizes, conditions, sources, artists, designers, price range)","responses":{"200":{"description":"Facet values"}}}},"/pieces":{"get":{"operationId":"searchPieces","summary":"Search and filter pieces across all collections","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Free text. All words must match, in any order, across piece name, collection, artist, brand, and garment words (British or American: trainers or sneakers, jumper or sweater)."},{"name":"artist","in":"query","schema":{"type":"string"}},{"name":"collection","in":"query","schema":{"type":"string"},"description":"Collection id (exact)"},{"name":"brand","in":"query","schema":{"type":"string"},"description":"Designer/brand"},{"name":"category","in":"query","schema":{"type":"string","enum":["footwear","outerwear","tops","knitwear","hoodies","bottoms","shorts","one-pieces","suits","sets","accessories","eyewear","bags","jewelry","swim-active"]},"description":"Garment category. This is the garment filter, NOT `type`."},{"name":"type","in":"query","schema":{"type":"string","enum":["Collab","Capsule","Own brand"]},"description":"COLLECTION type, not the garment. For a garment use `category`."},{"name":"size","in":"query","schema":{"type":"string"},"description":"Matches a listing size (see /facets)"},{"name":"condition","in":"query","schema":{"type":"string"}},{"name":"source","in":"query","schema":{"type":"string"},"description":"Resale platform"},{"name":"minPrice","in":"query","schema":{"type":"number"}},{"name":"maxPrice","in":"query","schema":{"type":"number"}},{"name":"sort","in":"query","schema":{"type":"string","enum":["price-asc","price-desc","name"]}},{"name":"limit","in":"query","schema":{"type":"integer","default":50,"maximum":200}},{"name":"offset","in":"query","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Matching pieces","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer"},"count":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"pieces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","description":"Canonical besot piece page"},"name":{"type":"string"},"fromPrice":{"type":["number","null"],"description":"Lowest live listed price across indexed sources, approx USD"},"image":{"type":["string","null"]},"collectionId":{"type":"string"},"collectionName":{"type":"string"},"artist":{"type":"string"},"brand":{"type":"string"},"listings":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Resale platform (ebay, grailed, therealreal, vestiaire, poshmark, stockx)"},"price":{"type":["number","null"],"description":"Approx USD, null when the seller stated no price"},"currency":{"type":"string"},"condition":{"type":["string","null"]},"size":{"type":["string","null"]},"color":{"type":["string","null"]},"image":{"type":["string","null"]},"url":{"type":"string","description":"Affiliate-wrapped outbound buy link to the seller. Follow this to purchase."}}}}}}}}}}}}}}},"/pieces/{collectionId}/{pieceId}":{"get":{"operationId":"getPiece","summary":"One piece with all its listings across indexed sources","parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"pieceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Piece","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","description":"Canonical besot piece page"},"name":{"type":"string"},"fromPrice":{"type":["number","null"],"description":"Lowest live listed price across indexed sources, approx USD"},"image":{"type":["string","null"]},"collectionId":{"type":"string"},"collectionName":{"type":"string"},"artist":{"type":"string"},"brand":{"type":"string"},"listings":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Resale platform (ebay, grailed, therealreal, vestiaire, poshmark, stockx)"},"price":{"type":["number","null"],"description":"Approx USD, null when the seller stated no price"},"currency":{"type":"string"},"condition":{"type":["string","null"]},"size":{"type":["string","null"]},"color":{"type":["string","null"]},"image":{"type":["string","null"]},"url":{"type":"string","description":"Affiliate-wrapped outbound buy link to the seller. Follow this to purchase."}}}}}}}}},"404":{"description":"Not found"}}}},"/collections":{"get":{"operationId":"listCollections","summary":"List collections (summaries)","parameters":[{"name":"artist","in":"query","schema":{"type":"string"}},{"name":"type","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Collections"}}}},"/collections/{id}":{"get":{"operationId":"getCollection","summary":"One collection with its pieces","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Collection"},"404":{"description":"Not found"}}}},"/artists":{"get":{"operationId":"listArtists","summary":"Artist roster","responses":{"200":{"description":"Artists"}}}},"/designers":{"get":{"operationId":"listDesigners","summary":"Designer roster","responses":{"200":{"description":"Designers"}}}},"/search":{"get":{"operationId":"search","summary":"Combined search across pieces, collections, artists, and designers","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":20,"maximum":100}}],"responses":{"200":{"description":"Combined results"}}}}}}