API Reference

Pesquisa de IDA e Volta - Paginada

A API de Voos permite que desenvolvedores e aplicativos acessem informações sobre voos, incluindo horários, itinerários, aeroportos e companhias aéreas.

A API de Voos permite que desenvolvedores e aplicativos acessem informações sobre voos, incluindo horários, itinerários, aeroportos e companhias aéreas. Esta API utiliza paginação para retornar os dados de forma eficiente, permitindo que os usuários naveguem pelos resultados de forma mais ágil.

Autenticação

Para utilizar a API de Comparação de Tarifas de Voos, é necessário obter uma chave de API (API key). Essa chave deve ser incluída no cabeçalho de cada solicitação feita à API, como mostrado no exemplo abaixo:

Siga os passos da documentação para obter o token de acesso: https://moblix.readme.io/reference/apitoken

Requisição

Se você deseja que no retorno dos dados a volta seja informada no mesmo objeto da ida, preencha o ida da CIA como "-1"

Exemplo de requisição:

{  
  "Origem": "CGH",  
  "Destino": "SSA",  
  "Ida": "2023-07-15",  
  "Volta": "2023-07-20",  
  "Adultos": 1,  
  "Criancas": 0,  
  "Bebes": 0,  
  "Companhia": -1,
  "NumeroPagina": 1,
  "QuantidadePorPagina": 10
}

Dessa forma, a API retornará todas as cias disponíveis. Alternativamente, basta deixar o campo "Companhia" como nulo, para obter o mesmo resultado.

Importante: por ser paginada, a pesquisa retorna os dados a medida que eles são encontrados. Por isso, ao fazer a requisição, observe o valor no campo "Completed". Se estiver como "false", faça a requisição novamente até obter o resultado "true".

Resposta paginada

A resposta da API incluirá informações sobre a paginação no campo pagination do objeto JSON retornado. Este campo incluirá informações como o número total de páginas, a página atual e o número total de itens. Exemplo de resposta paginada:

Recursos disponíveis

Listar voos
Endpoint: POST /ConsultaAereo/Consultar

****Parâmetros disponíveis:

  • NumeroPagina: (opcional) número da página atual (padrão: 1)
  • QuantidadePorPagina: (opcional) número de voos por página (padrão: 10)
  • origem: (opcional) código do aeroporto de origem
  • destino: (opcional) código do aeroporto de destino
  • ida: data de partida no formato "YYYY-MM-DD"
  • volta: (opcional) data de partida no formato "YYYY-MM-DD"
  • Adultos:
  • Crianças
  • Bebes
  • Companhia: "-1" para receber todas as cias.

Exemplo de resposta:

