OfferZono
DOCS

OfferZono Documentation

Everything you need to add our offerwall, APIs and banners to your website — no developer needed.

Getting Started

Start earning from your website in a few minutes. Follow these steps in order:

1

Create a free account

Register here. One account is both Publisher (you earn) and Advertiser (you promote).

2

Add your website

Go to Publisher → Offerwalls → Add Website and verify that the website is yours. See Add a Website.

3

Wait for approval

We check your website quickly. You get a notification when it is approved.

4

Put the offerwall on your website

Copy one code and paste it on your earn page. See Offerwall Addon.

5

Set your Postback URL

So your users get their coins automatically when they finish an ad. See Postback.

6

Earn and withdraw

You earn a fixed price in USD for every completed ad. Withdraw from Payments — payments are approved within 72 hours.

You pay your users from your own website, in your own coin. OfferZono pays you in USD. You decide how many % of the payout your users get (Share Profit).

Live Demo

This is exactly what your users see. It is a demo — nothing can be earned here.

Open demo in a new tab

Add a Website

1

Open Add Website

Publisher → Offerwalls → Add Website. Write your domain only, like example.com (no https://), and a name. Press Next.

2

Verify it is your website

Use one of these two ways:

  • Copy the meta tag we show you and paste it inside <head> of your home page, or
  • Download the small .txt file and upload it to the main folder of your website.
3

Press Verify & Apply

Your website is now Pending. You get a notification when it is approved.

4

Open Edit

After approval press Edit on your website. There you find your API Key, Secret Key and Bearer Token, and you set your coin name, exchange rate, share % and Postback URL.

Banner websites are added separately in Publisher → Banner Publisher → Add Website.

Offerwall Addon

The offerwall is one small code. Put it on the page of your website where your users earn.

1

Copy your API Key

Publisher → Offerwalls → Edit → copy the API Key.

2

Copy this example code

PHP — earn.php (example)
<?php
// earn.php  —  the page of YOUR website where your users see the offerwall
session_start();

$api_key = 'YOUR_API_KEY';                 // OfferZono -> Publisher -> Offerwalls -> Edit
$user_id = $_SESSION['user_id'] ?? '';     // the id of the logged-in user on YOUR website

if ($user_id === '') {
    exit('Please log in to earn.');
}
?>
<iframe src="https://offerzono.com/offerwall/<?= $api_key ?>/<?= urlencode($user_id) ?>"
        style="width:100%;height:1100px;border:0;border-radius:12px"
        scrolling="yes" frameborder="0" allow="clipboard-write"></iframe>
3

Change 2 things

  • YOUR_API_KEY → your API Key.
  • $_SESSION['user_id'] → the variable that has the id of the logged-in user in your script. Every user must have his own id, so we know who gets the coins.
4

Upload and open the page

Upload the file to your website (or paste the iframe part into your existing earn page) and open it. You will see the offerwall with the PTC, TG PTC, Tasks and History tabs.

Your website is not PHP? Use the plain HTML code and put the user id in place of [USER_ID]:

HTML — offerwall iframe
<iframe src="https://offerzono.com/offerwall/YOUR_API_KEY/[USER_ID]" style="width:100%;height:1100px;border:0;border-radius:12px" scrolling="yes" frameborder="0" allow="clipboard-write"></iframe>
You can switch PTC, Telegram and Task ads on or off for your website in Offerwalls → Edit. Next step: set your Postback, so your users get their coins.

Postback

When a user finishes an ad, we call your Postback URL. Your website then adds the coins to that user. The format is the same as BitcoTasks — if your script already has a BitcoTasks postback file, you can use it with your OfferZono Secret Key.

1

Copy this file

PHP — postback_offerzono.php
<?php
// postback_offerzono.php  —  put this file on YOUR website and set its URL as
// "Postback URL" in OfferZono -> Offerwalls -> Edit.
// OfferZono calls it after every completed PTC / Telegram / Task offer.

$secret_key = 'YOUR_SECRET_KEY';           // OfferZono -> Offerwalls -> Edit
$db = new PDO('mysql:host=localhost;dbname=YOUR_DB;charset=utf8mb4', 'DB_USER', 'DB_PASS');

// ---- 1. read the postback ----
$userId    = $_GET['subId']     ?? '';     // your user id (what you put in the iframe / API)
$transId   = $_GET['transId']   ?? '';     // unique transaction id (OZ123)
$reward    = $_GET['reward']    ?? '0';    // amount in YOUR currency (already after your share %)
$status    = $_GET['status']    ?? '1';    // 1 = credit, 2 = chargeback (take it back)
$signature = $_GET['signature'] ?? '';

// ---- 2. check the signature (never skip this!) ----
if (md5($userId . $transId . $reward . $secret_key) !== $signature) {
    http_response_code(403);
    exit('ERROR: bad signature');
}

// ---- 3. do not credit the same transaction twice ----
$db->exec("CREATE TABLE IF NOT EXISTS offerzono_log (trans_id VARCHAR(40) PRIMARY KEY, user_id VARCHAR(64), reward DECIMAL(24,8), status TINYINT, created_at DATETIME)");
$st = $db->prepare("INSERT IGNORE INTO offerzono_log VALUES (?, ?, ?, ?, NOW())");
$st->execute([$transId . '-' . $status, $userId, $reward, $status]);
if ($st->rowCount() === 0) {
    exit('ok'); // already done
}

// ---- 4. add (or remove) the reward ----
// Change "users", "balance" and "id" to the table / columns of YOUR script.
$amount = ($status == 2) ? -$reward : $reward;
$db->prepare("UPDATE users SET balance = balance + ? WHERE id = ?")->execute([$amount, $userId]);

echo 'ok';
2

Change 3 things

  • YOUR_SECRET_KEY → your Secret Key (Offerwalls → Edit).
  • The database line → your database name, user and password.
  • The last UPDATE users SET balance … line → the table and columns of your script (open phpMyAdmin to check).
3

Upload the file

Upload it to your website, for example https://your-site.com/postback_offerzono.php

4

Save the URL

Paste that URL into Postback URL in Offerwalls → Edit and press Save.

5

Test it

Complete one ad yourself. You see the lead in Statistics and the coins arrive in your account on your website.

What we send

ParameterMeaning
subIdYour user id
transIdUnique transaction id, e.g. OZ1234
rewardCoins for your user (in your currency, after your share %)
payoutWhat you earned in USD
user_usdVideos only — the USD amount the user was shown on the video (reward is this amount in your coin)
status1 = add the coins, 2 = chargeback (take them back)
signaturemd5(subId . transId . reward . secret_key) — always check it
offer_name, offer_type, ip, currencyExtra information

Integration

Don't want the full offerwall? Show only one kind of ad on your own pages, in your own design. Every API uses your API Key + Bearer Token, and rewards always come through your Postback.

Call the APIs from your server (PHP), never from JavaScript — your Bearer Token must stay secret. If it ever leaks, press Regenerate Keys in Offerwalls → Edit.

PTC API

1

Copy your keys

Offerwalls → Edit → copy the API Key and the Bearer Token.

2

Copy this example

PHP — ptc.php (example)
<?php
// ptc.php — show OfferZono PTC ads on your own page (server side, keys stay secret)
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];               // the logged-in user of YOUR site
$user_ip = $_SERVER['REMOTE_ADDR'];             // behind Cloudflare use $_SERVER['HTTP_CF_CONNECTING_IP']

