List Markets
curl --request GET \
--url https://scrapebadger.com/v1/wallapop/markets \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/wallapop/markets"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/wallapop/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/wallapop/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/wallapop/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/wallapop/markets")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/wallapop/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"markets": [
{
"code": "<string>",
"country_code": "<string>",
"name": "<string>",
"currency": "<string>",
"language": "<string>",
"default_latitude": 123,
"default_longitude": 123
}
]
}Reference
List Markets
List the supported Wallapop markets — Spain, Italy, and Portugal — with their language, currency, and default search location.
GET
/
v1
/
wallapop
/
markets
List Markets
curl --request GET \
--url https://scrapebadger.com/v1/wallapop/markets \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/wallapop/markets"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/wallapop/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/wallapop/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/wallapop/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/wallapop/markets")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/wallapop/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"markets": [
{
"code": "<string>",
"country_code": "<string>",
"name": "<string>",
"currency": "<string>",
"language": "<string>",
"default_latitude": 123,
"default_longitude": 123
}
]
}The Wallapop markets you can pass as
market, with each market’s language, currency, and default search coordinates.
Credits: 0 (free)
Authorization
string
required
Your ScrapeBadger API key.
Response
Market[]
Supported markets.
Show Market
Show Market
string
Market code to use in the
market parameter: es, it, or pt.string
ISO 3166-1 alpha-2 country code.
string
Country name.
string
ISO 4217 currency code,
EUR.string
Language of category names, filter labels, and attribute text, e.g.
es-ES.number
Latitude search uses when you don’t pass
latitude (the capital).number
Longitude search uses when you don’t pass
longitude.Example
curl "https://scrapebadger.com/v1/wallapop/markets" \
-H "X-API-Key: YOUR_API_KEY"
import requests
res = requests.get(
"https://scrapebadger.com/v1/wallapop/markets",
headers={"X-API-Key": "YOUR_API_KEY"},
)
data = res.json()
const res = await fetch("https://scrapebadger.com/v1/wallapop/markets", {
headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY },
});
const data = await res.json();
scrapebadger wallapop markets
Response
{
"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
}
]
}
Listing markets is a free reference endpoint (0 credits).

