API Integration (NEW)

The Website Unblocker API allows you to retrieve public web content through a simple HTTP endpoint without managing proxy infrastructure directly. It is designed to provide an accessible alternative to our proxy-based integration while retaining the same anti-bot capabilities, support for dynamic pages, and flexible request customization.

Key Features

  • Direct HTTP POST interface with JSON body

  • No proxy string required

  • Optional JavaScript rendering for dynamic pages

  • Optional geolocation

  • Works with your existing NetNut credentials via Basic Auth

API Setup

Endpoint

https://unblocker.netnut.io/unblock

Authentication

Use HTTP Basic Authentication:

Authorization: Basic base64(username:password)

Request Body Schema

{
  "url": "https://example.com",          // Required
  "country": "us",                       // Optional
  "format": "raw",                       // Optional, default is "raw"
  "method": "GET",                       // Optional, default is "GET"
  "js_render": false                     // Optional, default is false
}
  • url: The target page to fetch.

  • country: Country geolocation for the request (us - United States, uk -United Kingdom ,fr - France). Default country is dynamically chosen for each URL.

  • format: raw for HTML.

  • method: Only supported value is GET .

  • js_render: Set to true to enable JavaScript rendering. Boolean type.


Example Usage

curl -X POST https://unblocker.netnut.io/unblock \
  -H "Content-Type: application/json" \
  -H "Authorization: Basic base64(username:password)" \
  -d '{
    "url": "https://example.com",
    "country": "fr",
    "format": "raw",
    "js_render": true,
  }'

Response Format

HTML (Default)

<!DOCTYPE html>
<html>
<head>...</head>
<body>...</body>
</html>

Last updated