Depop Markets API Documentation Get the list of markets with their two letter code, name and coordinates. Use the code as the country parameter of the other endpoints. A country that is not on this list is rejected with a 422. The data is public Depop data and the endpoint is read only. A failed request is never billed.
Run this endpoint
Endpoint
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"count": 237,
"markets": [
{
"code": "af",
"name": "Afghanistan",
"address": "Afghanistan",
"latitude": 33.8388058603423,
"longitude": 66.0264709817607
},
{
"code": "dz",
"name": "Algeria",
"address": "Algeria",
"latitude": 28.1632395923063,
"longitude": 2.63238813336793
}
]
},
"meta": {
"billable": true,
"endpoint_family": "markets"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Upstream Unavailable
Depop did not answer after several tries. Retry later. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "markets"
},
"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.