# Depop Markets API Documentation

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

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

## 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.

## Example response

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

| Status | Error | Description |
| --- | --- | --- |
| 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)
