---
title: "Financial Ratio Features"
method: POST
path: "/quantlib/ml/features/financial-ratios"
tags: ["quantlib-ml"]
---

# Financial Ratio Features

`POST /quantlib/ml/features/financial-ratios`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/quantlib/ml/features/financial-ratios`
- Auth: API key in header `X-API-Key`

Compute financial ratio features from per-period statement line items.

`data` maps IncomeStatement / BalanceSheet / CashFlowStatement field names
(revenue, net_income, total_assets, cash_from_operations, ...) to per-period
values, oldest first; all series must have the same length. Returns the ratios
for every period (the prior period's balance sheet feeds the turnover ratios)
and for the latest one. Ratios whose inputs were not supplied are omitted.

## Request body

- FinancialRatiosRequest
  - `data` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fincept/apis/fincept-api.md) · [All operations](https://skmtc.dev/fincept/apis/fincept-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fincept/apis/fincept-api/revisions/e9c0076ea55a?raw)
