Sign Up

Log In

AccuWeather

FREE
By stefan.skliarov
Updated 5 months ago
Weather
2.6/10
Popularity Score
91ms
Latency
100%
Success Rate

AccuWeather API Documentation

AccuWeather provides hourly and Minute by Minute™ forecasts with Superior Accuracy™.
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTget24HoursConditionsByLocationKey
POSTget6HoursConditionsByLocationKey
POSTgetAlertsByLocationKey
POSTgetCurrentConditionsByLocationKey
POSTgetCurrentConditionsForTopCities
POSTgetDailyForecastByLocationKey
POSTgetHoursForecastByLocationKey
POSTgetImagesByLocationKey
POSTgetIndicesByGroupId
POSTgetLocationIndicesByGroupId
POSTgetLocationIndicesByIndexId
POSTgetLocationIndicesByLocationKey
POSTgetNeighborCitiesByLocationKey
POSTgetSingleActiveCyclone
POSTgetSingleCyclone
POSTgetSingleCycloneForecast
POSTgetSingleCyclonePosition
POSTgetSingleGroupTranslations
POSTgetSingleIndice
POSTgetWeatherAlarmByLocationKey
POSTlistActiveCyclons
POSTlistActiveCyclonsByBasin
POSTlistAdminAreas
POSTlistCountries
POSTlistCyclonesByYear
POSTlistDailyIndices
POSTlistDailyIndicesGroups
POSTlistLanguages
POSTlistRegions
POSTlistSingleCyclonePositions
POSTlistTopCities
POSTlistTranslationGroups
POSTsearchByGeoposition
POSTsearchByIp
POSTsearchByLocationKey
POSTsearchCity
POSTsearchCityWithAdminCode
POSTsearchCityWithCountryCode
POSTsearchLocation
POSTsearchLocationWithAdminCode
POSTsearchLocationWithCountryCode
POSTsearchLocations
POSTsearchPoi
POSTsearchPoiWithAdminCode
POSTsearchPoiWithCountryCode
POSTsearchPostalCode
POSTsearchPostalCodeWithCountryCode
POSTsearchCity

Returns information for an array of cities that match the search text.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDYour API key
querySTRING
REQUIREDText to search for.
Optional Parameters
languageSELECT
OPTIONALString indicating the language in which to return the resource
offsetNUMBER
OPTIONALInteger, along with the limit (25) that determines the first resource to be returned.
aliasSELECT
OPTIONALEnumeration that specifies when alias locations should be included in the results. By default, an alias will only be returned if no official match for the search text was found. Enumeration values: Never or Always
detailsSELECT
OPTIONALBoolean value (true or false) that specifies whether or not to include a truncated version of the current conditions object or the full object
Request Snippet
unirest.post("https://AccuWeatherstefan.skliarovV1.p.rapidapi.com/searchCity")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=undefined")
.send("offset=undefined")
.send("alias=undefined")
.send("details=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://AccuWeatherstefan.skliarovV1.p.rapidapi.com/searchCity")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=undefined")
.send("offset=undefined")
.send("alias=undefined")
.send("details=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard