Spain proxies: rotating and sticky Spain IPs
A Spain proxy sends your requests through an IP address located in Spain, so websites answer the way they would for a local visitor, with prices in EUR, pages in the local language and local search results. Add country-es to the proxy username, and narrow it to a city such as Madrid or Barcelona.
- country-es
- 5 cities
- Sticky 1 to 120 min
- HTTP, HTTPS, SOCKS5
- From $0.23/GB
{
"ip": "203.0.113.152",
"country": "ES",
"city": "Madrid"
}This username asks for an IP in Madrid and holds it for 10 minutes under session esk7m2. Remove the session and ttl parts for a new Spain IP on every request.
How do I set up a Spain proxy?
- 1Create an account and top up your balance with crypto, from $40.
- 2Point your tool at
gate.firstproxy.shopon port 8000 for HTTP and HTTPS, or 9000 for SOCKS5. - 3Use
user-country-esas the username for any IP in Spain, or add-city-madridfor Madrid. Your token is the password. - 4Send
Accept-Language: es-ES,es;q=0.9so sites return the local language, then check that the response shows country ES.
Step-by-step guides: cURL, Python requests, Node.js, PHP and all integrations.
curl -x http://gate.firstproxy.shop:8000 \
-U "user-country-es-city-madrid:YOUR_TOKEN" \
-H "Accept-Language: es-ES,es;q=0.9" \
https://ipinfo.io/jsonLocal details for collecting data in Spain
What changes when a page loads from Spain, and what to set so your data matches what local visitors see.
- Currency
- EUR, Euro
- Main languages
- Spanish, Catalan, Galician, Basque
- Accept-Language header
- es-ES,es;q=0.9
- Time zone
- UTC+1, UTC+2 in summer (Canary Islands one hour behind)
- Capital
- Madrid
- Major mobile carriers
- Movistar, Orange, Vodafone, Yoigo
- Popular sites to collect from
- Amazon.es, Wallapop, Idealista, El Corte Ingles, Fotocasa, Milanuncios
- Search engines
- Google dominates search in Spain, with Bing a small second.
Which cities can you target in Spain?
You can name any of these 5 cities after the country part. Copy the value exactly as shown: lowercase, with spaces replaced by hyphens.
| City | City value | Full username |
|---|---|---|
| Madrid | madrid | user-country-es-city-madrid |
| Barcelona | barcelona | user-country-es-city-barcelona |
| Valencia | valencia | user-country-es-city-valencia |
| Seville | seville | user-country-es-city-seville |
| Malaga | malaga | user-country-es-city-malaga |
Which proxy types work with Spain IPs?
The country code works the same way on every rotating product, and all of them share one balance, so you can mix types for Spain without a second account.
Residential proxies
$0.23 per GB
Home broadband IPs in Spain. Rotate on every request or keep one IP for 1 to 120 minutes. The usual starting point for sites such as Amazon.es and Wallapop.
Mobile proxies
$0.78 per GB
4G and 5G carrier IPs in Spain for app backends, mobile ad checks and pages that change by network. Sticky sessions last 1 to 60 minutes.
Unlimited residential proxies
$11.90 per day
Rotating residential IPs in Spain with traffic that is not counted per GB. You pay per day, which suits crawls that run around the clock.
Long-acting ISP proxies
$0.13 per GB
ISP-registered IPs in Spain held for up to 12 hours per session, with no limit on concurrent connections. Billed per GB.
Only need search results? The SERP API takes country=es and returns structured Spain results from $0.63 per 1,000 requests, with no proxy setup. Google dominates search in Spain, with Bing a small second.
What are Spain proxies used for?
Teams use Spain IPs to see the pages, prices and search results that people in Spain see. Sites often collected from include Amazon.es, Wallapop, Idealista, El Corte Ingles, Fotocasa and Milanuncios.
Related guides: Market research with proxies and Price monitoring with proxies.
- 1Collect rental and sale prices from Idealista and Fotocasa
- 2Track second-hand prices on Wallapop
- 3Compare Amazon.es and El Corte Ingles prices
Rotating or sticky: which session should you use in Spain?
The session type is set in the username too, so you can run both from the same script.
Rotating
user-country-esEvery request gets a new IP in Spain. Use it for broad crawls of listing pages, product pages and search results, where each request stands on its own and spreading load over many IPs keeps block rates low.
Sticky
user-country-es-city-madrid-session-esk7m2-ttl-30mThe same IP in Madrid for 30 minutes. Use it for logins, carts, paginated results and anything a site ties to one visitor. Change the session ID for a fresh IP, and set ttl between 1 and 120 minutes on residential.
Spain proxy questions
Short answers about pricing, targeting and sessions for Spain.
Read the full FAQHow much does a Spain proxy cost per GB?
Spain residential proxies cost $0.36 per GB on the 50 GB entry tier and fall to $0.23 per GB from 10,000 GB. Mobile IPs go down to $0.78 per GB and long-acting ISP to $0.13 per GB at their largest tiers. Choosing Spain or one of its cities costs nothing extra.
Can I target a specific city in Spain?
Yes. 5 cities are available in Spain: Madrid, Barcelona, Valencia, Seville, Malaga. Add the city after the country in the username, for example user-country-es-city-madrid. If no IP is free in that city at the moment, the request fails fast so your code can retry or fall back to country level.
How do I keep the same Spain IP for a while?
Add a session ID and a ttl to the username, for example user-country-es-city-madrid-session-esk7m2-ttl-30m. Residential sessions hold one IP for 1 to 120 minutes, mobile for 1 to 60 minutes and long-acting ISP for up to 12 hours. Change the session ID whenever you want a new IP.
How do I pay, and what is the minimum top-up?
Top up your balance with crypto (USDT, USDC, BTC, ETH, BNB, SOL, LTC, TRX, POL, DOGE or XRP). The minimum top-up is $40. Your balance and the GB you buy never expire, and if a purchase fails the amount goes back to your balance.
Which proxy type should I use for Spain?
Start with residential proxies for most sites in Spain, including Amazon.es and Wallapop. Move to mobile IPs when a page still challenges you or depends on the carrier, choose unlimited residential when a crawl moves many GB a day, and use long-acting ISP for sessions that must last hours.
Can I switch from Spain to another country?
Yes. Change the country code in the username, for example from country-es to country-gb for United Kingdom. The same account, balance and token work in all 64 countries, so no new order is needed.
Other proxy locations in Europe
Each country has its own page with cities, username values and local details. See all 64 countries.
Get Spain IPs in a few minutes
Create an account, top up from $40 with crypto and set country-es in the username.
