Depop API endpoint
Returns Depop's own search-box autocomplete suggestions for a partial query, including the category a suggestion maps to when relevant. Public data sourced from Depop's own search-suggestions API.
/depop/suggestQuery parameters:
query (required) — partial search query to autocomplete.Notable response behavior:
503 means both paths were blocked. Retry later.value is the suggested phrase with Depop's own bold-match markup
stripped (the upstream API wraps the substring matching query in
**...** for highlighting; this endpoint returns the plain text).group, suggested_filter_label, and gender are present when the
suggestion maps to a specific Depop category/department (e.g. group
tops, suggested_filter_label "in Women's Tops", gender female)
— all three omitted for a plain free-text suggestion with no category
match.query returns 400 before any upstream request is made.200 with "suggestions": [].| Field | Filled in, of 7 checked | Values in the sample |
|---|---|---|
| value | 7 | “red corset” and 4 other values |
| group | 2 | “tops” and 1 other value |
| suggested_filter_label | 2 | “in Women's Tops” and 1 other value |
| gender | 2 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | Yes | Partial search query to autocomplete | red corte | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/depop/suggest?query=red+corte" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "red corte",
"suggestions": [
{
"value": "red corset",
"group": "tops",
"suggested_filter_label": "in Women's Tops",
"gender": "female"
},
{
"value": "red corset"
},
{
"value": "red corset top"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/depop.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | depop.SuggestResponse | No | ||||
| data.query | string | No | ||||
| data.suggestions | array | No | ||||
| data.suggestions[].gender | string | No | ||||
| data.suggestions[].group | string | No | Group and SuggestedFilterLabel are present when the suggestion maps to a specific category (e.g. Group "tops", SuggestedFilterLabel "in Women's Tops") -- both omitted for a plain free-text suggestion. | |||
| data.suggestions[].suggested_filter_label | string | No | ||||
| data.suggestions[].value | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/depop/suggest?query=red+corte" \
-H "x-api-key: $CRAWLORA_API_KEY"