curl --request GET \
--url https://api-next.ofauth.com/v2/access/earnings/chart \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"monthlyTotal": [
{
"date": "<string>",
"net": 123,
"gross": 123
}
]
}Get time-series earnings data
Permission Required: earnings:read
curl --request GET \
--url https://api-next.ofauth.com/v2/access/earnings/chart \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>'{
"monthlyTotal": [
{
"date": "<string>",
"net": 123,
"gross": 123
}
]
}Requires a connection via the x-connection-id header.
Start of date range (ISO 8601)
End of date range (ISO 8601)
Earnings type to chart
total, messages, tips, stream, post, subscribes, tips_profile, tips_post, tips_chat, tips_stream, tips_story, ref Include total in response
Include monthly totals
Was this page helpful?