Depop Shop Aggregates API Documentation Get how many items a seller has in each category, brand, colour, condition and size, plus the total. The data is public Depop data and the endpoint is read only. A failed request is never billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
integer
Required
Numeric seller id. Get it from product.seller.id or from /api/depop/users/search.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"sizes": {
"22.3": 1,
"22.7": 1,
"22.8": 2,
"4.15": 4,
"4.16": 18,
"4.17": 13,
"4.18": 2,
"4.32": 1,
"22.16": 1,
"22.17": 1,
"22.27": 3,
"22.28": 6
},
"total": 160,
"brands": {
"9": {
"count": 1
},
"32": {
"count": 1
},
"55": {
"count": 1
},
"98": {
"count": 1
},
"147": {
"count": 3
},
"158": {
"count": 2
},
"189": {
"count": 1
},
"195": {
"count": 1
},
"212": {
"count": 3
},
"222": {
"count": 1
},
"277": {
"count": 1
},
"282": {
"count": 1
}
},
"colours": {
"red": {
"count": 16
},
"tan": {
"count": 12
},
"blue": {
"count": 31
},
"gold": {
"count": 4
},
"grey": {
"count": 7
},
"pink": {
"count": 20
},
"brown": {
"count": 14
},
"green": {
"count": 9
},
"orange": {
"count": 6
},
"purple": {
"count": 3
},
"silver": {
"count": 17
},
"yellow": {
"count": 6
}
},
"seller_id": 222287722,
"categories": {
"kidswear": {
"count": 0,
"variants": {
"male": {
"count": 0,
"variants": []
},
"female": {
"count": 0,
"variants": []
},
"unisex": {
"count": 0,
"variants": []
}
}
},
"menswear": {
"count": 2,
"variants": {
"tops": {
"count": 1
},
"gilets": {
"count": 1
},
"blouses": {
"count": 1
},
"coats-jackets": {
"count": 1
}
}
},
"womenswear": {
"count": 158,
"variants": {
"belt": {
"count": 1
},
"tops": {
"count": 38
},
"shorts": {
"count": 6
},
"bottoms": {
"count": 20
},
"dresses": {
"count": 45
},
"footwear": {
"count": 9
},
"nightwear": {
"count": 2
},
"accessories": {
"count": 23
},
"scarf-wraps": {
"count": 2
},
"coats-jackets": {
"count": 4
},
"swim-beach-wear": {
"count": 2
},
"jumpsuit-and-playsuit": {
"count": 1
}
}
},
"everything-else": {
"count": 0,
"variants": []
}
},
"conditions": {
"brand_new": {
"count": 9
},
"used_fair": {
"count": 2
},
"used_good": {
"count": 24
},
"used_like_new": {
"count": 7
},
"used_excellent": {
"count": 118
}
}
},
"meta": {
"billable": true,
"endpoint_family": "shop_aggregates"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. Depop is not called and the request is not billable.
{
"errors": {
"query": [
"A query is required, for example jacket."
]
},
"message": "The request validation failed"
}Upstream Unavailable
Depop did not answer after several tries. Retry later. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "shop_aggregates"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The Depop API is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.