Sky Scanner

FREEMIUM
By Things4u | Updated 8 days ago | Travel
Popularity

9.9 / 10

Latency

1,788ms

Service Level

100%

Health Check

N/A

Back to All Discussions

endpoint for flight and hotel

Rapid account: Alaahod 54
alaahod54
13 days ago

can you check my endpoint the calling api for flight and hotel
For flight

flights/search-one-way

flights/search-roundtrip

For hotel

hotels/search
thanks

Rapid account: Ntd 119
ntd119 Commented 12 days ago

Hi,

  1. Flights parameters:
    There are some incorrect points as follows:
    1.1: returnDate: Incorrect format, it should be: 2024-05-10
    1.2: We don’t use the ‘type’ parameter for this endpoint
    Note: departDate and returnDate cannot be set to a past date.

  2. Hotel parameters:
    All parameters are correct.
    Note: checkin and checkout dates cannot be set to a past date.
    Please refer to the description of each parameter that I have provided on RapidAPI to input the correct information.

Thanks.

Rapid account: Alaahod 54
alaahod54 Commented 12 days ago

hi
thanks a lot
{“fromEntityId”:“eyJlIjoiOTU2NzMzODMiLCJzIjoiQkVSIiwiaCI6IjI3NTQ3MDUzIiwidCI6IkFJUlBPUlQifQ==”,“toEntityId”:“eyJlIjoiMjc1NDA4MzkiLCJzIjoiRFhCQSIsImgiOiIyNzU0MDgzOSIsInQiOiJDSVRZIn0=”,“departDate”:“2024-05-08”,“returnDate”:“10-05-2024”,“adults”:“1”,“children”:“0”,“infants”:“0”,“type”:“oneway”,“currency”:“USD”,“cabinClass”:“economy”,“locale”:“en-US”,“market”:“US”}

flights param

hotel params

{“entityId”:“27540839”,“checkin”:“2024-05-15”,“checkout”:“2024-05-18”,“rooms”:“1”,“adults”:2,“currency”:“USD”,“page”:1,“childrenAges”:"",“locale”:“en-US”,“market”:“US”,“resultsPerPage”:50}

please check it if everything is ok

Rapid account: Ntd 119
ntd119 Commented 13 days ago

Hi,

The three endpoints you listed still work.
If you have any problems, please send me the parameters and endpoints. I will investigate for you.

Thanks

Join in the discussion - add comment below:

Login / Signup to post new comments