Skip to content

Reports export

Exports aggregated performance statistics (traffic, deposits, bets, revenue and fees) as a GZIP-compressed CSV file, one row per combination of date, site, player, affiliate and offer for the requested day.

Request example

curl -X POST https://affiliatecontrol-api.com/external/exports/report \
  -H "x-access-key: ak_example123" \
  -H "x-secret-key: sk_example456" \
  -H "Content-Type: application/json" \
  -d '{
    "date": "2026-06-01",
    "site_id": ["site_abc"],
    "currency_code": "USD",
    "webhook_url": "https://example.com/hook"
  }'

Parameters:

  • date (String) REQUIRED: The single calendar day the report covers, in YYYY-MM-DD format. Each export returns aggregated statistics for exactly this one day — the full window from 00:00:00 to 23:59:59 UTC of the given date.
  • site_id (Array of String): Limit to specific sites. Defaults to all of your sites.
  • currency_code (String): Currency for money metrics. Defaults to your account's default currency.
  • webhook_url (String): URL notified when the file is ready.

Response:

{ "id": "export-id-here" }

Output fields

# Field Type Description
1 date_raw string (date) Date (the requested report day).
2 site_id string Site ID.
3 site_player_id string Player ID.
4 player_country_code string Player country code (ISO 3166-1 alpha-2).
5 affiliate_id string Affiliate ID.
6 affiliate_offer_id string Offer ID.
7 impressions_count number Promo Materials Impressions.
8 visits_count number Number of Visits.
9 registrations_count number Number of Registrations.
10 deposits_first_count number Number of First Deposits.
11 deposits_first_sum number Sum of First Deposits.
12 deposits_second_count number Number of Second Deposits.
13 deposits_second_sum number Sum of Second Deposits.
14 deposits_third_count number Number of Third Deposits.
15 deposits_third_sum number Sum of Third Deposits.
16 deposits_other_count number Number of Redeposits.
17 deposits_other_sum number Sum of Redeposits.
18 deposits_all_count number Number of all Deposits.
19 deposits_all_sum number Sum of all Deposits.
20 deposits_withdrawals_count number Number of Withdrawals.
21 deposits_withdrawals_sum number Sum of Withdrawals.
22 bet_new_count number Number of Bets.
23 bet_new_sum number Sum of Bets.
24 bet_new_sports_count number Number of Sports Bets.
25 bet_new_sports_sum number Sum of Sports Bets.
26 bet_new_games_count number Number of Casino/Slots/Etc Bets.
27 bet_new_games_sum number Sum of Casino/Slots/Etc Bets.
28 bet_result_sum number Win Sum — winnings sum (all).
29 bet_result_sports_sum number Winnings Sum from Sports.
30 bet_result_games_sum number Winnings Sum from Casino.
31 avg_bet_amount number Average Bet.
32 median_bet_amount number Median Bet.
33 avg_sports_bet_amount number Average Sports Bet.
34 median_sports_bet_amount number Median Sports Bet.
35 avg_games_bet_amount number Average Casino Bet.
36 median_games_bet_amount number Median Casino Bet.
37 deposit_bonus_count number Number of Bonuses for Deposit.
38 deposit_bonus_sum number Sum of Bonuses for Deposit.
39 profit_sum number GGR — Gross Gaming Revenue.
40 net_profit_sum number NGR — Net Gaming Revenue.
41 total_fees_sum number Total Fees — the sum of all commissions paid by the affiliate program.
42 deposit_fee_total_sum number Total Deposits Fee — commission of payment systems for processing deposits.
43 withdrawal_fee_total_sum number Total Withdrawal Fee — commission of payment systems for processing withdrawals.
44 sport_fee_total_sum number Total Sports Betting Fee — platform commission for the processing of sports bets.
45 casino_fee_total_sum number Total Casino Bets Fee — platform commission for processing bets in a casino.
46 gaming_tax_fee_total_sum number Total Gaming Tax — gaming tax assessed in accordance with the player's jurisdiction.
47 admin_fee_total_sum number Total Admin Fee — affiliate program platform commission for administration.
48 revenue_sum number Affiliate Income — revenue minus affiliate fees.
49 revshare_revenue_sum number Affiliate RS Income — RevShare revenue minus affiliate fees.
50 sports_revshare_revenue_sum number Affiliate RS Income (Sports) — RevShare revenue minus affiliate fees, sports only.
51 games_revshare_revenue_sum number Affiliate RS Income (Games) — RevShare revenue minus affiliate fees, games only.
52 cpa_revenue_sum number Affiliate CPA Income — CPA revenue.
53 affiliate_fees_sum number Affiliate Fees — part of the total commission amount distributed according to the percentage of RevShare between the partner and the partner program.
54 deposit_fee_affiliate_sum number Affiliate Deposits Fee — affiliate part of the commission of payment systems for deposits in accordance with the percentage of RevShare.
55 withdrawal_fee_affiliate_sum number Affiliate Withdrawal Fee — affiliate part of the commission of payment systems for withdrawals in accordance with the percentage of RevShare.
56 sport_fee_affiliate_sum number Affiliate Sports Betting Fee — affiliate part of the commission of the platform for the processing of sports bets.
57 casino_fee_affiliate_sum number Affiliate Casino Bets Fee — affiliate part of the platform commission for processing bets in the casino.
58 gaming_tax_fee_affiliate_sum number Affiliate Gaming Tax — affiliate part of the gaming tax.
59 admin_fee_affiliate_sum number Affiliate Admin Fee — affiliate part of the affiliate program platform commission for administration.
60 chargebacks_sum number Chargebacks — total sum of chargebacks.
61 project_roi number ROI — return on investment.
62 affiliate_program_profit_sum number Net Project Profit.
63 project_costs_sum number Project Costs — project costs amount.