The Weather By City Name API is a reliable and efficient way to get real-time weather information for cities worldwide. Whether you're planning your day, making travel arrangements, or simply staying informed, the API provides accurate and up-to-date weather data. Simply pass the city name, and the API will return information on current conditions, temperature, wind, humidity, and more.
In addition to its accuracy, the Weather By City Name API is also fast and efficient, providing you with the information you need quickly and easily. So why wait? Get started with the Weather By City Name API today and take the first step towards staying ahead of the weather! Whether you're in your hometown or traveling the world, the API has you covered with up-to-date and accurate weather information for cities worldwide.
It will receive a parameter and provide you with a JSON.
Building weather apps for smartphones or websites.
Planning outdoor activities such as picnics, sports, or gardening.
Travel planning and flight/train booking applications.
Agricultural planning and management.
Energy management and optimization.
News and media applications for weather updates.
Real estate and property management.
Retail and e-commerce to adjust supply chain and logistics.
Health and fitness applications to track weather-related health risks.
Basic Plan: 5,000 API Calls.
Pro Plan: 10,000 API Calls.
Pro Plus Plan: 40,000 API Calls.
Premium Plan: 80,000 API Calls.
The Get Weather By City Name endpoint is a simple and convenient way to access real-time weather information for cities worldwide. By passing the city name, you can easily retrieve current weather conditions, temperature, wind, humidity, and other key metrics. The endpoint provides accurate and up-to-date data to help you plan your day, make informed decisions, or simply stay informed about the weather. Whether you're a developer, a business, or just someone who wants to stay ahead of the weather, the Get Weather By City Name endpoint is the perfect tool. Get started today and see the weather like never before!
Required Parameter: city // Name of the city. For example: Toronto
{"location":{"name":"Toronto","region":"Ontario","country":"Canada","lat":43.67,"lon":-79.42,"tz_id":"America/Toronto","localtime_epoch":1675284851,"localtime":"2023-02-01 15:54"},"current":{"last_updated_epoch":1675284300,"last_updated":"2023-02-01 15:45","temp_c":-4,"temp_f":24.8,"is_day":1,"condition":{"text":"Partly cloudy","icon":"//cdn.weatherapi.com/weather/64x64/day/116.png","code":1003},"wind_mph":17.4,"wind_kph":28.1,"wind_degree":260,"wind_dir":"W","pressure_mb":1024,"pressure_in":30.25,"precip_mm":0,"precip_in":0,"humidity":63,"cloud":75,"feelslike_c":-10.8,"feelslike_f":12.6,"vis_km":14,"vis_miles":8,"uv":2,"gust_mph":17.4,"gust_kph":28.1}}
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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Weather By City Name API REST API, simply include your bearer token in the Authorization header.
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.
Prices are listed in USD. 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 with paying by card, just contact us at [email protected]
Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further
Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.
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.
Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.
Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.
You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]
Service Level:
100%
Response Time:
1,032ms
Service Level:
100%
Response Time:
4,182ms
Service Level:
100%
Response Time:
1,048ms
Service Level:
100%
Response Time:
677ms
Service Level:
100%
Response Time:
2,034ms
Service Level:
100%
Response Time:
710ms
Service Level:
100%
Response Time:
1,130ms
Service Level:
100%
Response Time:
698ms
Service Level:
100%
Response Time:
2,941ms
Service Level:
100%
Response Time:
138ms
Service Level:
100%
Response Time:
99ms
Service Level:
100%
Response Time:
915ms
Service Level:
100%
Response Time:
124ms
Service Level:
100%
Response Time:
289ms
Service Level:
100%
Response Time:
614ms
Service Level:
100%
Response Time:
948ms
Service Level:
100%
Response Time:
1,010ms
Service Level:
50%
Response Time:
2,089ms