Overview
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
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Weather
- Base URL
https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1- Version
- 1.2.1
- Endpoints
- 5
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1/api/v1" \
-H "Accept: application/json"const response = await fetch("https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1/api/v1", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://virtserver.swaggerhub.com/pcraig3/groundhog-day-api/1.2.1/api/v1",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| 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
Compare alternatives →NOAA CO-OPS
WeatherUS coastal tides, water levels, currents and meteorological observations
NASA POWER
WeatherGlobal solar and weather data for energy and agriculture
US Weather
WeatherUS National Weather Service
AccuWeather
WeatherWeather and forecast data
Aemet
WeatherWeather and forecast data from Spain
OpenWeatherMap
WeatherExplore 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
Listed from APIs.guru (CC0).