Response
What GET /api/v1/offers sends back, field by field.
Example
{
"success": true,
"data": [
{
"offer_id": 12345,
"name": "Raid: Shadow Legends",
"description": "Install and reach level 10.",
"payout": 1.25,
"payout_local": 1250,
"payout_coins": 1250,
"payout_usd": 1.25,
"currency": "POI",
"currency_name": "Points",
"category": ["game"],
"featured": true,
"link": "https://elitewall.io/api/track?offerId=12345&apiKey=YOUR_API_KEY&userId=USER_ID",
"image_url": "https://cdn.example.com/raid.png",
"countries": ["US", "GB", "CA"],
"platforms": ["android"],
"steps": [
{ "name": "Install the game", "payout_local": 250 },
{ "name": "Reach level 10", "payout_local": 1000 }
]
}
],
"meta": {
"total": 245,
"returned": 20,
"limit": 20,
"offset": 0,
"filters": { "country": "US", "country_from": "ip", "platform": "android", "sort": "featured" },
"timestamp": 1705789234,
"request_id": "req_65a8f1c2b3d4e"
}
}Offer fields
Money
payout_localnumberWhat your user gets, in your app's currency (USD times your exchange rate). Show this one to users.
payoutnumberWhat you earn, in USD.
payout_usdnumberYour user's reward valued in USD.
payout_coinsnumberThe same as payout_local. An older name, kept so existing integrations keep working.
currency, currency_namestringYour app currency's short code (the same as {currency} in postbacks) and its name, such as "Points".
The offer
offer_idintegerThe offer's ID. It comes back as {offer_id} in your postback.
name, descriptionstringThe title, and what the user has to do.
linkstringThe tracking link for this user. Send the user here to start the offer, and use it exactly as it is.
image_urlstring or nullThe offer's icon.
categoryarrayCategories, such as ["game"] or ["survey"].
featuredbooleanA featured offer, worth showing at the top.
countries, platformsarrayWhere the offer works, and on which devices: android, ios, windows or all.
stepsarrayFor offers with several steps: each step's name and payout_local. Empty for one-step offers.
Meta fields
| Field | What it tells you |
|---|---|
total | All offers that match your filters |
returned | Offers in this response |
limit, offset | The page you asked for. Next page: offset + limit, until you reach total. |
filters | The filters we used. country_from is param (you sent country) or ip (we found it from ip). |
request_id | Send this to support if something looks wrong |
Video and website campaigns, when they're on, are added to the first page only, and only when we know the user's country (country or ip).
HTTP status codes
| Code | Meaning |
|---|---|
| 200 | OK |
| 401 | Wrong API key or secret, or the app isn't approved (INVALID_API_KEY) |
| 422 | A parameter is wrong (INVALID_PARAMETERS) |
| 429 | Rate limit reached (RATE_LIMIT_EXCEEDED) |
| 500 | Server error. Try again later. |
EliteWall