---
title: "Get Profitability History"
method: GET
path: "/api/analytics/financial/profitability/{account}/history"
tags: ["Analytics - Financial"]
---

# Get Profitability History

`GET /api/analytics/financial/profitability/{account}/history`

Get historical profitability data for a specific account over multiple months.

## Query parameters

- `account_prefixed_id` string, required — The account prefixed ID.
- `months` integer — Number of months of history to retrieve (1-60, default 12). Must be at least 1. Must not be greater than 60.

## Response `200`

- object[]
  - `year` integer
  - `month` integer
  - `gross_revenue` number
  - `net_revenue` number
  - `profit` number
  - `margin` number

---

[API](https://skmtc.net/onlyfansapi/apis/onlyfans-api.md) · [All operations](https://skmtc.net/onlyfansapi/apis/onlyfans-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onlyfansapi/onlyfans-api/revisions/4a99d36f28a3/schema)
