---
title: "Get Revenue Forecast"
method: POST
path: "/api/analytics/financial/forecast"
tags: ["Analytics - Financial"]
---

# Get Revenue Forecast

`POST /api/analytics/financial/forecast`

Generate revenue or churn forecasts using statistical models (Moving Average, Linear Regression, ARIMA, SARIMA).

## Request body

- object
  - `account_ids` string[], required — Array of account prefixed IDs
  - `metric` 'revenue' | 'churn_percentage', required — The metric to forecast
  - `model` 'moving_average' | 'linear_regression' | 'arima' | 'sarima', required — The forecasting model to use
  - `historical_days` integer, required — Number of historical days to analyze (30-730)
  - `forecast_days` integer, required — Number of days to forecast (7-365)

## Response `200`

- object
  - `metric` string
  - `model` string
  - `historical` object[]
    - `date` string
    - `value` number
  - `forecast` object[]
    - `date` string
    - `value` 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)