$ch = curl_init('https://offerzono.com/api/v1/ptc?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip));
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 10,
    CURLOPT_HTTPHEADER     => ['Authorization: Bearer ' . $token],
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);

if (($res['status'] ?? 0) !== 200) {
    echo 'Ads are not available right now.';
    return;
}
foreach ($res['data'] as $ad) {
    echo '<div class="ad-card">';
    echo '<h4>' . htmlspecialchars($ad['title']) . '</h4>';
    echo '<p>' . htmlspecialchars($ad['description']) . '</p>';
    echo '<b>' . $ad['reward'] . ' ' . htmlspecialchars($ad['currency']) . '</b> · ' . $ad['duration'] . ' sec';
    echo ' <a href="' . htmlspecialchars($ad['url']) . '" target="_blank" rel="noopener">View Ad</a>';
    echo '</div>';
}
// The reward is sent to your Postback URL when the user finishes the ad.
3

Change the keys and the user id

Put your keys in YOUR_API_KEY / YOUR_BEARER_TOKEN and the logged-in user id of your script in $user_id.

4

Done

Your users click View Ad, our page runs the timer, and you get the postback.

Request

EndpointGET https://offerzono.com/api/v1/ptc
HeaderAuthorization: Bearer YOUR_BEARER_TOKEN
api_keyYour API Key (required)
user_idYour user id (required)
ipThe user's IP address (required — for country targeting and fraud checks)
JSON — response
{
  "status": 200,
  "message": "success",
  "count": 2,
  "currency": "Coins",
  "data": [
    {
      "id": "k2m9x4pq7a",
      "type": "ptc",
      "title": "Best Crypto Faucet 2026",
      "description": "Claim free crypto every hour",
      "duration": 15,
      "reward": 42,
      "currency": "Coins",
      "payout_usd": 0.0006,
      "boosted": true,
      "url": "https://offerzono.com/go/eyJ3IjoxLCJjIjo..."
    }
  ]
}
Error statusMeaning
401Wrong API key / Bearer Token
403Website not approved, or this offer type is switched off
422Missing or invalid user_id / ip
429Too many requests (max 120 per minute per key)

