Offers API

Offers APIs allow server-side data retrieval. Utilize these APIs to fetch offers directly on your server.

Get Offers

GET -https://offerwall.upwall.net/api/

Get All active Offers directly for server side

Response Data

{
    "success": true,
    "count": 3,
    "offers": [
    {
            "offer_id": "47489",
            "title": " Bright Objects  Hidden object",
            "description": "Play and Reach Level 120 (New Users Only) ",
            "icon": "https:\/\/upwall.cdns-works.com\/files\/uploads\/Off_A_70677.jpg",
            "conversion": "Play and Reach Level 120 (New Users Only) ",
            "payout": "0.28",
            "multi_event": false,
            "events": [],
            "link": "http:\/\/trck.app.upwall.net\/?offer_url=64ded38a57199==&uid=64ded38a5719b4600==&from=api&appid=232",
            "devices": [
                "android"
            ],
            "available_in": "TR",
            "countries": [
                "TR"
            ]
        },
        {
            "offer_id": "45052",
            "title": " Kariyer.net",
            "description": "Register (new users only)",
            "icon": "https:\/\/upwall.cdns-works.com\/files\/uploads\/Off_A_68235.png",
            "conversion": "Register (new users only)",
            "payout": "0.03",
            "link": "http:\/\/trck.app.upwall.net\/?offer_url=64ded38a5eb00==&uid=64ded38a5eb024389==&from=api&appid=232",
            "multi_event": false,
            "events": [],
            "devices": [
                "ios"
            ],
            "available_in": "TR",
            "countries": [
                "TR"
            ]
        },
        {
            "offer_id": "81189",
            "title": "AARP Embrace Your Inner Dragon",
            "description": "Register to get your reward.",
            "icon": "https:\/\/upwall.cdns-works.com\/files\/uploads\/Off688235.png",
            "conversion": "Enter all info to complete registration.",
            "payout": "0.84",
            "link": "http:\/\/upwall.net\/click\/?offer_id=7906&api_key=662ae669afe7a&userid={uniqueUserID}",
            "multi_event": true,
            "events": [
                {
                    "event_id": 2,
                    "event_instructions": "Receive an email confirmation.",
                    "event_payout": "0.84"
                }
            ],
            "devices": [
                "android"
            ],
            "available_in": "US",
            "countries": [
                "US"
            ]
        },
    ]
}

php Example

<?php
$curl = curl_init();

$url = "https://upwall.net/offerwall/api/?app_id={your_api_key}&country={country_code}&os={os}&userid={user_id}";

curl_setopt_array($curl, array(
  CURLOPT_URL => $url,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));

$response = curl_exec($curl);
curl_close($curl);
$offers = json_decode($response, true);

if ($offers['success'] == true) {
  foreach ($offers['offers'] as $var => $value) {
    echo $value['offer_id'] . "\n";
    echo $value['title'] . "\n";
    //and more
  }
}
?>

Last updated