Get Offers

Query string parameters

Response body parameters

Example request

Request GET https://{networkname}.api.offerslook.com/v1/batches/offers?sort=-id&limit=2&offset=1&filters[status]=active&filters[geo_country][EQUAL_TO]=CN,Albania&filters[id][EQUAL_TO]=102

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "rowset": [
          {
            "offer": {
              "id": 102,
              "name": "test",
              "advertiser_id": 147,
              "status": "active",
              "revenue_type": "RPA+RPS",
              "revenue": "10",
              "percent_revenue": "10",
              "payout_type": "CPA+CPS",
              "payout": "7",
              "percent_payout": "10",
              "currency": "EUR",
              "preview_url": "https://www.offerslook.com/affiliate/goto_offer/388/309/{click_id}",
              "destination_url": "https://https://www.offerslook.com/affiliate/goto_offer/388/309/{click_id}?click_id={click_id}&adv_id=147&event_id=1&security_code=0601fb9f82e8bb4c0b02d0eb4b8e28a8",
              "end_date": 1488297599
            },
                  "offer_geo": {
                    "type": 1,
                    "target": [
                        {
                            "country": "China",
                            "country_code": "CN",
                            "id": 541628,
                            "city": null,
                            "type": null,
                            "offer_id": null,
                            "regions": [
                                {
                                    "type": 1,
                                    "region_id": 633,
                                    "region_name": "Anhui Sheng"
                                },
                                {
                                    "type": 1,
                                    "region_id": 635,
                                    "region_name": "Beijing Shi"
                                },
                                {
                                    "type": 1,
                                    "region_id": 641,
                                    "region_name": "Guangxi Zhuangzu Zizhiqu"
                                }
                            ],
                            "cities": [
                                {
                                    "type": 1,
                                    "region_id": 633,
                                    "city_id": 97648,
                                    "city_name": "Anqing"
                                },
                                {
                                    "type": 1,
                                    "region_id": 633,
                                    "city_id": 97649,
                                    "city_name": "Baiyin"
                                },
                                {
                                    "type": 1,
                                    "region_id": 633,
                                    "city_id": 97651,
                                    "city_name": "Bozhou"
                                },
                                {
                                    "type": 2,
                                    "region_id": 635,
                                    "city_id": 97739,
                                    "city_name": "Beijing"
                                }
                            ]
                        },
                        {
                            "country": "Albania",
                            "country_code": "AL",
                            "id": 541636,
                            "city": null,
                            "type": null,
                            "offer_id": null,
                            "regions": [],
                            "cities": []
                        },
                        {
                            "country": "Armenia",
                            "country_code": "AM",
                            "id": 541637,
                            "city": null,
                            "type": null,
                            "offer_id": null,
                            "regions": [],
                            "cities": []
                        }
                    ]
                },
            "offer_cap": {
              "id": 102,
              "offer_id": 102,
              "cap_budget": null,
              "cap_click": null,
              "cap_type": null,
              "cap_conversion": null,
              "adv_cap_type": 0,
              "adv_cap_click": 0,
              "adv_cap_conversion": 0,
              "adv_cap_revenue": "0",
              "aff_cap_type": 1,
              "aff_cap_click": 100,
              "aff_cap_conversion": 0,
              "aff_cap_payout": "0.000",
              "cap_timezone": "Asia/Hong_Kong"
            },
            "offer_event": [
              {
                "id": 1,
                "offer_id": 102,
                "name": "Initial Event",
                "revenue_type": "RPA+RPS",
                "revenue": "10.000",
                "percent_revenue": "10.00",
                "payout_type": "CPA+CPS",
                "payout": "7.000",
                "percent_payout": "10.00",
                "status": "active",
                "conversion_protocol": 2,
                "event_postback": "http://www.offerslook.com?click_id={click_id}&adv_id=147&event_id=1",
                "is_private": 0,
                "approve_conversions": 0,
                "is_allowed_multiple": 0,
                "is_end_point": 0,
                "offer_payout_tier": [
                  {
                    "tier_id": 11,
                    "offer_id": 102,
                    "event_id": 1,
                    "tier_payout": "1",
                    "tier_percent_payout": "2.00"
                  },
                  {
                    "tier_id": 12,
                    "offer_id": 102,
                    "event_id": 1,
                    "tier_payout": "2",
                    "tier_percent_payout": "2.00"
                  }
                ],
                "create_time": 0,
                "update_time": 0
              },
              {
                "id": 2,
                "offer_id": 102,
                "name": "test",
                "revenue_type": "RPA+RPS",
                "revenue": "10.000",
                "percent_revenue": "10.00",
                "payout_type": "CPA+CPS",
                "payout": "7.000",
                "percent_payout": "10.00",
                "status": "active",
                "conversion_protocol": 3,
                "event_postback": "<iframe src=\"http://www.offerslook.com?type=2&offer_id=102&adv_id=147&event_id=2\" scrolling=\"no\" frameborder=\"0\" width=\"1\" height=\"1\"></iframe>",
                "is_private": 0,
                "approve_conversions": 0,
                "is_allowed_multiple": 0,
                "is_end_point": 0,
                "offer_payout_tier": null,
                "create_time": 0,
                "update_time": 0
              }
            ],
            "approved_affiliate": [
              {
                "affiliate_id": 161,
                "tracking_link": "http://www.offerslook.com/index.php?offer_id=102&aff_id=161",
                "affiliate_cap": {
                  "id": 185,
                  "affiliate_id": 161,
                  "offer_id": 102,
                  "cap_type": 1,
                  "cap_click": 0,
                  "cap_conversion": 2,
                  "cap_budget": "0",
                  "category": 1,
                  "create_time": 1484646507
                }
              },
              {
                "affiliate_id": 188,
                "tracking_link": "http://www.offerslook.com?offer_id=102&aff_id=188",
                "affiliate_cap": null
              },
              {
                "affiliate_id": 191,
                "tracking_link": "http://www.offerslook.com?offer_id=102&aff_id=191",
                "affiliate_cap": {
                  "id": 186,
                  "affiliate_id": 191,
                  "offer_id": 102,
                  "cap_type": 3,
                  "cap_click": 0,
                  "cap_conversion": 0,
                  "cap_budget": "2",
                  "category": 2,
                  "create_time": 1484646571
                }
              }
            ]
          }
        ],
        "totalPages": 1,
        "totalRows": 1,
        "offset": 1,
        "limit": 2
      }
    }

Last updated