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

Depop Similar Products API Documentation

GET https://scrappa.co/api/depop/product/similar

Depop Similar Products API Documentation Get listings that Depop shows as similar to one listing. The rows use the same shape as the search endpoint. The data is public Depop data and the endpoint is read only. A failed request is never billed.

Depop Similar Products API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/depop/product/similar
Auth header
x-api-key
Cost
1 credit/request
product_id = 1234567890
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": 959604592,
                "url": "https://www.depop.com/products/hoiezenrb-draper-james-blue-cropped-denim-6ebb/",
                "slug": "hoiezenrb-draper-james-blue-cropped-denim-6ebb",
                "brand": {
                    "id": 15257,
                    "name": "Draper James",
                    "slug": "draper-james"
                },
                "group": "coats-jackets",
                "gender": "female",
...

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.

2 optional filters available.

product_id integer Required

Numeric listing id.

Example value 1234567890
country string Optional

Depop market code, two letters, lowercase. List the codes with /api/depop/markets. Defaults to us.

Example value US
limit integer Optional

Listings to return, 1 to 50. Defaults to 12.

Example value 10

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": {
        "items": [
            {
                "id": 959604592,
                "url": "https://www.depop.com/products/hoiezenrb-draper-james-blue-cropped-denim-6ebb/",
                "slug": "hoiezenrb-draper-james-blue-cropped-denim-6ebb",
                "brand": {
                    "id": 15257,
                    "name": "Draper James",
                    "slug": "draper-james"
                },
                "group": "coats-jackets",
                "gender": "female",
                "status": "STATUS_ONSALE",
                "is_sold": false,
                "seller_id": 390501153,
                "product_type": "jackets",
                "active_status": "active",
                "category_name": "Outerwear"
            },
            {
                "id": 960845412,
                "url": "https://www.depop.com/products/se5ondeditfw-shyanne-light-wash-cropped-denim-c34d/",
                "slug": "se5ondeditfw-shyanne-light-wash-cropped-denim-c34d",
                "brand": {
                    "id": 14806,
                    "name": "Shyanne",
                    "slug": "shyanne"
                },
                "group": "coats-jackets",
                "gender": "female",
                "status": "STATUS_ONSALE",
                "is_sold": false,
                "seller_id": 222287722,
                "product_type": "jackets",
                "active_status": "active",
                "category_name": "Outerwear"
            }
        ],
        "pagination": {
            "has_more": false
        },
        "product_id": 960845412
    },
    "meta": {
        "billable": true,
        "endpoint_family": "product_similar"
    },
    "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"
}
404

Resource Not Found

Depop does not know this id or slug. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "product"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Depop resource was not found."
    },
    "success": false
}
503

Upstream Unavailable

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

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