Contact Us
Company
  • Proven Superior Accuracy
  • About AccuWeather
  • Digital Advertising
  • Careers
  • Press
  • Privacy
  • Terms of Use
  • Brand Guidelines
Products & Services
  • For Business
  • For Partners
  • For Advertising
  • AccuWeather Enterprise APIs
  • AccuWeather Connect
  • Personal Weather Stations
Subscription Services
  • AccuWeather Premium
  • AccuWeather Professional
Apps & Downloads
  • iPhone App
  • Android App
  • See all Apps & Downloads

© 2025 AccuWeather, Inc.

xXfacebookFacebookinstagramInstagram
  • Home
  • Documentation
  • Core Weather API
  • MinuteCast™ API
  • Pricing
  • FAQ
Quick-start guides
    Core weatherMinuteCast™
General
    AccuWeather APIsAuthenticationBest practicesAPI flow diagramData display formatsLanguages and localizationsUnit typesWeather iconsHTTP status codesGlossarySystem statusTerms of useBrand guidelines
Locations
    General informationLocation keysAdministrative areasRegions and countriesPoint-of-interest typesAutocomplete
Indices
    Index listDaily Index Categories and Level Values
Alerts
    Last actions
Alarms
    Thresholds
Quick-start guides

Core Weather quick-start

AccuWeather's Core Weather API has all the weather data you need to get started. Let's make a call to the 5-day Daily Forecast API endpoint.

First we need to get a location code from the Locations API. Let's use the search endpoint to get the location key. AccuWeather's location codes provide a precise geographical pinpoint to ensure weather data is always accurate. To keep things moving, let's use a location code for New York City: 349727.

Now we can get the five-day forecast by making a GET request to https://dataservice.accuweather.com/forecasts/v1/daily/5day/349727 and sending your API key. You can use our test console below to call the API right now (log in to get your free API key if you haven't already).

And that's it, check out New York City's weather!

Look up other locations

Use the City Search endpoint to do a string search for location codes. Use our test console below to try it now.

What next?

Check out the full Core Weather API to build the weather experience like never before. Don't forget to check out our MinuteCast™ API as well!

Want more?

Contact our sales department to learn how you can leverage our full range of weather API offerings.

Last modified on November 13, 2025
MinuteCast™
On this page
  • Look up other locations
  • What next?
  • Want more?