---
title: "Check Mistake Fare"
method: GET
path: "/api/mistake-fares/check"
tags: ["mistake-fares"]
---

# Check Mistake Fare

`GET /api/mistake-fares/check`

## Request

- Base URL: `https://api.pointifytravels.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pointifytravels.com/api/mistake-fares/check`
- Auth: none declared

Check whether a specific fare is anomalously cheap for its route.

Compares ``price`` against the 30-day average from the ``fare_history``
Postgres table.  Returns an anomaly dict when the price is >40% below
the average (minimum 5 data points required), or ``{"is_anomaly": false}``
otherwise.

## Query parameters

- `origin` string, required
- `destination` string, required
- `price` number, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine.md) · [All operations](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/revisions/4350142a4216?raw)
