Reports API

GET /a/reports

Network-wide click, conversion, revenue and payout stats. Pick the columns with fields: dimension fields (date, campaignId, affiliateId, country, …) split the rows, metric fields (grossClicks, totalConv, profit, …) are totalled for each row. Filter by campaign, advertiser, affiliate or sub ID. The range is at most 31 days, both dates inclusive, in the timezone you choose. For one row per conversion use the Conversion Reports API.

Authentication

Domain ID — your network's tenant ID (header: X-Domain-Id)

API Key (header: X-Api-Key)

Secret Key (header: X-Api-Secret)

No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.

Parameters

NameInTypeRequiredDescription
startDatequerystring (date)NoFirst day of the report, YYYY-MM-DD, in the chosen timezone. Defaults to endDate (a one-day report).
endDatequerystring (date)NoLast day of the report (inclusive), YYYY-MM-DD, in the chosen timezone. Defaults to today; a future date is treated as today. Must be on or after startDate, and the range may cover at most 31 days.
timezonequerystringNoGMT offset the dates and the date/hour columns are in, e.g. +05:30 for India or -05:00 for New York. URL-encode the plus sign as %2B (timezone=%2B05:30); an unencoded + is also accepted. Default +00:00 (UTC).
campaignIdquerystringNoOnly include these campaigns: one ID or several separated by commas.
advertiserIdquerystringNoOnly include these advertisers: one ID or several separated by commas.
affiliateIdquerystringNoOnly include these affiliates: one ID or several separated by commas.
subAffiliate1querystringNoOnly include traffic whose sub ID 1 (the subAffiliate1 column) is one of these values, comma separated.
subAffiliate2querystringNoOnly include traffic whose sub ID 2 (the subAffiliate2 column) is one of these values, comma separated.
subAffiliate3querystringNoOnly include traffic whose sub ID 3 (the subAffiliate3 column) is one of these values, comma separated.
subAffiliate4querystringNoOnly include traffic whose sub ID 4 (the subAffiliate4 column) is one of these values, comma separated.
subAffiliate5querystringNoOnly include traffic whose sub ID 5 (the subAffiliate5 column) is one of these values, comma separated.
subAffiliate6querystringNoOnly include traffic whose sub ID 6 (the subAffiliate6 column) is one of these values, comma separated.
subAffiliate7querystringNoOnly include traffic whose sub ID 7 (the subAffiliate7 column) is one of these values, comma separated.
subAffiliate8querystringNoOnly include traffic whose sub ID 8 (the subAffiliate8 column) is one of these values, comma separated.
subAffiliate9querystringNoOnly include traffic whose sub ID 9 (the subAffiliate9 column) is one of these values, comma separated.
subAffiliate10querystringNoOnly include traffic whose sub ID 10 (the subAffiliate10 column) is one of these values, comma separated.
fieldsqueryarrayNoColumns to return, comma separated; an unknown name is a 422. Dimensions (split rows): date, time, hour, month, campaignId, advertiserId, affiliateId, campaignName, advertiserName, affiliateName, currency, ip, country, region, city, isp, proxy, clickId, impressionId, affClickId, landingPage, subAffiliate1 … subAffiliate10, event, status, statusType, subAdvertiser1 … subAdvertiser6, couponCode, source, googleAid, androidId, deviceId, creativeId, iosIdfa, deviceType, deviceBrand, browser, browserVersion, os, osVersion. Metrics (totalled per row): grossClicks, approvedClicks, rejectedClicks, uniqueClicks, clicks, grossImpressions, uniqueImpressions, totalConv, convApproved, convPending, convRejected, advertiserPrice, advertiserPriceApproved, advertiserPricePending, advertiserPriceRejected, affiliatePayout, affiliatePayoutApproved, affiliatePayoutPending, affiliatePayoutRejected, sale, saleApproved, salePending, saleRejected, profit, profitApproved, profitPending, profitRejected, profitTotalMinusApproved, advertiserModel, affiliateModel, ctr, epc, cpc, erpm, ecpm, ecostPerConversion, erevenuePerConversion, approvedClicksPerGrossConv, totalCr, approvedCr, pendingCr, rejectedCr. advertiserPrice is what advertisers pay you, affiliatePayout what you pay affiliates, profit the difference. Default: date, campaignId, advertiserId, affiliateId, campaignName, advertiserName, affiliateName, grossClicks, uniqueClicks, totalConv, convApproved.
sortByquerystringNoColumn to sort rows by: clicks (gross clicks), uniqueClicks, totalConv, date, time or hour. Default clicks.
sortOrderquerystringNoasc (smallest first) or desc (largest first). Default desc.
pagequeryintegerNoPage of rows to return, starting at 1. meta.pagination.totalPages says how many there are.
limitqueryintegerNoRows per page, 1–1000. Default 100.

Responses

StatusDescription
200Report rows. Each row has exactly the requested fields.
400Authentication parameters missing (X-Domain-Id, X-Api-Key, X-Api-Secret)
401Invalid API key or secret
403Calling IP not on the key's allowlist, or API access not in your plan
422A parameter is invalid, or the range is longer than 31 days
429Rate limit reached (120 requests a minute per API key). Wait for Retry-After seconds.
500Server error

Example data

[
    {
        "date": "2026-11-18",
        "campaignId": 101,
        "affiliateId": 5001,
        "grossClicks": 1520,
        "uniqueClicks": 1312,
        "totalConv": 48,
        "advertiserPrice": 288,
        "affiliatePayout": 240,
        "profit": 48,
        "currency": "USD"
    }
]