Current Conditions API Guide
Current Conditions By LocationKey
https://{{api} or {{apidev}}.accuweather.com/currentconditions/{version}/{locationKey}{.{format}}?apikey={your key}{&language={language code}}{&details={true or false}}{&getphotos=true or false} |
Examples:
https://api.accuweather.com/currentconditions/v1/335315.json?apikey={your key} |
https://api.accuweather.com/currentconditions/v1/349727.json?apikey={your key}&getphotos=true |
https://api.accuweather.com/currentconditions/v1/335315.json?apikey={your key}&language=es&details=true |
Historical Current Conditions (past 6 hours) By LocationKey
https://{{api} or {{apidev}}.accuweather.com/currentconditions/{version}/{locationKey}/historical{.{format}}?apikey={your key}{&language={language code}} {&details={true or false}} |
Examples:
https://api.accuweather.com/currentconditions/v1/335315/historical.json?apikey={your key} |
https://api.accuweather.com/currentconditions/v1/335315/historical.json?apikey={your key}&details=true |
Historical Current Conditions (past 24 hours) By LocationKey
https://{{api} or {{apidev}}.accuweather.com/currentconditions/{version}/{locationKey}/historical/24{.{format}}?apikey={your key}{&language={language code}} {&details={true or false}} |
Examples:
https://api.accuweather.com/currentconditions/v1/335315/historical/24.json?apikey={your key} |
https://api.accuweather.com/currentconditions/v1/335315/historical/24.json?apikey={your key}&details=true |
Current Conditions for Top Cities
https://{{api} or {{apidev}}.accuweather.com/currentconditions/{version}/topcities/{group}{.{format}}?apikey={your key}&language={language code} |
Example:
https://api.accuweather.com/currentconditions/v1/topcities/50.json?apikey={your key} |