Información de Viaje API

La API de Información de Viajes permite a los usuarios encontrar embajadas, recuperar detalles del país, explorar actividades y obtener descripciones breves de los países sin problemas.

Acerca de la API:  

La API de Información de Viajes es una herramienta integral diseñada para integrar sin problemas datos internacionales esenciales en aplicaciones, ofreciendo funcionalidades como localizar embajadas en el extranjero, recuperar información detallada sobre países, explorar actividades específicas de cada país y obtener resúmenes concisos de las naciones. Esta API está dirigida a desarrolladores, empresas y usuarios que buscan un enfoque unificado y eficiente para acceder a diversos datos globales.

La función de localización de embajadas permite a los usuarios identificar sin esfuerzo embajadas y consulados en países extranjeros. Al proporcionar el nombre del país, los usuarios pueden acceder a datos vitales sobre las ubicaciones de las embajadas.

Obtenga información detallada sobre cualquier país con la función de Detalles del País. Desde idiomas oficiales, capital y población hasta la zona horaria. Esta función proporciona un panorama completo, dirigido a usuarios interesados en adquirir un conocimiento profundo sobre un país específico.

La versatilidad de la API de Información de Viajes la hace adecuada para una amplia gama de aplicaciones. Las plataformas de viajes pueden utilizar los servicios de ubicación de embajadas, las empresas involucradas en actividades globales pueden beneficiarse de información detallada sobre países, los medios de comunicación pueden enriquecer su cobertura con actividades específicas de cada país, y las plataformas educativas pueden mejorar sus recursos con datos precisos y actualizados.

La API de Información de Viajes es una solución unificada para aplicaciones que requieren acceso sin inconvenientes a datos internacionales. Ya sea para asistencia en viajes, inteligencia empresarial, cobertura mediática o propósitos educativos, esta API agiliza el proceso de obtención de información global precisa y diversa, contribuyendo a un mundo más informado e interconectado.

¿Qué recibe esta API y qué proporciona su API (entrada/salida)?

Recibirá parámetros y le proporcionará un JSON.

 

¿Cuáles son los casos de uso más comunes de esta API?

  1. Aplicaciones de Comparación de Precios de Combustible: Permiten a los usuarios comparar precios de gasolina en diferentes estaciones para encontrar la opción más económica.

    Aplicaciones de Planificación de Rutas: Integran precios de gasolina en tiempo real en aplicaciones de navegación para optimizar rutas basadas en costos de combustible.

    Aplicaciones de Seguimiento de Gastos: Asisten a los usuarios en la gestión y seguimiento de sus gastos en combustible al proporcionar precios de gasolina actualizados.

    Aplicaciones de Presupuesto: Mejoran las herramientas de presupuesto al incorporar precios actuales de gasolina, ayudando a los usuarios a planificar y gestionar los costos de transporte.

    Sistemas de Gestión de Flotas: Optimizan los gastos de combustible para empresas con múltiples vehículos al integrar datos de precios de gasolina en software de gestión de flotas.

 

¿Hay alguna limitación en sus planes?

Además del número de llamadas a la API por mes, no hay otras limitaciones. 

Documentación de la API

Endpoints


Para usar este punto final, debes indicar el nombre de un país en el parámetro.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3318/country+activities
                                                                            
                                                                        

Actividades del país. - Características del Endpoint

