> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Markets

> List the supported Wallapop markets — Spain, Italy, and Portugal — with their language, currency, and default search location.

The Wallapop markets you can pass as `market`, with each market's language, currency, and default search coordinates.

**Credits:** 0 (free)

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Response

**markets** `Market[]`

Supported markets.

**Market**

**code** `string`

Market code to use in the `market` parameter: `es`, `it`, or `pt`.

**country\_code** `string`

ISO 3166-1 alpha-2 country code.

**name** `string`

Country name.

**currency** `string`

ISO 4217 currency code, `EUR`.

**language** `string`

Language of category names, filter labels, and attribute text, e.g. `es-ES`.

**default\_latitude** `number`

Latitude search uses when you don't pass `latitude` (the capital).

**default\_longitude** `number`

Longitude search uses when you don't pass `longitude`.

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/wallapop/markets" \
  -H "X-API-Key: YOUR_API_KEY"
```

```python Python theme={null}
import requests

res = requests.get(
    "https://scrapebadger.com/v1/wallapop/markets",
    headers={"X-API-Key": "YOUR_API_KEY"},
)
data = res.json()
```

```javascript Node.js theme={null}
const res = await fetch("https://scrapebadger.com/v1/wallapop/markets", {
  headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY },
});
const data = await res.json();
```

```bash CLI theme={null}
scrapebadger wallapop markets
```

```json Response theme={null}
{
  "markets": [
    {
      "code": "es",
      "country_code": "ES",
      "name": "Spain",
      "currency": "EUR",
      "language": "es-ES",
      "default_latitude": 40.4168,
      "default_longitude": -3.7038
    },
    {
      "code": "it",
      "country_code": "IT",
      "name": "Italy",
      "currency": "EUR",
      "language": "it-IT",
      "default_latitude": 41.9028,
      "default_longitude": 12.4964
    },
    {
      "code": "pt",
      "country_code": "PT",
      "name": "Portugal",
      "currency": "EUR",
      "language": "pt-PT",
      "default_latitude": 38.7223,
      "default_longitude": -9.1393
    }
  ]
}
```

> [!NOTE]
>
> Listing markets is a **free** reference endpoint (0 credits).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.