GET /admin/offerStats API documentation
These are the API docs of the demo platform. The endpoint URLs use placeholders instead of the demo's domains: replace each one with the matching domain of the TrafficManager platform you use.
{platform_domain}: the domain where you log in{tracking_domain}: the domain of the tracking links{postback_domain}: the domain of the postback URLs
Get the offer revenues reports (similar to the 오퍼 tab of the admin dashboard).
GET https://{platform_domain}/api/v1.2/admin/offerStats/{startTime}/{endTime}/
Authentication:
The request must be authenticated with the following HTTP headers:x-api-key: Your API key, found on the Security pagex-user-id: Your User ID, found on the Security page
If the HTTP headers are not passed, but you are logged in to the TrafficManager panel, the current user is used instead (so you can easily preview or download the data using your browser)
GET Parameters:
- Required:
startTime: Start time. Any value accepted by strtotime (a Unix timestamp needs the@prefix, for example@1700000000). For example:2023-01-01,today,-10 minutes...endTime: End time. Any value accepted by strtotime (a Unix timestamp needs the@prefix, for example@1700000000). For example:2023-01-01 23:59:59,today 23:59:59,-5 minutes...- Optional:
user_id: affiliate ID filter (if set, returns only the data for that affiliate)affiliate_group_id: numeric affiliate group ID filter (if set, returns only the data for affiliates in that group). Affiliate groups are managed here.offer_id: offer ID filter (if set, returns only the data for that offer)country: country filter (2-letter country code, example:IT)category: main category filter (name likeEXAMPLEor main category ID)groupBy: additional time grouping. Allowed values:(empty): no grouping by date/hourdate: group by date (format: YYYY-MM-DD)hour: group by hour (format: YYYY-MM-DD HH:00:00). Requires the timeStats feature
groupByadds optional time grouping.timezone: timezone. Valid values are listed here: Timezones. If not set, the network default timezone (UTC) will be used.
Returned values:
- The response is a JSON where every row has the following data:
- Date
- Offer ID
- Offer name
- Number of impressions
- Number of clicks
- Number of unique clicks
- Number of leads
- Number of conversions
- Metric 1 (CR (%))
- Metric 2 (EPC)
- Metric 3 (ROI)
- Total payout to the affiliate
- Total revenues
- Total profit (revenues - payout)
Request examples
GET https://{platform_domain}/api/v1.2/admin/offerStats/2026-11-09/2026-11-16/?country=RO&category=EXAMPLE
GET https://{platform_domain}/api/v1.2/admin/offerStats/2026-11-09/2026-11-16/?user_id=123&affiliate_group_id=1&offer_id=456&country=RO&category=EXAMPLE&groupBy=date
Response example
{
"data":[
[
"2026-11-09 - 2026-11-16",
1,
"Offer 0",
421808,
39228,
9414,
852,
666,
"0.00",
"12.3%",
"0.00",
0.67,
0.76,
0.09
],
[
"2026-11-09 - 2026-11-16",
2,
"Offer 2 mainstream CPC",
2097472,
31462,
11011,
1881,
503,
"0.03",
"40.1%",
"0.00",
9.56,
15.96,
6.4
]
],
"status":200
}
English
العربية
Dansk
Deutsch
Español
Suomi
Italiano
Português
Română
Українська
Русский
Svenska
中文