# 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/

For scrapers and agents whose requests have to leave from Papua New Guinea. Put `country_code=pg` in the proxy password and each request leaves from a residential IP address in Papua New Guinea.

- Request
  ```
  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. Our recorded run of November 20, 2026 did not include country_code=pg, so this shows the request only. [Proxy docs](https://spider.cloud/docs/api/proxy/)

Our notes on Papua New Guinea list these sites and these jobs.

- Sites

  postcourier.com.pg, thenational.com.pg, ipa.gov.pg, bankpng.gov.pg, emtv.com.pg

- Scraping jobs

  Resource Sector Monitoring, Government Tender Collection, Telecommunications Coverage Analysis

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

Proxy mode from $1 per GB.

[No subscription](https://spider.cloud/pricing/). Top-ups of $500 or more add 5% in bonus credits, up to 15% from $5,000.

## The settings for Papua New Guinea

- country_code

  pg

- Proxy password

  country_code=pg

- Continent

  Oceania

- 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 Papua New Guinea fails rather than leave from somewhere else.

Papua New Guinea, country_code pg To scale

## Papua New Guinea in cURL, Python and Node

Copy the client you use, through the Scrape API or the proxy. Every tab has `pg` 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": "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%2F\&format=markdown\&p.country_code=pg\&src=proxy_country_request_run)

## Questions about 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.
