Static Assets
All required static assets can be downloaded from the following url.
URL: https://cdn.grnconnect.com/static-assets/
Or use the below endpoint url to fetch the static assets.
Endpoint URL: https://cdn-api.grnconnect.com/
The above links will contain the master data for the following:
Countries
You can use this method to fetch
All the countries and their details
Country details based on the country code.
Get Countries
| Method |
URL |
| GET |
api/v3/countries |
Sample Response
{
"total": 2,
"countries": [
{
"name": "Zimbabwe",
"code3": "ZWE",
"code": "ZW"
},
{
"name": "Zambia",
"code3": "ZMB",
"code": "ZM"
}
]
}
Get Country details using Country code
| Method |
URL |
| GET |
api/v3/countries/ |
Sample Get Country details using Country code request
| Method |
URL |
| GET |
api/v3/countries/ZW |
Sample Response
{
"total": 1,
"country": {
"name": "Zimbabwe",
"code3": "ZWE",
"code": "ZW"
}
}
Cities
You can use this method to fetch
Get Cities Request
| Method |
URL |
|
| GET (new codes) |
api/v3/cities/?version=2.0 |
|
Sample Response
{
"total": 2,
"cities": [
{
"name": "Zaafaranah, Red Sea, Egypt, EG",
"code": "C!000001"
},
{
"name": "Dahab, Sinai, Egypt, EG",
"code": "C!000002"
}
]
}
Get City Details using City code
| Method |
URL |
|
| GET (new codes) |
api/v3/cities/?version=2.0 |
|
Sample Request
| Method |
URL |
|
| GET |
api/v3/cities/121449?version=2.0 |
|
Sample Response
{
"total": 1,
"city": {
"name": "Zaafaranah, Red Sea, Egypt, EG",
"dest_code": "D!001031",
"country": "EG",
"code": "C!000001"
}
}
Get Cities available in the Country
| Method |
URL |
|
| GET (new codes) |
api/v3/cities?country=&version=2.0 |
|
Sample Request
| Method |
URL |
|
| GET (new codes) |
api/v3/cities?country=IN&version=2.0 |
|
Sample Response
{
"total": 2,
"cities":
[
{
"name": "South 24 Parganas, West Bengal, India, IN",
"code": "C!076452"
},
{
"name": "Abohar, Punjab, India, IN",
"code": "C!077294"
}
]
}
Currencies
You can use this method to fetch
- All the Currencies and their details
- Currency details based on the currency code.
Get Currencies Request
| Method |
URL |
| GET |
api/v3/currencies/ |
Sample Response
{
"total": 1,
"currencies": [
{
"name": "Euro",
"code": "EUR"
}
]
}
Get Currency details using currency code
| Method |
URL |
| GET |
api/v3/currencies/ |
Sample Request
| Method |
URL |
| GET |
api/v3/currencies/EUR |
Sample Response
{
"total": 1,
"currency": {
"name": "Euro",
"code": "EUR"
}
}
Hotels
You can use this method to fetch
- Static data for hotels using Country Code.
- Static data for hotels using Geo Location.
- Static data for hotels using City Code.
- Static data for single hotel using Hotel Code.
Get Hotels for the Country Request
| Method |
URL |
|
| GET |
api/v3/hotels/?country=&version=2.0 |
|
| GET |
api/v3/hotels/?city=&version=2.0 |
|
Sample Response
{
"hotels": [
{
"acc_name": "Hotel",
"address": "Gopinath Marg M.I. Road Jaipur 302001 Rajasthan",
"category": "2.5",
"chain_name": "Accor",
"city_code": "C!008896",
"code": "H!0393090",
"country": "IN",
"description": "Property Location Located in Jaipur (M.I. Road), Hotel Jai Singh Palace is convenient to Ram Niwas Gardens and Birla Auditorium. This hotel is within close proximity of Central Museum and Heaven-Piercing Minaret.Rooms Treat yourself to a stay in one of the 28 guestrooms, featuring fireplaces. Conveniences include desks and complimentary newspapers, and you can also request irons/ironing boards.Amenities Take in the views from a rooftop terrace and a garden and make use of amenities such as complimentary wireless Internet access. Additional amenities include concierge services and barbecue grills.Dining Enjoy a meal at a restaurant, or stay in and take advantage of the hotel's room service (during limited hours).Business, Other Amenities Featured amenities include a business center, complimentary newspapers in the lobby, and dry cleaning/laundry services. Free self parking is available onsite.",
"dest_code": "D!000853",
"facilities": "meeting rooms 2; total number of rooms - 28; safety deposit boxes; desk; free toiletries; rollaway/extra beds (surcharge); check-out time is noon; ceiling fan; mastercard payment cards accepted; taxi service; dry cleaning/laundry service; visa payment cards accepted; currency exchange; visa; free self parking; free wi-fi in all rooms; safe-deposit box at front desk; express check-in/check-out; restaurant; english languages spoken; iron/ironing board (on request); barbecue grill(s); luggage storage; wi-fi in public areas; 24-hour front desk; check-in time starts at noon; fireplace; hair dryer (on request); concierge services; room service (limited hours); 24-hour security; mastercard; laundry service; ticket service; tours/ticket assistance; elevator; check-in time ends at noon; free wifi; no cribs (infant beds) available; rooftop terrace; family room; garden; free newspapers in lobby; tours; car park; pets not allowed; private check in/check out; room service; airport transfer; hindi languages spoken; business center; minimum check-in age is 18; newspapers; concierge; free newspaper; smoking area; elevator/lift; laundry facilities",
"featured": true,
"latitude": "26.918670033333",
"longitude": "75.806907016667",
"name": "Hotel Jai Singh Palace",
"postal_code": "302001"
},
{
"acc_name": "Resort",
"address": "Near GPO Pulimoodu Thiruvananthapuram 695 001",
"category": "3",
"chain_name": "",
"city_code": "C!027157",
"code": "H!0248067",
"country": "IN",
"description": "Property Location Located in Thiruvananthapuram, The Capital - Trivandrum City is minutes from Trivandrum Secretariat and close to Shri Padmanabhaswamy Temple. This hotel is within close proximity of Thiruvananthapuram Zoo and Napier Museum.Rooms Make yourself at home in one of the 37 guestrooms. Conveniences include safes and coffee/tea makers.Amenities Make use of convenient amenities, which include wireless Internet access (surcharge) and concierge services.Dining Enjoy a meal at a restaurant, or stay in and take advantage of the hotel's 24-hour room service.Business, Other Amenities Featured amenities include a 24-hour business center and dry cleaning/laundry services.",
"dest_code": "D!000882",
"facilities": "safety deposit boxes; desk; mastercard payment cards accepted; american express payment cards accepted; ironing facilities; check-out time is 11 am; complimentary bottled water; dry cleaning/laundry service; visa payment cards accepted; 24-hour business center; 24-hour room service; currency exchange; coffee/tea maker; free wi-fi in all rooms; satellite/cable tv; restaurant; english languages spoken; internet access – wireless (complimentary); private bathroom; wi-fi in public areas; wifi (surcharge); 24-hour front desk; check-in time starts at noon; total number of rooms - 37; in-room safe; concierge services; flat screen television; mini bar; air conditioning; laundry service; bathrobes; room service (24 hours); television; elevator; facilities for disabled guests; check-in time ends at noon; shower; tours; internet access – wireless; garden; car park; room service; airport transfer; hindi languages spoken; fan; coffee shop; newspapers; daily newspaper; one meeting room; dry cleaning; smoking area; pets allowed",
"latitude": "8.494404",
"longitude": "76.947054",
"name": "The Capital - Trivandrum City",
"postal_code": "695 001"
}
],
"total": 20542
}
Get Hotels for the Geo Location Request
| Method |
URL |
|
| GET (new codes) |
api/v3/hotels?lat=&long=&radius=&unit=&version=2.0 |
|
Sample Request
| Method |
URL |
|
| GET (new codes) |
api/v3/hotels?lat=26.918670033333&long=75.806907016667&radius=10&unit=km&version=2.0 |
|
Sample Response
{
"hotels": [
{
"acc_name": "",
"address": "Via Appia Nuova 934 00178 Roma",
"category": "4",
"chain_name": "",
"city_code": "C!001175",
"code": "H!0086409",
"country": "IT",
"description": "Appia Park Hotel is an elegant hotel surrounded by greenery and located at only 5 km from Ciampino Airport and just 7 km from the historical center of Rome and the EUR district (Viale Europa). It features comfortable rooms with private balconies at 10 minutes drive from junction 24 of the GRA Highway. The comfortable rooms are decorated in an elegant and functional style and are equipped with satellite TV with Sky channels, Wi-Fi internet connection, minibar and safe. At guests' disposal there is also a bar, a restaurant, a parking, fitness area, a business corner and a conference center consisting of spacious and elegant meeting rooms with a maximum capacity of about 300 people. The property is located close to many points of interest: at 500 meters from the Villa of Quintiles, 1 km from the golf club \"Holy Water\", 3 Km from the Cinecitta film studios. In addition, at less than 3 km from the hotel there is the metro stop \"Arco di Travertino\" (line A), it will easily take you to the city center. The airport Leonardo da Vinci Fiumicino Airport is only 25 kilometers away.",
"dest_code": "D!000283",
"facilities": "security safe (room); free breakfast; ironing facilities; in room safe; visa; parking - onsite; restaurant; voltage 220v; ironing amenities (on request); wi-fi in public areas; internet corner; elevator; large sized lobby; tours; garden; free newspapers in lobby; direct-dial telephone; room service; shower only; concierge; express check-in; desk; seating area; connection for laptop; balcony/terrace; dry cleaning/laundry service; free self parking; soundproofed rooms; number of floors - 2; air conditioning (room); year built 1999; satellite television; iron/ironing board (on request); free wi-fi (public areas); 24-hour front desk; air conditioned (public areas); disabled facilities; snack bar/deli; air conditioning; balcony; free wi-fi; television; shower; premium bedding; free wifi; number of buildings/towers - 3; babysitting available; flat-panel tv; hair dryer; high-speed internet; jcb international; airport transfer; one meeting room; computer station; elevator/lift; car rental services; free toiletries; restaurant(s); babysitting; wedding services; work desk; 2 lifts; non-smoking rooms; free wi-fi in all rooms; no rollaway/extra beds available; diners club; airport transportation (surcharge); internet access – wireless (complimentary); check-in time starts at noon; fitness center; in-room safe; flat screen television; mastercard; tours/ticket assistance; bar; daily housekeeping; gym; pets not allowed; dial-up internet; bar(s); room service from 6:30 to 23:59; breakfast room; fitness facilities; conference facilities; earliest check-in at 11:00; safety deposit boxes; total number of rooms - 102; check-out time is noon; satellite/cable tv; rainfall showerhead; hairdryer; luggage storage; private bathroom; dvd/cd player; hypo-allergenic bedding available; bidet; mini bar; bar/lounge; laundry service; coach parking; coffee shop or café; no cribs (infant beds) available; business centre; car park; minibar; business center; american express; limo or town car service available; multilingual staff; 2 floors; satellite tv service",
"latitude": "41.839206",
"longitude": "12.550872",
"name": "Appia Park",
"postal_code": "00178"
},
{
"acc_name": "Apartment",
"address": "Via Nazionale 36 00185 Rome",
"category": "3",
"chain_name": "AG Apartments",
"city_code": "C!001175",
"code": "H!0125511",
"country": "IT",
"description": "\"Located on Via Nazionale - one of Rome's best known streets and finest shopping areas, you'll find we're deep in the heart of the city's commercial and historical centre. The National Opera Theatre, from which we take our name, is just a few minutes away on foot, as is Piazza Venezia, Piazza Della Repubblica and the Trevi Fountain.\"",
"dest_code": "D!000283",
"facilities": "free breakfast; safety deposit boxes; desk; express check-out; mastercard payment cards accepted; american express payment cards accepted; check-out time is 11 am; spanish languages spoken; balcony/terrace; in room safe; visa payment cards accepted; visa; soundproofed rooms; free wi-fi in all rooms; satellite/cable tv; restaurant; diners club; english languages spoken; iron/ironing board (on request); area shuttle (surcharge); airport transportation (surcharge); internet access – wireless (complimentary); private bathroom; wi-fi in public areas; 24-hour front desk; check-in time starts at noon; in-room climate control (air conditioning); number of floors - 5; total number of rooms - 14; in-room safe; concierge services; bidet; flat screen television; mini bar; air conditioning; mastercard; room service (limited hours); led tv; television; non smoking rooms; elevator; shuttle service; bar; shower; free wifi; tours; rooftop terrace; family room; garden; italian languages spoken; hair dryer; pets not allowed; room service; airport transfer; minibar; shower only; coffee shop; american express; concierge; smoking area; express check-in; shops; elevator/lift; free wired high-speed internet; bathtub",
"featured": true,
"latitude": "41.900392",
"longitude": "12.492932",
"name": "The Opera",
"postal_code": "00185"
}
],
"total": 2970
}
Sample Response
{
"hotels": [
{
"acc_name": "Hotel",
"address": "Via Della Consulta 1b Rione Monti 00184 Roma",
"category": "4.0",
"chain_name": "Accor",
"city_code": "C!001175",
"code": "H!0469226",
"country": "IT",
"description": "Property Location A stay at Salotto Monti places you in the heart of Rome, walking distance from Palazzo Valentini and Trajan's Market. This guesthouse is close to Roman Forum and St. Peter's Basilica.Rooms Make yourself at home in one of the 15 air-conditioned rooms featuring minibars and flat-screen televisions. Your bed comes with down comforters and Egyptian cotton sheets. Complimentary wireless Internet access is available to keep you connected. Private bathrooms with showers feature complimentary toiletries and hair dryers.Amenities Take in the views from a rooftop terrace and make use of amenities such as complimentary wireless Internet access and concierge services.Dining Take advantage of the guesthouse's room service (during limited hours).Business, Other Amenities Featured amenities include multilingual staff, luggage storage, and laundry facilities. For a surcharge, guests may use a roundtrip airport shuttle (available 24 hours) and a cruise ship terminal shuttle.",
"dest_code": "D!000283",
"facilities": "library; desk; free toiletries; down comforter; check-out time is 11 am; egyptian-cotton sheets; visa; coffee/tea maker; soundproofed rooms; no rollaway/extra beds available; luggage storage; airport transportation (surcharge); private bathroom; check-in time starts at 2 pm; breakfast available (surcharge); front desk (limited hours); smoke-free property; concierge services; room service (limited hours); air conditioning; mastercard; debit cards not accepted; number of floors - 3; tours/ticket assistance; daily housekeeping; premium bedding; free wifi; heating; rooftop terrace; cruise terminal shuttle (surcharge); flat-panel tv; hair dryer; pets not allowed; number of buildings/towers - 1; minibar; shower only; minimum check-in age is 18; year built 2014; check-in time ends at 9:30 pm; multilingual staff; elevator/lift; in-room safe (laptop compatible); laundry facilities; phone; total number of rooms - 15",
"featured": true,
"latitude": "41.8997",
"longitude": "12.4865",
"name": "Salotto Monti",
"postal_code": "00184"
}
],
"total": 2250
}
Get Hotel Details for the Hotel Code
| Method |
URL |
|
| GET (new codes) |
api/v3/hotels?hcode=&version=2.0 |
|
Sample Request
| Method |
URL |
|
| GET (new codes) |
api/v3/hotels?hcode=1348810&version=2.0 |
|
Sample Response
{
"hotels": [
{
"postal_code": "00184",
"name": "Salotto Monti",
"longitude": "12.4865",
"latitude": "41.8997",
"facilities": "library; desk; free toiletries; down comforter; check-out time is 11 am; egyptian-cotton sheets; visa; coffee/tea maker; soundproofed rooms; no rollaway/extra beds available; luggage storage; airport transportation (surcharge); private bathroom; check-in time starts at 2 pm; breakfast available (surcharge); front desk (limited hours); smoke-free property; concierge services; room service (limited hours); air conditioning; mastercard; debit cards not accepted; number of floors - 3; tours/ticket assistance; daily housekeeping; premium bedding; free wifi; heating; rooftop terrace; cruise terminal shuttle (surcharge); flat-panel tv; hair dryer; pets not allowed; number of buildings/towers - 1; minibar; shower only; minimum check-in age is 18; year built 2014; check-in time ends at 9:30 pm; multilingual staff; elevator/lift; in-room safe (laptop compatible); laundry facilities; phone; total number of rooms - 15",
"dest_code": "D!000283",
"description": "Property Location A stay at Salotto Monti places you in the heart of Rome, walking distance from Palazzo Valentini and Trajan's Market. This guesthouse is close to Roman Forum and St. Peter's Basilica.Rooms Make yourself at home in one of the 15 air-conditioned rooms featuring minibars and flat-screen televisions. Your bed comes with down comforters and Egyptian cotton sheets. Complimentary wireless Internet access is available to keep you connected. Private bathrooms with showers feature complimentary toiletries and hair dryers.Amenities Take in the views from a rooftop terrace and make use of amenities such as complimentary wireless Internet access and concierge services.Dining Take advantage of the guesthouse's room service (during limited hours).Business, Other Amenities Featured amenities include multilingual staff, luggage storage, and laundry facilities. For a surcharge, guests may use a roundtrip airport shuttle (available 24 hours) and a cruise ship terminal shuttle.",
"country": "IT",
"code": "H!0469226",
"city_code": "C!001175",
"category": ".0",
"address": "Via Della Consulta 1b Rione Monti 00184 Roma",
"acc_name": "Hotel",
"chain_name": "Accor",
"featured": true
}
],
"total": 1
}