Pointify Travels Mistake Fares API

Mistake fare detection using historical price analysis

GitHub OpenAPI

Operations 3

GET /api/mistake-fares List Mistake Fares #
GET /api/mistake-fares/check Check Mistake Fare #
GET /api/v1/mistake-fares List Redis Mistake Fares #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pointifytravels-com:pointifytravels-com-mistake-fares-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pointifytravels-com-mistake-fares-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pointify Deal Engine Mistake Fares API
  description: 'Enterprise travel search API powering the Pointify Travel Platform.


    Aggregates flights from Duffel, SerpAPI, and Seats.aero with advanced fare intelligence including self-connect routing, fare prediction, and geo-pricing.


    **Authentication**: Pass your API key via `Authorization: Bearer pt_live_...` header.

    Requests without an API key are allowed for first-party web-app access.'
  contact:
    name: Pointify Travel Technologies
    url: https://pointifytravels.com/
    email: api@pointifytravels.com
  license:
    name: Proprietary
  version: 1.0.0
tags:
- name: mistake-fares
  description: Mistake fare detection using historical price analysis
paths:
  /api/mistake-fares:
    get:
      tags:
      - mistake-fares
      summary: List Mistake Fares
      description: 'Return currently detected mistake fares (>60% below 30-day average).


        Queries the ``fare_history`` Postgres table populated by the fare

        scheduler. Returns routes where the latest observed price is more than

        60% below the rolling 30-day average, sorted by discount percentage.'
      operationId: list_mistake_fares_api_mistake_fares_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/mistake-fares/check:
    get:
      tags:
      - mistake-fares
      summary: Check Mistake Fare
      description: '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.'
      operationId: check_mistake_fare_api_mistake_fares_check_get
      parameters:
      - name: origin
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 3
          title: Origin
      - name: destination
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 3
          title: Destination
      - name: price
        in: query
        required: true
        schema:
          type: number
          exclusiveMinimum: 0
          title: Price
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mistake-fares:
    get:
      tags:
      - mistake-fares
      summary: List Redis Mistake Fares
      description: 'Return top real-time mistake fares (and optionally deals) from Redis fare history.


        Scans the Redis sorted sets built by live search results

        (``fare_history:{origin}:{destination}:{cabin_class}``). For each

        tracked route the latest observed price is scored against the median

        of the cached history. Routes where the latest fare is >50% below

        the median are classified as ``"mistake_fare"`` and always returned.


        When ``include_deals=true``, routes labeled ``"deal"`` (>30% below

        median) are also surfaced. This is what the marketing site''s

        ``/api/deals/mistake-fares`` proxy requests so users see something

        whenever any route is meaningfully discounted, not only when there

        is a dramatic 50%+ outlier.


        Unlike the Postgres-backed ``/mistake-fares`` endpoint, this endpoint

        reflects fares seen in the current search session and updates in

        near-real-time as users run searches.


        Returns at most ``limit`` results (default 10, max 50), sorted by

        ``savings_pct`` descending across both labels.'
      operationId: list_redis_mistake_fares_api_v1_mistake_fares_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 10
          title: Limit
      - name: include_deals
        in: query
        required: false
        schema:
          type: boolean
          description: When true, also include routes labeled 'deal' (>30% below median) alongside 'mistake_fare' (>50% below). Default false preserves the prior contract for existing callers.
          default: false
          title: Include Deals
        description: When true, also include routes labeled 'deal' (>30% below median) alongside 'mistake_fare' (>50% below). Default false preserves the prior contract for existing callers.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError