Get revenue for publisher
Generates a daily aggregated report of the publisher's revenue. Each entry includes the date and the revenue earned from various streams such as surveys, offers, magic receipts, and more.
GET
/v2/publishers/revenue
curl \
--request GET https://api.bitlabs.ai/v2/publishers/revenue \
--header "X-S2S-Token: $API_KEY"
Response examples (200)
{
"data": {
"date_range": {
"from": "2022-01-01T00:00:00Z",
"to": "2022-01-01T00:00:00Z"
},
"reports": [
{
"date": "2022-01-01T00:00:00Z",
"survey": {
"revenue_usd": 42.0,
"reconciliation_usd": 42.0
},
"offer": {
"revenue_usd": 42.0,
"reconciliation_usd": 42.0
},
"receipt": {
"revenue_usd": 42.0
},
"total": {
"revenue_usd": 42.0,
"reconciliation_usd": 42.0
}
}
]
}
}