Skip to content

Get affiliate earnings over time

GET
/affiliates/rewards/overall
curl --request GET \
--url https://api.proxyrequest.com/api/v1/affiliates/rewards/overall \
--header 'Authorization: Bearer <token>'

Returns affiliate reward totals for the requested date range. start, end, and timezone use the same rules as analytics endpoints.

The operation completed successfully.

Media typeapplication/json
object
results
required
Array<object>
object
date
string format: date
balance
number format: double
data
integer
count
integer
Examples
ExampleAffiliateTotals

Affiliate totals

{
"results": [
{
"date": "2026-07-01",
"balance": 42.5,
"data": 1073741824,
"count": 3
}
]
}

The request is malformed or violates a business rule.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
translation

Stable translation key suitable for client localisation.

string
key
additional properties
One of:
string
Examples
ExampleValidationError

Validation error

{
"non_field_errors": [
"The request could not be processed."
],
"translation": "errors.request.invalid"
}

Authentication credentials are missing, expired, or invalid.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
translation

Stable translation key suitable for client localisation.

string
key
additional properties
One of:
string
Examples
ExampleAuthenticationRequired

Authentication required

{
"detail": "Authentication credentials were not provided."
}

The authenticated account cannot perform this operation.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
translation

Stable translation key suitable for client localisation.

string
key
additional properties
One of:
string
Examples
ExamplePermissionDenied

Permission denied

{
"detail": "You do not have permission to perform this action."
}