# United States Proxies - Residential IPs | Spider

Residential proxy IPs in United States (US), with automatic rotation and geo-targeting. Built for e-commerce price intelligence. Pay as you go.

Canonical: https://spider.cloud/proxy-locations/united-states/

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

- Request
  ```
  curl -x "http://YOUR_API_KEY:country_code=us@proxy.spider.cloud:8888" \
    https://example.com/
  ```
- Proxy answer
  ```
  HTTP/1.1 200 OK
  x-spider-exit-country: US
  ```

Your API key is the user name, and the country code goes in the password. The answer is the proxy's own, recorded November 20, 2026. [Proxy docs](https://spider.cloud/docs/api/proxy/)

[Get an API key](https://spider.cloud/register/)

Proxy mode from $1 per GB. [No subscription](https://spider.cloud/pricing/).

## United States on the map

United States, country_code us To scale

- country_code

  us

- Continent

  North America

- Nearest on the map

  - [Mexico](https://spider.cloud/proxy-locations/mexico/)
  - [Canada](https://spider.cloud/proxy-locations/canada/)
  - [Bahamas](https://spider.cloud/proxy-locations/bahamas/)
  - [Cuba](https://spider.cloud/proxy-locations/cuba/)
  - [Jamaica](https://spider.cloud/proxy-locations/jamaica/)

Our notes on the United States list these sites and these jobs.

- Sites

  - amazon.com
  - walmart.com
  - google.com
  - zillow\.com
  - indeed.com

- Scraping jobs

  - E-commerce price intelligence
  - SERP rank tracking
  - Ad verification & fraud

## United States in cURL, Python and Node

Every tab has `us` already in it. Through the Scrape API, the same code goes in the `country_code` parameter. When you ask for the United States, the proxy's answer names the country the request left from in its `x-spider-exit-country` header.

```
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": "us",
    "return_format": "markdown"
  }'
```

```
import requests

resp = requests.post(
    "https://api.spider.cloud/scrape",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
        "url": "https://example.com/",
        "country_code": "us",
        "return_format": "markdown",
    },
)
print(resp.json())
```

```
const resp = await fetch("https://api.spider.cloud/scrape", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://example.com/",
    country_code: "us",
    return_format: "markdown",
  }),
});
const data = await resp.json();
console.log(data);
```

```
curl -x "http://YOUR_API_KEY:country_code=us@proxy.spider.cloud:8888" \
  https://example.com/
```

```
import requests

proxies = {
    "http":  "http://YOUR_API_KEY:country_code=us@proxy.spider.cloud:8888",
    "https": "https://YOUR_API_KEY:country_code=us@proxy.spider.cloud:8889",
}

resp = requests.get("https://example.com/", proxies=proxies)
print(resp.text)
```

```
import { ProxyAgent } from "undici";

const dispatcher = new ProxyAgent(
  "http://YOUR_API_KEY:country_code=us@proxy.spider.cloud:8888"
);

const resp = await fetch("https://example.com/", { dispatcher });
console.log(await resp.text());
```

api.spider.cloud country_code: us

[Send this request](https://spider.cloud/playground/?mode=scrape\&url=https%3A%2F%2Fexample.com%2F\&format=markdown\&p.country_code=us\&src=proxy_country_request_run)

## Questions about United States proxies

What proxy type does Spider use in the United States?

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

How do I route requests through the United States?

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

Is there a latency difference for United States proxies?

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

Can I keep the same United States IP across requests?

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