Skip to content
Scrappa Get API key
Depop API 1 credit/request

Depop Categories API Documentation

GET https://scrappa.co/api/depop/categories

Depop Categories API Documentation Get the category data you need to build valid filters. The filters view lists departments with their groups and product types. The groups view adds attributes and measurements per product type with names in several languages. The size_mapping view maps each category to its size sets. The data changes slowly and is cached for hours. The data is public Depop data and the endpoint is read only. A failed request is never billed.

Depop Categories API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/depop/categories
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "data": {
            "groups": {
                "tops": [
                    {
                        "id": "tshirts",
                        "name": "T-shirts",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

1 optional filter available.

view string Optional

filters (default), groups or size_mapping.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "data": {
            "groups": {
                "tops": [
                    {
                        "id": "tshirts",
                        "name": "T-shirts",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "jerseys",
                        "name": "Jerseys",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "suits": [
                    {
                        "id": "suits",
                        "name": "Suits",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "tailored-jackets",
                        "name": "Tailored jackets",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "bottoms": [
                    {
                        "id": "jeans",
                        "name": "Jeans",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "joggers-tracksuits",
                        "name": "Sweatpants",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "dresses": [
                    {
                        "id": "casual-dresses",
                        "name": "Casual dresses",
                        "department": [
                            "womenswear",
                            "kidswear"
                        ]
                    },
                    {
                        "id": "formal-dresses",
                        "name": "Formal dresses",
                        "department": [
                            "womenswear",
                            "kidswear"
                        ]
                    }
                ],
                "footwear": [
                    {
                        "id": "trainers",
                        "name": "Sneakers",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "slides",
                        "name": "Slides",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "nightwear": [
                    {
                        "id": "pajamas",
                        "name": "Pajamas",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "robes",
                        "name": "Robes",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "underwear": [
                    {
                        "id": "bandeaus",
                        "name": "Bandeaus",
                        "department": [
                            "womenswear"
                        ]
                    },
                    {
                        "id": "bras",
                        "name": "Bras",
                        "department": [
                            "womenswear"
                        ]
                    }
                ],
                "accessories": [
                    {
                        "id": "bag",
                        "name": "Bags",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "belt",
                        "name": "Belts",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "fancy-dress": [
                    {
                        "id": "fancy-dress",
                        "name": "Costume",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "coats-jackets": [
                    {
                        "id": "coats",
                        "name": "Coats",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "jackets",
                        "name": "Jackets",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ],
                "swim-beach-wear": [
                    {
                        "id": "bikinis-and-tankini-sets",
                        "name": "Bikini and tankini sets",
                        "department": [
                            "womenswear",
                            "kidswear"
                        ]
                    },
                    {
                        "id": "bikini-and-tankini-tops",
                        "name": "Bikini and tankini tops",
                        "department": [
                            "womenswear"
                        ]
                    }
                ],
                "jumpsuit-and-playsuit": [
                    {
                        "id": "jumpsuit",
                        "name": "Jumpsuits",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    },
                    {
                        "id": "playsuit-romper",
                        "name": "Rompers",
                        "department": [
                            "menswear",
                            "womenswear"
                        ]
                    }
                ]
            },
            "departments": [
                {
                    "id": "menswear",
                    "name": "Men",
                    "children": [
                        {
                            "id": "tops",
                            "name": "Tops"
                        },
                        {
                            "id": "bottoms",
                            "name": "Bottoms"
                        }
                    ]
                },
                {
                    "id": "womenswear",
                    "name": "Women",
                    "children": [
                        {
                            "id": "tops",
                            "name": "Tops"
                        },
                        {
                            "id": "bottoms",
                            "name": "Bottoms"
                        }
                    ]
                }
            ]
        },
        "view": "filters"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "categories"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

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"
}
503

Upstream Unavailable

Depop did not answer after several tries. Retry later. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "categories"
    },
    "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.