# Papua New Guinea Proxies - Residential IPs | Spider

Residential proxy IPs in Papua New Guinea (PG), with automatic rotation and geo-targeting. Built for resource sector monitoring. Pay as you go.

Canonical: https://spider.cloud/proxy-locations/papua-new-guinea/

Point your HTTP client at proxy.spider.cloud and each request leaves from a residential IP address in Papua New Guinea.

Connection

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

Your API key is the user name, and the country code goes in the password. [Proxy docs](https://spider.cloud/docs/api/proxy/)

Proxy mode from $1 per GB.

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

Papua New Guinea is the largest Pacific Island nation with over 800 languages and some of the most challenging internet infrastructure in the region. Despite low connectivity, PNG generates valuable data in the extractive industries sector, with LNG projects, gold mining operations, and government tender portals producing content that researchers and commodity analysts need to access from local IP addresses.

- country_code

  pg

- IP type

  Residential

## Route through Papua New Guinea.

Set `country_code` to `pg` and Spider picks an available IP in Papua New Guinea, rotating on every request. Pinning is honor-or-fail, so the request either leaves from Papua New Guinea or fails cleanly.

```
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": "pg",
    "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": "pg",
        "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: "pg",
    return_format: "markdown",
  }),
});
const data = await resp.json();
console.log(data);
```

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

```
import requests

proxies = {
    "http":  "http://YOUR_API_KEY:country_code=pg@proxy.spider.cloud:8888",
    "https": "https://YOUR_API_KEY:country_code=pg@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=pg@proxy.spider.cloud:8888"
);

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

api.spider.cloud country_code: pg

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

## Residential proxies.

| Type                | Trust   | Speed     | Best For                                             |
| ------------------- | ------- | --------- | ---------------------------------------------------- |
| Residential Proxies | Highest | 150-300ms | Demanding sites, account management, ad verification |

## Papua New Guinea proxies.

What proxy type does Spider use in Papua new guinea?

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

How do I route requests through Papua new guinea?

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

Is there a latency difference for Papua new guinea proxies?

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

Can I keep the same Papua new guinea IP across requests?

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

## Featured proxy markets.

[australia](https://spider.cloud/proxy-locations/australia/)

[Residential proxies](https://spider.cloud/proxy-locations/australia/)

[united states](https://spider.cloud/proxy-locations/united-states/)

[Residential proxies](https://spider.cloud/proxy-locations/united-states/)

[united kingdom](https://spider.cloud/proxy-locations/united-kingdom/)

[Residential proxies](https://spider.cloud/proxy-locations/united-kingdom/)

[brazil](https://spider.cloud/proxy-locations/brazil/)

[Residential proxies](https://spider.cloud/proxy-locations/brazil/)

[germany](https://spider.cloud/proxy-locations/germany/)

[Residential proxies](https://spider.cloud/proxy-locations/germany/)

[japan](https://spider.cloud/proxy-locations/japan/)

[Residential proxies](https://spider.cloud/proxy-locations/japan/)

[View all 199+ countries →](https://spider.cloud/proxy-locations/)
