curl --request GET \
--url https://api.kraken.com/affiliate/v1/daily-activity \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>'import requests
url = "https://api.kraken.com/affiliate/v1/daily-activity"
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"API-Nonce": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'API-Key': '<api-key>', 'API-Sign': '<api-key>', 'API-Nonce': '<api-key>'}
};
fetch('https://api.kraken.com/affiliate/v1/daily-activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/affiliate/v1/daily-activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("API-Nonce", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activity_date": "2026-09-16",
"currency": "USD",
"revision": "2026-09-17T00:14:02Z",
"generated_at": "2026-09-17T12:01:04Z",
"active_users": 1,
"totals": {
"spot_trading": {
"volume": "42110.20",
"fees": "38.20",
"commission": "11.46",
"event_count": 12,
"maker": {
"volume": "18400.00",
"fees": "9.20",
"commission": "2.76",
"event_count": 5
},
"taker": {
"volume": "23710.20",
"fees": "29.00",
"commission": "8.70",
"event_count": 7
}
}
},
"items": [
{
"masked_iiban": "UN7A",
"referee_reference": "jsd6ggr6qjrzmemn",
"plans": [
{
"referral_code": "EXAMPLE1",
"campaign": "tg-vip",
"referral_level": 1,
"enrolled_at": "2026-03-14T09:00:00Z",
"status": "active",
"earning": true,
"expires_at": "2027-03-14T09:21:07Z",
"products": {
"spot_trading": {
"volume": "42110.20",
"fees": "38.20",
"commission": "11.46",
"event_count": 12,
"maker": {
"volume": "18400.00",
"fees": "9.20",
"commission": "2.76",
"event_count": 5
},
"taker": {
"volume": "23710.20",
"fees": "29.00",
"commission": "8.70",
"event_count": 7
}
}
}
}
],
"iiban": "AA45N84GQK2VUN7A"
}
],
"limit": 50,
"opted_out": {
"suppressed": {}
}
}Get Daily Activity
Return one page of referred-user activity for the authenticated affiliate. The API returns activity for the account that owns the key, under its affiliate plan eligible for this API.
Two ways to request activity (use one per request):
- Day —
activity_date(YYYY-MM-DD). One page of enrolled referred users who had activity that UTC trade day and have not opted out, plus quiet users who enrolled that day and day-widetotals. Even a user who has never traded has an enrollment-day entry withenrolled_atand emptyproducts. Setall_users=trueto include all still-enrolled users enrolled by that day, regardless of trading. Opted-out users appear as existence stubs only withall_users=true; their individual activity is excluded fromitemsandtotals. Unenrolled users are omitted fromitemsonly; their activity stays intotals. - History —
iiban(one to ten full Kraken account identifiers, comma-delimited) with inclusivestart_dateandend_date. The same per-day entries for those people only. An opted-out user still enrolled by the end of the range returns one existence stub withoutactivity_date. Day-wide fields (totals,active_users,revision,estimated,opted_out) are omitted. Figures are never summed across days.
Sending both variants is a 400. Dates must be today or one of the previous 89 UTC
days. A future date or a date older than that window is a 400. An in-window day
with no activity or matching enrollments returns an empty page.
Monetary figures are decimal strings in the top-level currency (always USD
today): the reporting currency, not the payout asset. volume is omitted on
fee-only products (margin_rollover). maker and taker appear only on
execution products (spot, margin, futures, tokenized spot). Instant buy/sell
(ptl_trading, tokenized_equity_ptl_trading) and financing charges have no
liquidity side. Absence of maker/taker means unclassified, not zero.
When both are present they cover only the classified portion; the
difference from the product total is unclassified activity.
The products map is open-ended: ignore unknown keys. An absent key on a visible
entry means no reported activity for that product. On an opted-out stub,
empty or omitted products means withheld data, not zero activity.
Current keys: spot_trading, ptl_trading,
margin_trading, margin_rollover, futures_order_fill,
tokenized_equity_spot_trading, tokenized_equity_ptl_trading. Options is not
included.
Day-wide totals include activity from referred users who have not opted out,
including users omitted from items because they are not enrolled in your plan.
Activity from people who opted out may appear under opted_out as summary;
smaller groups are suppressed. Daily figures may differ from weekly payments:
totals exclude activity that cannot earn commission, activity from blocked
regions is shown separately, and this API groups by trade date while payments
group by when activity was recorded.
Opted-out stubs retain referee_reference, hour-truncated enrolled_at,
opted_out=true, and the plan’s referral_code with empty products.
They omit iiban, masked_iiban, and individual financial or plan-status details.
Stub presence is independent of trading; do not interpret a stub as zero activity.
Use referee_reference to match a referred user across days. masked_iiban is
the last four characters of the IIBAN and is not unique. Visible entries
also include the full iiban, which you can use for history requests. enrolled_at is
truncated to the hour.
revision (day variant, first page) is when this partner’s figures for that UTC
day were last written. Enrollments and opt-out changes do not advance it;
poll the roster even when revision is unchanged. Re-check the trailing 35 days
for late events. estimated is true when amounts for that calendar day are still an estimate.
Examples use synthetic identifiers, not customer account data. Replace example dates with dates inside the current 90-day window. Empty collections and zero-valued fields may be omitted; treat missing items or products as empty.
Successful responses are the object itself. Errors are a non-2xx
status with a typed error body, not a wrapped { "error", "result" }.
API Key Permissions Required: select the Query affiliate participants checkbox.
curl --request GET \
--url https://api.kraken.com/affiliate/v1/daily-activity \
--header 'API-Key: <api-key>' \
--header 'API-Nonce: <api-key>' \
--header 'API-Sign: <api-key>'import requests
url = "https://api.kraken.com/affiliate/v1/daily-activity"
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"API-Nonce": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'API-Key': '<api-key>', 'API-Sign': '<api-key>', 'API-Nonce': '<api-key>'}
};
fetch('https://api.kraken.com/affiliate/v1/daily-activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/affiliate/v1/daily-activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("API-Nonce", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activity_date": "2026-09-16",
"currency": "USD",
"revision": "2026-09-17T00:14:02Z",
"generated_at": "2026-09-17T12:01:04Z",
"active_users": 1,
"totals": {
"spot_trading": {
"volume": "42110.20",
"fees": "38.20",
"commission": "11.46",
"event_count": 12,
"maker": {
"volume": "18400.00",
"fees": "9.20",
"commission": "2.76",
"event_count": 5
},
"taker": {
"volume": "23710.20",
"fees": "29.00",
"commission": "8.70",
"event_count": 7
}
}
},
"items": [
{
"masked_iiban": "UN7A",
"referee_reference": "jsd6ggr6qjrzmemn",
"plans": [
{
"referral_code": "EXAMPLE1",
"campaign": "tg-vip",
"referral_level": 1,
"enrolled_at": "2026-03-14T09:00:00Z",
"status": "active",
"earning": true,
"expires_at": "2027-03-14T09:21:07Z",
"products": {
"spot_trading": {
"volume": "42110.20",
"fees": "38.20",
"commission": "11.46",
"event_count": 12,
"maker": {
"volume": "18400.00",
"fees": "9.20",
"commission": "2.76",
"event_count": 5
},
"taker": {
"volume": "23710.20",
"fees": "29.00",
"commission": "8.70",
"event_count": 7
}
}
}
}
],
"iiban": "AA45N84GQK2VUN7A"
}
],
"limit": 50,
"opted_out": {
"suppressed": {}
}
}Authorizations
Query Parameters
History variant: one to ten full IIBANs (Kraken account identifiers),
comma-delimited. Empty, duplicate, or malformed values are a 400.
Validity is a format check only, not account existence. An opted-out
user still enrolled by the end of the range returns one existence stub
without activity_date. Unknown or unattributed identifiers return an
empty result. Visible entries return the full iiban; opted-out stubs omit it.
1 - 350Day variant only. Include quiet users enrolled in your affiliate plan by the requested date who are still enrolled, including those enrolled more than 90 days ago. Users without reportable activity have empty products. Trading totals, active_users, and revision are unchanged. Using all_users=true with history returns 400. Keep this value unchanged when following next_cursor.
Response
One page of affiliate daily activity.
One page of affiliate daily activity.
Day variant, first page only. Count of enrolled users sharing reportable trading activity that day. Excludes quiet users and opted-out users, even when they appear in the roster. May be omitted when zero. Omitted on later pages; not a roster size or remaining-page count.
x >= 0Was this page helpful?