La API del Clima por Nombre de Ciudad es una forma confiable y eficiente de obtener información meteorológica en tiempo real para ciudades de todo el mundo. Ya sea que estés planeando tu día, haciendo arreglos de viaje o simplemente manteniéndote informado, la API proporciona datos meteorológicos precisos y actualizados. Simplemente pasa el nombre de la ciudad y la API te devolverá información sobre las condiciones actuales, temperatura, viento, humedad y más.
Además de su precisión, la API del Clima por Nombre de Ciudad también es rápida y eficiente, proporcionándote la información que necesitas de manera rápida y sencilla. Entonces, ¿por qué esperar? ¡Comienza hoy mismo con la API del Clima por Nombre de Ciudad y da el primer paso para adelantarte al clima! Ya sea que estés en tu ciudad natal o viajando por el mundo, la API tiene lo que necesitas con información meteorológica actualizada y precisa para ciudades de todo el mundo.
Recibirá un parámetro y te proporcionará un JSON.
Construcción de aplicaciones meteorológicas para teléfonos inteligentes o sitios web.
Planificación de actividades al aire libre como picnics, deportes o jardinería.
Aplicaciones de planificación de viajes y reservas de vuelos/trenes.
Planificación y gestión agrícola.
Gestión y optimización de la energía.
Aplicaciones de noticias y medios para actualizaciones del clima.
Gestión de bienes raíces y propiedades.
Comercio minorista y comercio electrónico para ajustar la cadena de suministro y la logística.
Aplicaciones de salud y bienestar para rastrear riesgos de salud relacionados con el clima.
Plan Básico: 5,000 Llamadas a la API.
Plan Pro: 10,000 Llamadas a la API.
Plan Pro Plus: 40,000 Llamadas a la API.
Plan Premium: 80,000 Llamadas a la API.
El endpoint Obtener clima por nombre de ciudad es una forma simple y conveniente de acceder a información meteorológica en tiempo real para ciudades de todo el mundo. Al pasar el nombre de la ciudad, puedes recuperar fácilmente las condiciones climáticas actuales, la temperatura, el viento, la humedad y otros indicadores clave. El endpoint proporciona datos precisos y actualizados para ayudarte a planificar tu día, tomar decisiones informadas o simplemente mantenerte al tanto del clima. Ya seas un desarrollador, una empresa o simplemente alguien que desea adelantarse al clima, el endpoint Obtener clima por nombre de ciudad es la herramienta perfecta. ¡Comienza hoy y observa el clima como nunca antes!
Parámetro requerido: ciudad // Nombre de la ciudad. Por ejemplo: Toronto
{"location":{"name":"Toronto","region":"Ontario","country":"Canada","lat":43.67,"lon":-79.42,"tz_id":"America/Toronto","localtime_epoch":1726752786,"localtime":"2024-09-19 09:33"},"current":{"last_updated_epoch":1726752600,"last_updated":"2024-09-19 09:30","temp_c":21.3,"temp_f":70.3,"is_day":1,"condition":{"text":"Sunny","icon":"//cdn.weatherapi.com/weather/64x64/day/113.png","code":1000},"wind_mph":4.9,"wind_kph":7.9,"wind_degree":52,"wind_dir":"NE","pressure_mb":1016,"pressure_in":30.01,"precip_mm":0,"precip_in":0,"humidity":83,"cloud":0,"feelslike_c":21.3,"feelslike_f":70.3,"windchill_c":17.8,"windchill_f":64.1,"heatindex_c":17.8,"heatindex_f":64,"dewpoint_c":16.4,"dewpoint_f":61.4,"vis_km":14,"vis_miles":8,"uv":4,"gust_mph":6.6,"gust_kph":10.6}}
curl --location --request GET 'https://zylalabs.com/api/1219/weather+by+city+name+api/1060/get+weather+by+city+name&city=Required' --header 'Authorization: Bearer YOUR_API_KEY'
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. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
El endpoint devuelve datos meteorológicos en tiempo real, incluyendo condiciones actuales, temperatura, velocidad del viento, humedad, presión, visibilidad y descripciones del clima. Proporciona una visión general completa del clima para la ciudad especificada.
Los campos clave en la respuesta incluyen `location` (detalles de la ciudad), `current` (condiciones meteorológicas), `temp_c` (temperatura en Celsius), `humidity` (humedad), `wind_mph` (velocidad del viento) y `condition` (descripción del clima). Cada campo proporciona información esencial para entender el clima.
La respuesta está estructurada en formato JSON, con dos secciones principales: `location` y `current`. La sección `location` contiene detalles geográficos, mientras que la sección `current` incluye métricas del clima, lo que facilita el análisis y la utilización de los datos.
El punto final proporciona información sobre las condiciones climáticas actuales, incluyendo temperatura, velocidad del viento, humedad, presión, visibilidad y descripciones del clima. Estos datos ayudan a los usuarios a tomar decisiones informadas basadas en el clima en tiempo real.
Los usuarios pueden personalizar sus solicitudes especificando el parámetro `ciudad`, lo que les permite recuperar datos meteorológicos para cualquier ciudad del mundo. Esta flexibilidad permite consultas meteorológicas personalizadas según las necesidades del usuario.
Los datos provienen de servicios meteorológicos confiables y estaciones meteorológicas de todo el mundo. Esto asegura que la información proporcionada sea precisa y esté actualizada, manteniendo una alta calidad de datos.
Los usuarios pueden utilizar los datos devueltos para informar las actividades diarias, planificar viajes o gestionar eventos al aire libre. Por ejemplo, la temperatura y la velocidad del viento pueden ayudar a decidir la ropa adecuada o los planes al aire libre.
Los casos de uso típicos incluyen el desarrollo de aplicaciones meteorológicas, la planificación de actividades al aire libre, los arreglos de viaje y la gestión agrícola. Los datos de la API respaldan diversas aplicaciones que requieren información meteorológica en tiempo real.
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.
Nivel de Servicio:
100%
Tiempo de Respuesta:
426,84ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.047,57ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.174,23ms
Nivel de Servicio:
83%
Tiempo de Respuesta:
1.218,74ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
676,75ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
710,31ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
838,03ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.055,72ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.034,46ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
697,95ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.866,13ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.866,13ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.866,13ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.866,13ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
10.866,13ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.082,37ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.365,73ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
9.396,75ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
9.396,75ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
9.396,75ms