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

Depop Search Suggestions API Documentation

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

Depop Search Suggestions API Documentation Get search suggestions for the first letters of a term. Each suggestion has a clean value, the highlighted text from Depop, and an optional group and gender filter that fits the suggestion. The data is public Depop data and the endpoint is read only. A failed request is never billed.

Depop Search Suggestions API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/depop/suggestions
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "jack",
        "suggestions": [
            {
                "group": "coats-jackets",
                "value": "varsity jacket",
                "gender": "male",
                "highlighted": "varsity **jacke**t",
                "filter_label": "in Men's Coats and jackets"
            },
            {
                "group": "coats-jackets",
                "value": "varsity jacket",
...

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.

query string Required

The first letters of a search term, for example jack.

Example value coffee shops

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": {
        "query": "jack",
        "suggestions": [
            {
                "group": "coats-jackets",
                "value": "varsity jacket",
                "gender": "male",
                "highlighted": "varsity **jacke**t",
                "filter_label": "in Men's Coats and jackets"
            },
            {
                "group": "coats-jackets",
                "value": "varsity jacket",
                "gender": "female",
                "highlighted": "varsity **jacke**t",
                "filter_label": "in Women's Coats and jackets"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "suggestions"
    },
    "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": "suggestions"
    },
    "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.