Objeto Descripción
country [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"activities":[{"title":"Admire Alexandria","activity":"Nestling the Mediterranean, Egypt's 'second city' has a French colonial atmosphere and a relaxed Greek influence, a mix of continental patisseries, art deco architecture and crowded sandy beaches in summer. Don't miss the Roman Amphitheatre's mosaics or the modern Bibliotecha and museums. Take a walk along the corniche to work up an appetite for a dinner of freshly-caught fish."},{"title":"Discover the Valley of the Kings","activity":"The Valley of the Kings, in the Theban Hills, is where the mummified remains of many Egyptian pharaohs were interred. Although stripped of their contents centuries ago, the tombs still display fantastic wall paintings depicting the lives of the pharaohs. The most famous tomb is that of Tutankhamun, discovered in pristine condition by Howard Carter in 1922."},{"title":"Dive the Red Sea","activity":"The Red Sea justly deserves its worldwide reputation for underwater adventure. Teeming with colourful marine life, the crystalline waters are landscaped with coral and dramatic drop-offs. The Ras Mohamed National Park, a headland 20 km (12 miles) west of Sharm el-Sheikh, shows off this underwater world at its best."},{"title":"Experience Islamic Cairo","activity":"It's bustling and busy in ancient Islamic Cairo, but the crowds thin out along the serene street of Al-Muezz Al-Din, with spot lit mosques and mausoleums lining the pedestrianised cobbled street. A local will, doubtless, offer to take you up a minaret; ascend the one at Al-Azhar Mosque – home to the world's oldest university – for panoramic views."},{"title":"Explore the temples at Luxor","activity":"Straddling the Nile, Luxor is the site of the ancient city of Thebes. On the east bank lies the spectacular Temple of Karnak featuring epic statues, obelisks and lotus-columned halls. In the city centre is Luxor Temple, spectacular when lit up at night. Make the most of the experience by taking a gods-eye view in a hot-air balloon."},{"title":"Get lost in Khan-el Khalili bazaar","activity":"Take a trip to Cairo's famous labyrinthine, medieval Khan-el Khalili bazaar, where haggling for spices, copper, perfume and trinkets has been refined into an art form. Don't miss Fishawi's teahouse; in business for over 200 years, it is the ultimate place to people watch."},{"title":"Go on pilgrimage to Mount Sinai","activity":"For centuries, Christian pilgrims have made the journey to Mount Sinai to witness the sunrise over the desert landscape. The three-hour trek is breathtaking, but if it sounds too ambitious, stay overnight at the UNESCO-listed 6th-century Saint Catherine's Monastery, hire a camel and walk down in leisure."},{"title":"Kick back in Aswan","activity":"The former frontier town of Aswan is a popular stopping-point for cruise liners, and the feluccas drifting along the Nile at sunset is one of Egypt's enduring sights. Attractions include Elephantine Island and Elnabatat's Island (the 'island of plants'), upon which Lord Kitchener built a beautiful botanical garden in the 1890s that's still open to visitors today."},{"title":"Marvel at the Pyramids of Giza","activity":"Egypt's main tourist attraction has long been the Giza Necropolis on the edge of Cairo. One of the Seven Wonders of the Ancient World, the Great Pyramid dates back to around 2500BC. Wander the site to truly understand the enormity of the building task, or take in the sights by horse or camel, not forgetting to visit the Great Sphinx nearby."},{"title":"Play a round of golf","activity":"While it's not a sport readily associated with Egypt, the country has made quite a golfing name for itself and offers around 20 courses. They range from locations within sight of Cairo's Pyramids – the most famous being the Mena House Oberoi 18-hole course – to settings alongside the Nile and the Red Sea."},{"title":"Relax at Siwa Oasis","activity":"One of six oases in the vast Western Desert, and a good base for desert exploration, Siwa is a peaceful haven of palm-fringed saltwater lakes. Home to the Oracle Temple of Amun visited by Alexander the Great, Siwa is dramatically crowned by the 13th-century fortress ruins of Shali, best climbed at sunrise or sunset to avoid the fierce desert heat."},{"title":"Snorkel in Sharm el-Sheik","activity":"Diving is an ever-popular way to see the dazzling marine life and coral, however Egypt's spectacular coastline is accessible even without a wetsuit. Simply wade out with a mask or snorkel or take a glass-bottomed boat from the shores of Sharm el-Sheik and the fish will come to you."},{"title":"Take in the Old Kingdom at Saqqara and Dahshur","activity":"Few visitors know before arriving in Egypt that the country's Old Kingdom precedes the building of the Pyramids of Giza by many centuries. Acting as the necropolis to the ancient capital of Memphis, Saqqara's crowning glory is the stepped Pyramid of Djoser. Nearby Dahshur is famous for its Bent Pyramid and a huge field of royal tombs."},{"title":"Take to the Nile","activity":"Ply the river between Luxor and Aswan for that quintessential Nile experience. Egrets flock to the water's edge and Egypt's ancient archaeological wonders, including the temple of Kom Ombo, unfold like a storybook along the bank. Lasting between three and five days, take a traditional white-sailed felucca, or splash out on a dahabiya, a luxury furnished wooden barge."},{"title":"Test your skills as a camel trader","activity":"Not the place to buy souvenirs, frenetic (and fragrant) trading takes place most mornings from 0700 at the Camel market (Souq al-Gamaal). An entertaining assault on the senses, Camels are transported from Sudan to Birqash 35 km (20 miles) west of Cairo, before being prodded and poked by potential buyers."},{"title":"Traverse the Suez Canal","activity":"The best way to see this great feat of modern engineering is by boat; the view from the Peace Bridge that crosses the canal near Ismailiya comes a good second. The sight of giant tankers plying the narrow channel between the Red Sea with the Mediterranean is something you don't forget in a hurry."},{"title":"Wander the Abu Simbel temples","activity":"Dedicated to the Pharaoh Ramses II (1304-1237 BC), and his beloved queen Nefertari, the two temples at Abu Simbel stand on the shores of the stunning Lake Nasser. Discovered covered in sand by the Swiss explorer Burckhardt in 1813, they were later moved as part of a massive UNESCO-funded project to save them from the rising water of the lake."}]}}
                                                                                                                                                                                                                    
                                                                                                    

