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

Depop Markets API Documentation

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

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.

Depop Markets API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/depop/markets
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "count": 237,
        "markets": [
            {
                "code": "af",
                "name": "Afghanistan",
                "address": "Afghanistan",
                "latitude": 33.8388058603423,
                "longitude": 66.0264709817607
            },
            {
                "code": "dz",
                "name": "Algeria",
...

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": {
        "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.

503

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.