Reports API
GET
/a/reportsThis endpoint is deprecated and may be removed in a future version.
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
startDate | query | string (date) | No | First day of the report, YYYY-MM-DD, in the chosen timezone. Defaults to endDate (a one-day report). |
endDate | query | string (date) | No | Last 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. |
timezone | query | string | No | GMT 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). |
campaignId | query | string | No | Only include these campaigns: one ID or several separated by commas. |
advertiserId | query | string | No | Only include these advertisers: one ID or several separated by commas. |
affiliateId | query | string | No | Only include these affiliates: one ID or several separated by commas. |
subAffiliate1 | query | string | No | Only include traffic whose sub ID 1 (the subAffiliate1 column) is one of these values, comma separated. |
subAffiliate2 | query | string | No | Only include traffic whose sub ID 2 (the subAffiliate2 column) is one of these values, comma separated. |
subAffiliate3 | query | string | No | Only include traffic whose sub ID 3 (the subAffiliate3 column) is one of these values, comma separated. |
subAffiliate4 | query | string | No | Only include traffic whose sub ID 4 (the subAffiliate4 column) is one of these values, comma separated. |
subAffiliate5 | query | string | No | Only include traffic whose sub ID 5 (the subAffiliate5 column) is one of these values, comma separated. |
subAffiliate6 | query | string | No | Only include traffic whose sub ID 6 (the subAffiliate6 column) is one of these values, comma separated. |
subAffiliate7 | query | string | No | Only include traffic whose sub ID 7 (the subAffiliate7 column) is one of these values, comma separated. |
subAffiliate8 | query | string | No | Only include traffic whose sub ID 8 (the subAffiliate8 column) is one of these values, comma separated. |
subAffiliate9 | query | string | No | Only include traffic whose sub ID 9 (the subAffiliate9 column) is one of these values, comma separated. |
subAffiliate10 | query | string | No | Only include traffic whose sub ID 10 (the subAffiliate10 column) is one of these values, comma separated. |
fields | query | array | No | Columns 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. |
sortBy | query | string | No | Column to sort rows by: clicks (gross clicks), uniqueClicks, totalConv, date, time or hour. Default clicks. |
sortOrder | query | string | No | asc (smallest first) or desc (largest first). Default desc. |
page | query | integer | No | Page of rows to return, starting at 1. meta.pagination.totalPages says how many there are. |
limit | query | integer | No | Rows per page, 1–1000. Default 100. |
Responses
| Status | Description |
|---|---|
| 200 | Report rows. Each row has exactly the requested fields. |
| 400 | Authentication parameters missing (X-Domain-Id, X-Api-Key, X-Api-Secret) |
| 401 | Invalid API key or secret |
| 403 | Calling IP not on the key's allowlist, or API access not in your plan |
| 422 | A parameter is invalid, or the range is longer than 31 days |
| 429 | Rate limit reached (120 requests a minute per API key). Wait for Retry-After seconds. |
| 500 | Server 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"
}
]