TG API

Works exactly like the PTC API, only with Telegram ads. Each ad also has tg_kind (channel, group or user).

1

Copy this example

PHP — telegram.php (example)
<?php
// telegram.php — show OfferZono Telegram ads on your own page (server side, keys stay secret)
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];               // the logged-in user of YOUR site
$user_ip = $_SERVER['REMOTE_ADDR'];             // behind Cloudflare use $_SERVER['HTTP_CF_CONNECTING_IP']

$ch = curl_init('https://offerzono.com/api/v1/tg?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip));
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 10,
    CURLOPT_HTTPHEADER     => ['Authorization: Bearer ' . $token],
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);

if (($res['status'] ?? 0) !== 200) {
    echo 'Ads are not available right now.';
    return;
}
foreach ($res['data'] as $ad) {
    echo '<div class="ad-card">';
    echo '<h4>' . htmlspecialchars($ad['title']) . '</h4>';
    echo '<p>' . htmlspecialchars($ad['description']) . '</p>';
    echo '<b>' . $ad['reward'] . ' ' . htmlspecialchars($ad['currency']) . '</b> · ' . $ad['duration'] . ' sec';
    echo ' <a href="' . htmlspecialchars($ad['url']) . '" target="_blank" rel="noopener">Open Telegram</a>';
    echo '</div>';
}
// The reward is sent to your Postback URL when the user finishes the ad.
2

Change the keys and the user id

Same as in the PTC API.

Endpoint
GET https://offerzono.com/api/v1/tg?api_key=YOUR_API_KEY&user_id=USER_ID&ip=USER_IP
Authorization: Bearer YOUR_BEARER_TOKEN

Task API

Sign-up tasks. The url opens our task page with the steps, screenshots and the proof form.

1

Copy this example

PHP — tasks.php (example)
<?php
// tasks.php — show OfferZono tasks on your own page (server side, keys stay secret)
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];               // the logged-in user of YOUR site
$user_ip = $_SERVER['REMOTE_ADDR'];             // behind Cloudflare use $_SERVER['HTTP_CF_CONNECTING_IP']

$ch = curl_init('https://offerzono.com/api/v1/tasks?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip));
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 10,
    CURLOPT_HTTPHEADER     => ['Authorization: Bearer ' . $token],
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);

if (($res['status'] ?? 0) !== 200) {
    echo 'Ads are not available right now.';
    return;
}
foreach ($res['data'] as $ad) {
    echo '<div class="ad-card">';
    echo '<h4>' . htmlspecialchars($ad['title']) . '</h4>';
    echo '<p>' . htmlspecialchars($ad['description']) . '</p>';
    echo '<b>' . $ad['reward'] . ' ' . htmlspecialchars($ad['currency']) . '</b> · ' . htmlspecialchars($ad['requirement']);
    echo ' <a href="' . htmlspecialchars($ad['url']) . '" target="_blank" rel="noopener">Start Task</a>';
    echo '</div>';
}
// The reward is sent to your Postback URL when the user finishes the ad.
2

Change the keys and the user id

Same as in the PTC API.

3

How a task is paid

  • The user sends a proof (username, email or text).
  • The advertiser checks it within 48 hours — not checked = approved automatically.
  • Your postback is sent only when the task is approved. A user gets 2 chances per task.
Endpoint
GET https://offerzono.com/api/v1/tasks?api_key=YOUR_API_KEY&user_id=USER_ID&ip=USER_IP
Authorization: Bearer YOUR_BEARER_TOKEN

Faucet API

The faucet is also a tab in the offerwall. With the API you show it on your own page: one button that opens our faucet page (timer → verify → captcha). You earn $0.0002 per claim, your user gets your share % through your Postback (offer_type=faucet, transId=OZF123).

1

Copy this example

PHP — faucet.php (example)
<?php
// faucet.php - a faucet button on your own page (server side, keys stay secret)
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];
$user_ip = $_SERVER['REMOTE_ADDR'];   // behind Cloudflare use $_SERVER['HTTP_CF_CONNECTING_IP']

$ch = curl_init('https://offerzono.com/api/v1/faucet?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip));
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 10, CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $token]]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
$f = $res['data'] ?? null;

