Server-Side

Get revenue for an app

Generates a daily aggregated report of the app'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

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v2/publishers/revenue
  • Auth
    API key in header X-S2S-Token

Query parameters

startDatestring date

start date of the revenue report

Example:2022-01-21
endDatestring date

end date of the revenue report

Example:2022-01-21

Response

OK

Example response

{
  "data": {
    "date_range": {
      "from": "2022-01-01T00:00:00Z",
      "to": "2022-01-01T00:00:00Z"
    },
    "reports": [
      {
        "date": "2022-01-01T00:00:00Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.