# Depop Search Suggestions API Documentation

<p><strong>Depop Search Suggestions API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/depop-api/depop_suggestions](https://scrappa.co/docs/depop-api/depop_suggestions)
- **API group:** Depop API
- **Endpoint:** `GET https://scrappa.co/api/depop/suggestions`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | Yes | The first letters of a search term, for example jack. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Depop is not called and the request is not billable. |
| 503 | Upstream Unavailable | Depop did not answer after several tries. Retry later. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