if (!$f) {
    echo 'Faucet not available.';
} elseif ($f['available']) {
    echo 'Reward: ' . $f['reward'] . ' ' . htmlspecialchars($res['currency']) . ' · ' . $f['claims_left'] . ' claims left today ';
    echo '<a href="' . htmlspecialchars($f['url']) . '" target="_blank" rel="noopener">Claim</a>';
} elseif ($f['claims_left'] > 0) {
    echo 'Next claim in ' . ceil($f['next_claim_in'] / 60) . ' min';
} else {
    echo 'Daily limit reached. Come back tomorrow.';
}
// The reward is sent to your Postback URL after the user finishes the faucet.
2

Change the keys and the user id

Same as in the PTC API.

3

How a claim works

  • The user opens the link, presses Start Faucet and waits 5 seconds, then Verify Now.
  • Step 2: captcha → Get Reward → your postback is sent.
  • 10 claims per IP / user per day, 5 minutes between claims. VPN / proxy users are blocked.
Endpoint
GET https://offerzono.com/api/v1/faucet?api_key=YOUR_API_KEY&user_id=USER_ID&ip=USER_IP
Authorization: Bearer YOUR_BEARER_TOKEN
Response
{
    "status": 200,
    "message": "success",
    "currency": "Coins",
    "data": {
        "available": true,
        "reward": 14,
        "payout_usd": 0.0002,
        "claims_today": 2,
        "daily_limit": 10,
        "claims_left": 8,
        "next_claim_in": 0,
        "reset_in": 43210,
        "timer": 5,
        "url": "https://offerzono.com/go/eyJ3IjoxLC..."
    }
}

Videos API

Video tasks (watch, like, subscribe) on your own page, in our video player. The user gets exactly the amount shown on each video (in your coin), and your publisher balance gets that amount plus your profit. Rewards come through your Postback with offer_type=video, usually 5–60 seconds after the video is confirmed.

1

Turn on Videos

Offerwalls → Edit → switch Videos on and save.

2

Copy this add-on

PHP — videos.php (add-on)
<?php
// videos.php - video tasks (watch / like / subscribe) on your own page
session_start();
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];               // the logged-in user of your script
$user_ip = $_SERVER['HTTP_CF_CONNECTING_IP'] ?? $_SERVER['REMOTE_ADDR'];

$ch = curl_init('https://offerzono.com/api/v1/video?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip));
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 10, CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $token]]);
$res = json_decode((string) curl_exec($ch), true);
curl_close($ch);
$v = $res['data'] ?? null;
if (!$v) { exit('Videos are not available: ' . htmlspecialchars($res['message'] ?? 'error')); }
?>
<p>1 USD = <?= $v['reward_1usd'] ?> coins for you — you get exactly the amount shown on each video.</p>
<div id="aviso-widget" data-youtube-widget
     data-api-endpoint="<?= htmlspecialchars($v['endpoint']) ?>"
     data-api-key="<?= htmlspecialchars($v['key']) ?>"
     data-user-hash="<?= htmlspecialchars($v['user_hash']) ?>"
     data-user-id="<?= htmlspecialchars($v['user_id']) ?>"
     data-user-sig="<?= htmlspecialchars($v['user_sig']) ?>"></div>
<script src="<?= htmlspecialchars($v['script']) ?>"></script>
<p><a href="<?= htmlspecialchars($v['page_url']) ?>" target="_blank">Videos not loading? Open them in a new tab</a></p>
3

Change the keys and the user id

Put your keys in YOUR_API_KEY / YOUR_BEARER_TOKEN and the logged-in user id of your script in $user_id.

4

Credit the user

Your postback gets reward (coins for the user), payout (what you earned in USD) and user_usd (what the user was shown in USD). Add reward to the user — the rest of payout is your profit.

Endpoint
GET https://offerzono.com/api/v1/video?api_key=YOUR_API_KEY&user_id=USER_ID&ip=USER_IP
Authorization: Bearer YOUR_BEARER_TOKEN
Response
{
    "status": 200,
    "message": "success",
    "data": {
        "key": "ak_…",
        "endpoint": "https://aviso.bz/api/v1",
        "user_id": "1234",
        "user_hash": "sha256…",
        "user_sig": "hmac…",
        "script": "https://aviso.bz/widget/widget.js",
        "page_url": "https://offerzono.com/vw/eyJ3Ijo…",
        "reward_1usd": 100000
    }
}
Some ad-blockers stop the video player. Show the page_url link too — it opens the same videos on our website, rewards still go to your user.

Subscribe API

YouTube subscribe tasks. The user subscribes to a channel, sends a screenshot from your page, and gets paid after the check. One task at a time — a new one comes after the proof.

