---
title: "Price Calculator"
method: POST
path: "/v3/price_calculator/"
tags: ["price_calculator"]
---

# Price Calculator

`POST /v3/price_calculator/`

Endpoint to retrieve price calculations based on flight data.

## Request body

- PriceCalculatorRequest
  - `aircraft` string, required — Aircraft tail number
  - `aircraft_id` integer — Aircraft profile id. Helps find exact aircraft.
  - `aircraft_profile_id` integer — Aircraft profile id. Helps find exact aircraft profile.
  - `quote_date_utc` string, date-time — Quote date in UTC format "YYYY-MM-DDThh:mm"
  - `price_profile` string — Price profile name. Helps to use exact price profile.
  - `use_schedule` boolean — Use schedule for price calculation.
  - `currency` string — Currency code. Format: "USD", "EUR" etc.
  - `flights` PriceCalculatorRequestFlight[], required — List of flights for price calculation.
    - `departure_airport` string, required — Departure airport ICAO code / IATA code / Local identifier.
    - `arrival_airport` string, required — Arrival airport ICAO code / IATA code / Local identifier.
    - `pax` integer — Number of passengers.
    - `departure_datetime_utc` string, date-time — UTC datetime of departure in format "YYYY-MM-DDThh:mm".
    - `flight_time` integer — Flight time in minutes.
    - `flight_distance_km` integer — Flight distance in kilometers.
    - `is_ferry` boolean — Is ferry flight.
    - `to_fuel_stop` boolean — Is fuel stop.
    - `return_policy` string — Return policy.
    - `include_ferry` boolean — Include ferry.
    - `crossed_countries` string[] — List of countries crossed during the flight. Format Alpha2, exp: ["US", "CA"]

## Response `200`

- PriceCalculatorResponse
  - `price` number, double, required — Total price for the flight.
  - `operations` PriceCalculatorResponseOperations[] — List of operations.
    - `name` string, required — Operation name.
    - `amount` number, double, required — Amount.

## Other responses

- `400`
- `429`

---

[API](https://skmtc.dev/aviapages/apis/aviapages-api-documentation.md) · [All operations](https://skmtc.dev/aviapages/apis/aviapages-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aviapages/aviapages-api-documentation/revisions/c9d946178412/schema)
