API Method – getOffers
API Method – getOffers
getOffers
Get offer information.
API Category
Offer
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getOffers?key=yourapikey&a=youraffiliateid&page=1&limit=500 HTTP/1.1
Host: yournetworkapplicationdomain
Java:
Unirest.get("http://yournetworkapplicationdomain/api/v2/getOffers?key=yourapikey&a=youraffiliateid&page=1&limit=500").asString();
Parameters
Response
Sample in JSON:
getOffers
Get offer information.
API Category
Offer
HTTP Method
GET
Request Call Example
HTTP:
GET /api/v2/getOffers?key=yourapikey&a=youraffiliateid&page=1&limit=500 HTTP/1.1
Host: yournetworkapplicationdomain
Java:
Unirest.get("http://yournetworkapplicationdomain/api/v2/getOffers?key=yourapikey&a=youraffiliateid&page=1&limit=500").asString();
Parameters
Name | Type | Description |
a* | Integer | Your ID |
page* | Integer | Page number of data |
limit* | Integer | Number of items on one page: 500(Default)/1000/5000/10000 |
type | String | Type of offer: Mobile/Tablet/Desktop |
offer_ids | String | A list of offer ids: 3,123,445 |
offer_name | String | Key words of offer name. |
country | String | A list of countries of the offers: CN,US,CA,BD. Please refer to offer geo country list. |
top_cr | Integer |
Top N Offers in highest Conversion Rate. Max. V: 1000. API system returns N offers in an order by highest CR. Notice: top_cr will overwrite ‘page’ and ‘limit’ |
Response
Sample in JSON:
{ "httpStatus": 200, "errorCode": 0, "errorMessage": "", "message": "", "data": { "content": [ { "id": "3725188", "name": "from_bignetwork_offer_4", "app_id": "", "create_date": "2018/07/23", "expire_date": "2019/07/23", "status": "Active", "tracking_link": "http://hugenetwork.iferox-tracking2.com/tl?a=2762&o=3725188", "type": "Mobile", "preview_url": "http://www.testest.com", "currency": "Japan, Yen", "payout_type": "CPA", "logo": "", "screenshot": "", "description": "", "restriction": "", "hide_referrer": "No", "geo_type": "Include", "geo_countries": "", "categories": [], "allow_traffics": [ { "traffic_id": "1", "traffic_name": "Banner/Display" }, { "traffic_id": "2", "traffic_name": "Email" }, { "traffic_id": "3", "traffic_name": "Search PPC" }, { "traffic_id": "4", "traffic_name": "Social Media" }, { "traffic_id": "5", "traffic_name": "Social Ads" }, { "traffic_id": "6", "traffic_name": "PPC" }, { "traffic_id": "7", "traffic_name": "PPV/CPV" }, { "traffic_id": "8", "traffic_name": "Classified Ads" }, { "traffic_id": "9", "traffic_name": "Contextual" }, { "traffic_id": "10", "traffic_name": "Co-Registration" }, { "traffic_id": "11", "traffic_name": "Adult Traffic" }, { "traffic_id": "12", "traffic_name": "SEO" }, { "traffic_id": "13", "traffic_name": "Mobile" }, { "traffic_id": "14", "traffic_name": "Incent" } ], "geo_states": [], "device_rules": [], "has_cap_limit": "No", "cap_type": "budget", "cap_event_range": "all", "cap_affiliate_overall_limit": "Not Set", "cap_affiliate_interval": "Not Set", "cap_affiliate_interval_limit": "Not Set", "payout": "2.00000", "payout_percent": "-1.0", "events": [ { "e_id": "1", "event_name": "InitialEvent", "e_tkn": "", "description": "", "payout_type": "CPA", "payout": "2.00000", "conversion_point": "" } ] } ], "page": 1, "totalPages": 1, "totalItems": 1 } } |
Close All
API V3
API V2
-
User - Network
-
User - Affiliate
-
Offer
-
Report
-
Dictionary
API V1 (DEPRECATED)