---
# System prepended metadata

title: Flight Fare

---

---
title : Flight Fare
description : Untuk melihat harga terupdate
---

Flight Fare
===

[TOC]

#### Endpoint 
> https://api-dev.fastravel.co.id/flight/fare

#### Request
```
{
    "airline": "TPJT",
    "departure": "CGK",
    "arrival": "DPS",
    "departureDate": "2020-08-26",
    "returnDate": "2020-08-26",
    "adult": 1,
    "child": 0,
    "infant": 0,
    "seats": [
        "9;M0_C0_F0_S18;V;558600;07:00;lion-with-tpjts;;2020-08-26;04:10;07:00;JT34;CGK;DPS"
    ],
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImp0aSI6IjhkNzNtbmc4OWVkIn0.eyJpc3MiOiJodHRwOlwvXC9hcGkuZmFzdHJhdmVsLmNvLmlkIiwiYXVkIjoiRmFzdHJhdmVsQjJCIENsaWVudCIsImp0aSI6IjhkNzNtbmc4OWVkIiwiaWF0IjoxNTk1NjA3NjA1LCJuYmYiOjE1OTU2MDc2NjQsImV4cCI6MTU5NTYxMTIwNCwib3V0bGV0SWQiOiJISDEzNDgzIiwicGluIjoiOTQwNTQ2Iiwia2V5IjoiRkFTVFBBWSJ9.Dh1srT_Z06Z2aymnt-SWLkelt5JfZ7zN9B6Av1h2NBc"
}
```

#### Response 
##### Normal Response (Adult 1 Child 0 Infant 0)
```
{
    "data": {
        "departureTime": "07:00",
        "arrivalTime": "09:50",
        "price": "887600",
        "baggage": "20",
        "settings": {
            "TPQZ": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "AIR ASIA",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-airasia.png",
                "switcherId": "1"
            },
            "TPQG": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "CITILINK",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-citilink.png",
                "switcherId": "1"
            },
            "TPXN": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "EXPRESS AIR",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "0",
                "icon": "http://static.bebasbayar.com/maskapai/logo-expressair.png",
                "switcherId": "1"
            },
            "TPGA": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "GARUDA INDONESIA",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-garuda.png",
                "switcherId": "1"
            },
            "TPKP": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "KALSTAR AVIATION",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-kalstar.png",
                "switcherId": "1"
            },
            "TPJT": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "LION AIR",
                "isCaptcha": "1",
                "isInfant": "1",
                "isChild": "0",
                "icon": "http://static.bebasbayar.com/maskapai/logo-lionair.png",
                "switcherId": "1"
            },
            "TPSJ": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "SRIWIJAYA",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-sriwijaya.png",
                "switcherId": "1"
            },
            "TPMV": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "TRANS NUSA",
                "isCaptcha": "0",
                "isInfant": "0",
                "isChild": "0",
                "icon": "http://static.bebasbayar.com/maskapai/logo-transnusa.png",
                "switcherId": "1"
            },
            "TPTN": {
                "isActive": "1",
                "customAdmin": "null",
                "airlineName": "TRIGANA AIR",
                "isCaptcha": "0",
                "isInfant": "1",
                "isChild": "1",
                "icon": "http://static.bebasbayar.com/maskapai/logo-trigana.png",
                "switcherId": "1"
            }
        }
    },
    "rc": "00",
    "rd": "Success",
    "mid": "4222404812",
    "invoking": "Fare Flight",
    "processingTime": "2.1388559341431 Second"
}
```

##### Negative response
```
{
    "rc": "67",
    "rd": "TANGGAL KEBERANGKATAN TIDAK VALID, SILAHKAN MENGULANGI PROSES PENCARIAN KURSI",
    "mid": "4222376029",
    "invoking": "Fare Flight",
    "processingTime": "0.17232513427734 Second"
}
```