{
    "TotalItens": 60,
    "Completed": false,
    "Success": true,
    "HasResult": true,
    "Erro": null,
    "MensagemErro": null,
    "Data": [
        {
            "flights": [
                {
                    "validatingBy": {
                        "name": "Azul",
                        "iata": "AD"
                    },
                    "fareGroup": {
                        "reCharging": false,
                        "currency": "BRL",
                        "priceWithTax": 1678.58,
                        "priceWithoutTax": 1598.19,
                        "priceInCompany": 1678.58,
                        "percentualEconomia": 0.0,
                        "fares": [
                            {
                                "passengersType": "ADT",
                                "passengersCount": 1,
                                "priceWithTax": 1678.5800000000002,
                                "priceWithoutTax": 1598.19,
                                "taxes": null
                            }
                        ]
                    },
                    "segments": [
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T12:50:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-15T19:20:00",
                            "rateToken": "b191688dcd4e41ecb967da50ace716b8",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 390,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4269,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T12:50:00",
                                    "arrivalDate": "2023-07-15T15:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 2653,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 85,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-15T17:55:00",
                                    "arrivalDate": "2023-07-15T19:20:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T12:50:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-15T20:10:00",
                            "rateToken": "5700bb490c0a47569332f29ea21e092f",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 440,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4269,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T12:50:00",
                                    "arrivalDate": "2023-07-15T15:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 9091,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 115,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-15T18:15:00",
                                    "arrivalDate": "2023-07-15T20:10:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T12:50:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-15T23:45:00",
                            "rateToken": "e525595c34214db2a54b487eee781c46",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 655,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4269,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T12:50:00",
                                    "arrivalDate": "2023-07-15T15:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4429,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 85,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-15T22:20:00",
                                    "arrivalDate": "2023-07-15T23:45:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T12:50:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-16T04:05:00",
                            "rateToken": "bb6f785bcb44459181b2837e0d7a5c37",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 915,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4269,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T12:50:00",
                                    "arrivalDate": "2023-07-15T15:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 9216,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 80,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-16T02:45:00",
                                    "arrivalDate": "2023-07-16T04:05:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T17:55:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-15T23:45:00",
                            "rateToken": "dbebc69c1d02483abf71c1b44a711d80",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 350,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4250,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T17:55:00",
                                    "arrivalDate": "2023-07-15T21:00:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4429,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 85,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-15T22:20:00",
                                    "arrivalDate": "2023-07-15T23:45:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T17:55:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-16T04:05:00",
                            "rateToken": "8adfb06fbcd048129ef24b4e79ac43d8",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 610,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4250,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 185,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T17:55:00",
                                    "arrivalDate": "2023-07-15T21:00:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 9216,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 80,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-16T02:45:00",
                                    "arrivalDate": "2023-07-16T04:05:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T21:55:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-16T04:05:00",
                            "rateToken": "808f51e76abb4fd3843993e5d581c48d",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 370,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4662,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 180,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T21:55:00",
                                    "arrivalDate": "2023-07-16T00:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 9216,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 80,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-16T02:45:00",
                                    "arrivalDate": "2023-07-16T04:05:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "CGH",
                            "departureDate": "2023-07-15T21:55:00",
                            "arrival": "SSA",
                            "arrivalDate": "2023-07-16T13:55:00",
                            "rateToken": "065fdabbec92464da662328480f7a3df",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 0,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 960,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4662,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 180,
                                    "departure": "CGH",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-15T21:55:00",
                                    "arrivalDate": "2023-07-16T00:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4843,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 85,
                                    "departure": "REC",
                                    "arrival": "SSA",
                                    "departureDate": "2023-07-16T12:30:00",
                                    "arrivalDate": "2023-07-16T13:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "CGH-REC_REC-SSA",
                            "ValorSegmento": 798.83,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        }
                    ],
                    "segmentsBack": [
                        {
                            "departure": "SSA",
                            "departureDate": "2023-07-20T00:35:00",
                            "arrival": "CGH",
                            "arrivalDate": "2023-07-20T06:45:00",
                            "rateToken": "b79ceeda7c4b4cee8a2ace18682a3345",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 1,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 370,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 9191,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 80,
                                    "departure": "SSA",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-20T00:35:00",
                                    "arrivalDate": "2023-07-20T01:55:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4716,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 200,
                                    "departure": "REC",
                                    "arrival": "CGH",
                                    "departureDate": "2023-07-20T03:25:00",
                                    "arrivalDate": "2023-07-20T06:45:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "SSA-REC_REC-CGH",
                            "ValorSegmento": 799.36,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        },
                        {
                            "departure": "SSA",
                            "departureDate": "2023-07-20T06:00:00",
                            "arrival": "CGH",
                            "arrivalDate": "2023-07-20T11:25:00",
                            "rateToken": "3e897902735b4fe3a591dac56b24934a",
                            "TokenConsultaMBX": "820_Azul_f5e20a2f7c1241fbb4ceb95ea534f0b6",
                            "packageGroup": null,
                            "routeRPH": 1,
                            "rph": 0,
                            "numberOfStops": 1,
                            "fareType": null,
                            "duration": 325,
                            "fareProfile": {
                                "baggage": null,
                                "services": [
                                    {
                                        "type": "HAND_LUGGAGE",
                                        "isIncluded": true,
                                        "description": "1 bagagem de mão"
                                    }
                                ],
                                "fareFamily": null,
                                "fareFamilyId": null,
                                "fareFamilyProgramId": null
                            },
                            "legs": [
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 2730,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 75,
                                    "departure": "SSA",
                                    "arrival": "REC",
                                    "departureDate": "2023-07-20T06:00:00",
                                    "arrivalDate": "2023-07-20T07:15:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                },
                                {
                                    "managedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "operatedBy": {
                                        "name": "Azul",
                                        "iata": "AD"
                                    },
                                    "status": null,
                                    "flightNumber": 4251,
                                    "numberOfStops": 0,
                                    "stops": null,
                                    "duration": 200,
                                    "departure": "REC",
                                    "arrival": "CGH",
                                    "departureDate": "2023-07-20T08:05:00",
                                    "arrivalDate": "2023-07-20T11:25:00",
                                    "aircraftCode": null,
                                    "seatClass": {
                                        "code": null,
                                        "description": "Economica"
                                    },
                                    "fareBasis": null,
                                    "fareClass": null
                                }
                            ],
                            "FidelityProgram": "Azul",
                            "IdCiaResponsavel": 3,
                            "ConfiguracoesRotas": "SSA-REC_REC-CGH",
                            "ValorSegmento": 799.36,
                            "PontosAdulto": 0.0,
                            "PontosCrianca": 0.0
                        }
                    ],
                    "ConfiguracoesRotas": [
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA",
                        "CGH-REC_REC-SSA"
                    ],
                    "typeFlight": 1,
                    "typeFlightStr": "moblix",
                    "FlyTime": {
                        "FasterGoing": 350,
                        "FasterBack": 325,
                        "Total": 675
                    }
                }
            ],
            "meta": {
                "statusExecution": null,
                "countFlights": 0,
                "countPriceGroups": 0,
                "price": null,
                "priceMatrix": null,
                "routes": null,
                "airports": [
                    {
                        "name": "Porto Seguro Airport",
                        "iata": "BPS",
                        "stop": false,
                        "location": {
                            "name": "Porto Seguro"
                        },
                        "internacional": false
                    },
                    {
                        "name": "Santos Dumont Airport",
                        "iata": "SDU",
                        "stop": false,
                        "location": {
                            "name": "Rio de Janeiro - Santos Dumont"
                        },
                        "internacional": false
                    },
                    {
                        "name": "Deputado Luiz Eduardo Magalhaes International Airport",
                        "iata": "SSA",
                        "stop": false,
                        "location": {
                            "name": "Salvador"
                        },
                        "internacional": false
                    },
                    {
                        "name": "Guararapes - Gilberto Freyre International Airport",
                        "iata": "REC",
                        "stop": false,
                        "location": {
                            "name": "Recife"
                        },
                        "internacional": false
                    },
                    {
                        "name": "Congonhas Airport",
                        "iata": "CGH",
                        "stop": false,
                        "location": {
                            "name": "São Paulo - Congonhas"
                        },
                        "internacional": false
                    },
                    {
                        "name": "Tancredo Neves International Airport",
                        "iata": "CNF",
                        "stop": false,
                        "location": {
                            "name": "Belo Horizonte - Confins"
                        },
                        "internacional": false
                    }
                ],
                "TotalGroups": 60,
                "WayFilter": {
                    "Stops": [
                        {
                            "Key": 1,
                            "Value": 204
                        }
                    ],
                    "Airlines": [
                        "Azul"
                    ],
                    "DepartureDate": [
                        "2023-07-15T06:05:00",
                        "2023-07-15T06:35:00",
                        "2023-07-15T07:35:00",
                        "2023-07-15T07:55:00",
                        "2023-07-15T08:45:00",
                        "2023-07-15T09:00:00",
                        "2023-07-15T10:25:00",
                        "2023-07-15T12:50:00",
                        "2023-07-15T14:45:00",
                        "2023-07-15T16:20:00",
                        "2023-07-15T17:55:00",
                        "2023-07-15T21:55:00"
                    ],
                    "ArrivalDate": [
                        "2023-07-15T09:50:00",
                        "2023-07-15T13:45:00",
                        "2023-07-15T14:05:00",
                        "2023-07-15T18:55:00",
                        "2023-07-15T19:20:00",
                        "2023-07-15T20:10:00",
                        "2023-07-15T21:50:00",
                        "2023-07-15T23:45:00",
                        "2023-07-16T04:05:00",
                        "2023-07-16T13:55:00"
                    ],
                    "Prices": null,
                    "Departure": [
                        "CGH"
                    ],
                    "Arrival": [
                        "SSA"
                    ],
                    "Total": 204
                },
                "ReturnFilter": {
                    "Stops": [
                        {
                            "Key": 1,
                            "Value": 420
                        }
                    ],
                    "Airlines": [
                        "Azul"
                    ],
                    "DepartureDate": [
                        "2023-07-20T00:35:00",
                        "2023-07-20T03:40:00",
                        "2023-07-20T06:00:00",
                        "2023-07-20T09:20:00",
                        "2023-07-20T10:40:00",
                        "2023-07-20T11:35:00",
                        "2023-07-20T14:20:00",
                        "2023-07-20T14:45:00",
                        "2023-07-20T15:15:00",
                        "2023-07-20T20:20:00"
                    ],
                    "ArrivalDate": [
                        "2023-07-20T06:45:00",
                        "2023-07-20T09:40:00",
                        "2023-07-20T11:15:00",
                        "2023-07-20T11:25:00",
                        "2023-07-20T12:55:00",
                        "2023-07-20T13:55:00",
                        "2023-07-20T15:00:00",
                        "2023-07-20T16:10:00",
                        "2023-07-20T17:25:00",
                        "2023-07-20T19:25:00",
                        "2023-07-20T20:45:00",
                        "2023-07-20T22:25:00",
                        "2023-07-21T06:45:00"
                    ],
                    "Prices": null,
                    "Departure": [
                        "SSA"
                    ],
                    "Arrival": [
                        "CGH"
                    ],
                    "Total": 420
                },
                "GoingCompany": null,
                "BackCompany": null,
                "TransactionId": null
            }
        }
    ],
    "Token": null
}

ℹ️

Informação: Voos com Pontuação Negativa

Voos que apresentam pontuação negativa indicam que são voos pagantes, ou seja, não utilizam milhas para a compra das passagens. Caso prefira que sua pesquisa retorne apenas voos que utilizem milhas, siga os passos abaixo:

  1. Acesse o painel de controle Moblix em: https://painel.moblix.com.br/#/ValoresCias
  2. Localize a companhia aérea desejada na lista.
  3. Desmarque a opção "Pagante" correspondente à companhia aérea selecionada.

Ao realizar essas alterações, sua pesquisa exibirá apenas voos que podem ser adquiridos com milhas, proporcionando maior conveniência para os usuários que desejam utilizar seus pontos acumulados em programas de fidelidade.

"PontosAdulto": -1.0

Agora que você entende como os dados retornados pela API de Voos da Moblix são estruturados, fica mais fácil personalizar a exibição das informações para seus usuários e proporcionar uma experiência de pesquisa de passagens aéreas mais agradável e eficiente.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!