---
title: "Nn Curve Fit"
method: POST
path: "/quantlib/ml/nn/curve"
tags: ["quantlib-ml"]
---

# Nn Curve Fit

`POST /quantlib/ml/nn/curve`

## 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/nn/curve`
- Auth: API key in header `X-API-Key`

Fit yield curve using Neural Network

## Request body

- NNCurveRequest
  - `tenors` number[], required
  - `rates` number[], required
  - `query_tenors` number[], required
  - `hidden_layers` integer[]
  - `epochs` integer

## 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)
