# Groundhog Day API API

> This API returns all of North America’s prognosticating animals and their yearly weather predictions.

Groundhog Day API is a weather API from groundhog-day.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 5 endpoints.

## At a glance

- Category: [Weather](https://www.openparable.com/apis/category/weather)
- Provider: groundhog-day.com
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1
- Documentation: https://groundhog-day.com/api
- OpenAPI description: https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/openapi.json
- Version: 1.2.1
- Specification updated: 2023-03-06

## Example request

```bash
curl -X GET "https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1/api/v1" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /api/v1` — Root
- `GET /api/v1/groundhogs` — Get all groundhogs
- `GET /api/v1/groundhogs/{slug}` — Get a groundhog by slug
- `GET /api/v1/predictions` — Get predictions for a given year
- `GET /api/v1/spec` — Get JSON schema

## Questions

### Does the Groundhog Day API API need an API key?

No. The Groundhog Day API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the Groundhog Day API API support HTTPS?

Yes, the Groundhog Day API API is served over HTTPS.

### How many endpoints does the Groundhog Day API API have?

Its OpenAPI description lists 5 endpoints in version 1.2.1. All of them are shown on this page.

### What are alternatives to the Groundhog Day API API?

Other Weather APIs include NOAA CO-OPS, NASA POWER, US Weather, AccuWeather, Aemet.

## Similar weather APIs

- [NOAA CO-OPS](https://www.openparable.com/apis/noaa-co-ops): US coastal tides, water levels, currents and meteorological observations
- [NASA POWER](https://www.openparable.com/apis/nasa-power): Global solar and weather data for energy and agriculture
- [US Weather](https://www.openparable.com/apis/us-weather): US National Weather Service
- [AccuWeather](https://www.openparable.com/apis/accuweather): Weather and forecast data
- [Aemet](https://www.openparable.com/apis/aemet): Weather and forecast data from Spain
- [OpenWeatherMap](https://www.openparable.com/apis/openweathermap): Explore OpenWeather's vast range of weather APIs including the versatile One Call API 4.0. Ideal for both beginners and professionals, our APIs offer current weather, minute-by-minute forecasts, historical data archives, and future predictions. Access weather data starting from 01-01-1979, global weather maps, solar irradiance predictions, air pollution data, and more. Our APIs support various for
- [Meteorologisk Institutt](https://www.openparable.com/apis/meteorologisk-institutt): Weather and climate data
- [AviationWeather](https://www.openparable.com/apis/aviationweather): NOAA aviation weather forecasts and observations
- [IPMA](https://www.openparable.com/apis/ipma): Portuguese weather and climate data
- [NOAA NGDC](https://www.openparable.com/apis/noaa-ngdc): Natural hazards data including earthquakes, tsunamis, and volcanic eruptions
- [AQICN](https://www.openparable.com/apis/aqicn): Air Quality Index Data for over 1000 cities
- [RainViewer](https://www.openparable.com/apis/rainviewer): Radar data collected from different websites across the Internet

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/groundhog-day (OpenParable). Cite the canonical URL above.
