Skip to main content

Mexico proxies

For scrapers and agents whose requests have to leave from Mexico. Put country_code=mx in the proxy password and each request leaves from a residential IP address in Mexico.

  • Request
    curl -x "http://YOUR_API_KEY:country_code=mx@proxy.spider.cloud:8888" \
      https://example.com/
Your API key is the user name, and the country code goes in the password. Our recorded run of November 20, 2026 did not include country_code=mx, so this shows the request only. Proxy docs

Our notes on Mexico list these sites and these jobs.

Sites
mercadolibre.com.mx, amazon.com.mx, eluniversal.com.mx, gob.mx, inmuebles24.com
Scraping jobs
MercadoLibre Price Monitoring, Automotive Supply Chain, Government Procurement
Get an API key

Proxy mode from $1 per GB.

No subscription. Top-ups of $500 or more add 5% in bonus credits, up to 15% from $5,000.

The settings for Mexico

country_code
mx
Proxy password
country_code=mx
Continent
North America
IP type
Residential

Through the Scrape API, the same code goes in the country_code parameter. Either way, a request that cannot be served from Mexico fails rather than leave from somewhere else.

Mexico, country_code mx To scale

Mexico in cURL, Python and Node

Copy the client you use, through the Scrape API or the proxy. Every tab has mx already in it.

curl -X POST https://api.spider.cloud/scrape \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/",
    "country_code": "mx",
    "return_format": "markdown"
  }'

api.spider.cloud country_code: mx

Questions about Mexico proxies

What proxy type does Spider use in Mexico?

Residential proxies. They give the highest trust level in Mexico and work for most use cases.

How do I route requests through Mexico?

Set "country_code": "mx" in your API request. Every request already goes through a proxy. Spider picks a healthy exit in Mexico and handles rotation. If Spider cannot fulfill the request from Mexico, it returns an error.

Is there a latency difference for Mexico proxies?

Latency depends on your server location relative to Mexico and on the site you request. Spider gives each proxy pool 3 seconds to connect before it moves on.

Can I keep the same Mexico IP across requests?

Yes, for as long as one proxy connection stays open. Requests sent over that connection leave from the same Mexico IP. A new connection gets a new IP.

Open this request in the playground

The playground sends country_code with the request, so you get the page as it renders to a visitor in Mexico. Keyless runs work without an account and are rate limited.