Get earnings data
Returns cursor-paginated invoice data for the authenticated creator over a specified time period.
Scope required:
read:insights
Headers
X-Fanvue-API-Key
X-Fanvue-API-Version
API version to use for the request
Query parameters
startDate
Start date as ISO 8601 datetime string with optional timezone offset (e.g., 2024-10-20T00:00:00+01:00 or 2024-10-20T00:00:00Z). Time component is ignored for daily aggregation.
endDate
End date as ISO 8601 datetime string with optional timezone offset (e.g., 2024-10-25T00:00:00+01:00 or 2024-10-25T00:00:00Z). Non-inclusive - data before this date is included. Time component is ignored for daily aggregation.
source
Comma-separated list of earning sources. Default: all
cursor
Cursor for pagination - If given, pass nextCursor
to get the next page.
size
Number of items to return per page (1-50, default: 20)
Response
Earnings data with cursor pagination
data
nextCursor
Cursor for next page, null if no more data