---
title: "Compare Assets"
method: POST
path: "/api/compare"
---

# Compare Assets

`POST /api/compare`

## Request

- Base URL: `https://api.getsigvest.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getsigvest.com/api/compare`
- Auth: OAuth 2 (password, token URL `api/auth/login`)

Compare suggested stocks vs portfolio

## Request body

- AIQuery
  - `user_id` string, required
  - `prompt` string, required
  - `timeframe` string, nullable
  - `model` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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