Country activities - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3318/country+activities?country=turkey' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para usar este punto final, debes indicar el nombre de un país en el parámetro.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3319/country+details
                                                                            
                                                                        

Detalles del país. - Características del Endpoint

Objeto Descripción
country [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"countryName":"Egypt","continent":"Africa","officialLanguages":"Arabic","capital":"Cairo","government":"Unitary semi-presidential republic","borderLength":"2 665 km / 1 656 miles","population":"97 041 072","surfaceAreaSqMi":"386 874","surfaceAreaKm2":"1 002 000","populationDensitySqMi":"251","populationDensityKm2":"97","neighborsList":["Israel","Libya","Sudan"]}
                                                                                                                                                                                                                    
                                                                                                    

Country details - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3319/country+details?country=turkey' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para usar este punto final, debes indicar el nombre de un país para recibir la embajada del país de destino en los parámetros.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3320/locate+a+consulate+overseas
                                                                            
                                                                        

Ubique un consulado en el extranjero. - Características del Endpoint

Objeto Descripción
source [Requerido]
destination [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":[{"address":"25, EL-FALAKI STR. BAB EL-LOUK Cairo","phone":"local: (02) 2797.8400international: +20.2.2797.8400"},{"address":"11 KAMEL EL KILANI STREET ALEXANDRIA","phone":"local: (03) 393.9086international: +20.3.393.9086"}]}
                                                                                                                                                                                                                    
                                                                                                    

Locate a Consulate Overseas - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3320/locate+a+consulate+overseas?source=turkey&destination=usa' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Para utilizar este punto final, debes indicar el nombre de un país en el parámetro.



                                                                            
GET https://zylalabs.com/api/3127/travel+information+api/3321/basic+information+on+a+country
                                                                            
                                                                        

Información Básica sobre un País - Características del Endpoint

Objeto Descripción
country [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":{"info":"For sheer diversity, Turkey (officially the Republic of Türkiye) is hard to beat. The country is best measured in multitudes – of people, natural landscapes and cultures. It is a land of vast open spaces and massive mountain ranges, fertile valleys and rugged coastline, fast-growing cities and sleepy villages, seaside resorts and remote beaches.Countless waves of invasion, rebellion and immigration have forged a country whose cultural depth and breadth may surprise visitors as they venture not just through major cities, but across the country.","image_url":"https://www.worldtravelguide.net/wp-content/uploads/2017/04/Think-Turkey-Country-Lanterns-485898597-sergeyskleznev-copy.jpg","country_images":[{"imageUrl":"https://www.worldtravelguide.net/wp-content/themes/wtg/images/main-banner1.jpg","title":""},{"imageUrl":"https://worldtravelguide.net/sites/default/files/96990057-753x320.jpg","title":"Hagia Sofia, Istanbul, Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/gulet-boat-cruises-are-po-8379.jpg","title":"Gulet boat cruises are popular in Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/turkey-is-great-for-water-8376.jpg","title":"Turkey is great for watersports"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/bathe-in-pamukkales-warm-8373.jpg","title":"Bathe in Pamukkale's warm topaz blue pools"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/go-rafting-on-the-emerald-8370.jpg","title":"Go rafting on the emerald Koprulucay River, Turkey"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/istanbul-spice-market-8367.jpg","title":"Istanbul Spice Market"},{"imageUrl":"https://worldtravelguide.net/sites/default/files/new-images/753x320/capaddocia-turkey-8361.jpg","title":"Capaddocia, Turkey"}]}}
                                                                                                                                                                                                                    
                                                                                                    

Basic Information on a Country - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/3127/travel+information+api/3321/basic+information+on+a+country?country=Turkey' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Información de Viaje API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10,000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Información de Viaje API FAQs

Para utilizar la API de Información de Viajes, los usuarios pueden seguir la documentación proporcionada para la autenticación, los puntos finales de la API, los parámetros de la solicitud y el manejo de respuestas.

La API de Información de Viajes es una herramienta poderosa que proporciona a los usuarios acceso a una variedad de datos relacionados con viajes, incluyendo detalles sobre destinos, países y otra información esencial para mejorar las aplicaciones basadas en viajes.

Hay diferentes planes que se adaptan a todos, incluyendo una prueba gratuita para una pequeña cantidad de solicitudes, pero su tarifa está limitada para prevenir el abuso del servicio.

Zyla ofrece una amplia gama de métodos de integración para casi todos los lenguajes de programación. Puedes utilizar estos códigos para integrarlos en tu proyecto según sea necesario.

Cada punto final devuelve datos en formato JSON. El punto final "Actividades del país" proporciona una lista de actividades con títulos y descripciones. El punto final "Detalles del país" devuelve información completa sobre un país, incluyendo su capital, población y lenguas oficiales. El punto final "Localizar un consulado en el extranjero" devuelve direcciones de embajadas e información de contacto, mientras que el punto final "Información básica sobre un país" ofrece un resumen e imágenes relacionadas con el país.

Los campos clave varían según el punto final. Para "Actividades del país", los campos incluyen "título" y "actividad". El punto final "Detalles del país" incluye "nombreDelPaís", "capital", "población" y "idiomasOficiales". El punto final "Localizar un consulado en el extranjero" proporciona "dirección" y "teléfono". El punto final "Información básica sobre un país" presenta "info", "imagen_url" y "imágenes_del_país".

Cada punto final requiere el parámetro "país", que debe ser el nombre del país sobre el que deseas información. Por ejemplo, para recuperar actividades en Egipto, deberías especificar "Egipto" en la solicitud. Asegúrate de que el nombre del país esté correctamente escrito para recibir datos precisos.

Los datos de respuesta están estructurados en formato JSON. Cada endpoint devuelve un objeto "data" que contiene información relevante. Por ejemplo, el endpoint "Detalles del país" devuelve un objeto estructurado con campos como "nombreDelPaís" y "población", mientras que el endpoint "Actividades del país" devuelve un array de objetos de actividad.

La API de Información de Viajes agrega datos de varias fuentes fiables, incluyendo bases de datos gubernamentales, organizaciones de viajes y agencias internacionales. Esto asegura que la información proporcionada sea precisa y esté actualizada, mejorando la fiabilidad de la API para los usuarios.

Los casos de uso típicos incluyen aplicaciones de planificación de viajes que necesitan proporcionar a los usuarios actividades específicas de cada país, plataformas educativas que requieren información detallada de los países y empresas que necesitan localizar embajadas para operaciones internacionales. La API puede mejorar la experiencia del usuario al ofrecer información relevante y oportuna.

Los usuarios pueden analizar la respuesta JSON para extraer información relevante para sus aplicaciones. Por ejemplo, los desarrolladores pueden mostrar detalles del país en un formato fácil de usar o listar actividades para los viajeros. Comprender la estructura de la respuesta permite un manejo y presentación de datos eficientes.

La precisión de los datos se mantiene a través de actualizaciones regulares y controles de calidad. La API obtiene información de organizaciones y entidades gubernamentales de renombre, asegurando que los datos reflejen las condiciones actuales. Los usuarios pueden confiar en la información proporcionada para la planificación y la toma de decisiones.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the 'X-Zyla-RateLimit-Limit' response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


APIs Relacionadas


También te puede interesar