---
title: Unblocker
url: https://docs.apify.com/proxy/unblocker.md
parents:
  - [Apify documentation](https://docs.apify.com/llms.txt)
  - [Proxy](https://docs.apify.com/proxy.md)
previous: [Google SERP proxy](https://docs.apify.com/proxy/google-serp-proxy.md)
next: [Using your own proxies](https://docs.apify.com/proxy/using-your-own-proxies.md)
---

> ## Documentation index
> Fetch the complete documentation index at: https://docs.apify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unblocker

Unblocker is a proxy service designed to scrape any website - from pages without protections to those heavily protected by bot detection and CAPTCHA challenges. Instead of building and maintaining your own detection-bypass logic, you can route requests through Unblocker, which automatically handles many common protection mechanisms.

This makes it a good choice for accessing websites with advanced bot protection while keeping your scraping code simple.

Pricing is based on Unblocker units, which are separate from [compute units](https://docs.apify.com/actors/running/usage-and-resources.md#what-is-a-compute-unit). Each successful request costs 10 units. Units are priced per 1,000 at a rate that depends on your plan, and your consumption is displayed on your [proxy usage dashboard](https://console.apify.com/proxy/usage) in Apify Console.

## Connect to Unblocker

Connecting to Unblocker works the same way as [datacenter proxy](https://docs.apify.com/proxy/datacenter-proxy.md), with two differences:

* The `groups` [username parameter](https://docs.apify.com/proxy.md#username-parameters) must always specify `UNBLOCKER`.
* Unblocker selects the country automatically, so you rarely need to set `country`.

Unlike [datacenter](https://docs.apify.com/proxy/datacenter-proxy.md) or [residential](https://docs.apify.com/proxy/residential-proxy.md) proxies, Unblocker has no [session](https://docs.apify.com/proxy.md#sessions) parameter, so you can't keep the same IP address across requests.

### How to set a proxy group

When using [standard libraries and languages](https://docs.apify.com/proxy/datacenter-proxy.md), specify the `groups` parameter in the [username](https://docs.apify.com/proxy.md#username-parameters) as `groups-UNBLOCKER`.

For example, your proxy URL when using the [got-scraping](https://www.npmjs.com/package/got-scraping) JavaScript library will look like this:


```js
const proxyUrl = 'http://groups-UNBLOCKER:<YOUR_PROXY_PASSWORD>@proxy.apify.com:8000';
```


In the [Apify SDK](https://docs.apify.com/sdk.md) you set `groups` in your proxy configuration:

**JavaScript**


```js
import { Actor } from 'apify';



await Actor.init();

// ...

const proxyConfiguration = await Actor.createProxyConfiguration({

    groups: ['UNBLOCKER'],

});

// ...

await Actor.exit();
```


**Python**


```python
from apify import Actor



async def main():

    async with Actor:

        # ...

        proxy_configuration = await Actor.create_proxy_configuration(groups=['UNBLOCKER'])

        # ...
```


### How to set a proxy country

Unblocker selects the best available country automatically based on the target website. You don't need to set a country in most cases.

If you need requests to come from a specific country, specify the `country` [username parameter](https://docs.apify.com/proxy.md#username-parameters) as `country-COUNTRY-CODE`. For example, to target Japan, set the username to `groups-UNBLOCKER,country-JP`.

Let Unblocker decide

Only set a country when your use case requires it (for example, geo-restricted content). Setting a country limits the pool of available IP addresses and can reduce how effectively Unblocker bypasses anti-bot protection.

In the [Apify SDK](https://docs.apify.com/sdk.md) you set the country in your proxy configuration using two-letter [country codes](https://laendercode.net/en/2-letter-list.html):

**JavaScript**


```js
import { Actor } from 'apify';



await Actor.init();

// ...

const proxyConfiguration = await Actor.createProxyConfiguration({

    groups: ['UNBLOCKER'],

    countryCode: 'FR',

});

// ...

await Actor.exit();
```


**Python**


```python
from apify import Actor



async def main():

    async with Actor:

        # ...

        proxy_configuration = await Actor.create_proxy_configuration(

            groups=['UNBLOCKER'],

            country_code='FR',

        )

        # ...
```


## Related features

* [Datacenter proxy](https://docs.apify.com/proxy/datacenter-proxy.md)
* [Residential proxy](https://docs.apify.com/proxy/residential-proxy.md)
* [Google SERP proxy](https://docs.apify.com/proxy/google-serp-proxy.md)
* [Anti-scraping techniques](https://docs.apify.com/academy/anti-scraping/techniques.md)