1

Turn on Third Party

Offerwalls → Edit → switch Third Party on and save.

2

Copy this add-on

PHP — subscribe.php (add-on)
<?php
// subscribe.php - YouTube subscribe tasks with a screenshot proof
session_start();
$api_key = 'YOUR_API_KEY';
$token   = 'YOUR_BEARER_TOKEN';
$user_id = $_SESSION['user_id'];
$user_ip = $_SERVER['HTTP_CF_CONNECTING_IP'] ?? $_SERVER['REMOTE_ADDR'];
$base    = 'https://offerzono.com/api/v1/myt?api_key=' . $api_key . '&user_id=' . urlencode($user_id) . '&ip=' . urlencode($user_ip);

function oz_call(string $url, ?array $post = null): array {
    global $token;
    $ch = curl_init($url);
    $o = [CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 40, CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . $token]];
    if ($post !== null) { $o[CURLOPT_POST] = true; $o[CURLOPT_POSTFIELDS] = $post; }
    curl_setopt_array($ch, $o);
    $r = json_decode((string) curl_exec($ch), true);
    curl_close($ch);
    return $r['data'] ?? ['ok' => false, 'error' => $r['message'] ?? 'error'];
}

// 1) the user sends the screenshot -> we send it to OfferZono
if (!empty($_FILES['proof']['tmp_name'])) {
    $f = $_FILES['proof'];
    $r = oz_call($base . '&action=proof', ['task_id' => $_POST['task_id'], 'proof' => new CURLFile($f['tmp_name'], mime_content_type($f['tmp_name']), $f['name'])]);
    echo '<p>' . htmlspecialchars($r['ok'] ? $r['msg'] : $r['error']) . '</p>';
}

// 2) show the current task
$d = oz_call($base . '&action=task');
if (($d['status'] ?? '') === 'available') {
    $t = $d['task'];
    echo '<h3>' . htmlspecialchars($t['title']) . '</h3><p>' . htmlspecialchars($t['desc']) . '</p>';
    echo '<p>Reward: ' . $t['rt'] . '</p>';
    echo '<p>1. <a href="' . htmlspecialchars($t['url']) . '" target="_blank">Open the channel</a> and subscribe.<br>2. Take a screenshot that shows the Subscribed button.<br>3. Upload it here:</p>';
    echo '<form method="post" enctype="multipart/form-data"><input type="hidden" name="task_id" value="' . htmlspecialchars($t['id']) . '">';
    echo '<input type="file" name="proof" accept="image/*" required> <button>Send proof</button></form>';
} elseif (($d['status'] ?? '') === 'cooldown') {
    echo 'Next task in ' . ceil($d['wait'] / 60) . ' min.';
} else {
    echo htmlspecialchars($d['msg'] ?? $d['error'] ?? 'No task right now.');
}
// The reward comes to your Postback URL when the proof is approved (offer_type=subscribe).
3

Change the keys and the user id

Same as in the Videos API.

4

How it is paid

  • Small rewards are paid right after the proof, bigger ones after the check.
  • Your postback gets offer_type=subscribe.
  • If the user unsubscribes or the proof is fake, you get status=2 (take the coins back).
Get the taskGET https://offerzono.com/api/v1/myt?action=task&api_key=…&user_id=…&ip=…
Send the proofPOST https://offerzono.com/api/v1/myt?action=proof&api_key=…&user_id=…&ip=… — form fields task_id + proof (JPG / PNG / WEBP, max 5 MB)
HeaderAuthorization: Bearer YOUR_BEARER_TOKEN
statusavailable (task inside), cooldown (+ wait seconds), limit (daily limit), none

Banner Publisher

1

Add your website

Publisher → Banner Publisher → Add Website, verify it and wait for approval.

2

Generate the code

Press Placement, choose a size (468×60, 728×90 or 300×250) and press Generate Code.

3

Paste it on your website

HTML — example 728×90
<iframe src="https://offerzono.com/banner/YOUR_SITE_ID/728x90" width="728" height="90" style="border:0;overflow:hidden;max-width:100%" scrolling="no" frameborder="0" loading="lazy"></iframe>
4

Earn per click

You earn $0.001 for every unique click (one per visitor, per size, per day).

Click protection: clicks count only when the banner is on your approved domain, a real visitor clicks it after it was visible for a moment and is not on a VPN / proxy / bot (they see a "VPN / Proxy detected" banner). Copied links, traffic exchanges, auto-clickers, your own clicks and unusual click rates are not paid. Do not add referrerpolicy="no-referrer" to the iframe. The small offerzono.com label in the corner is not counted.