Find an API

Search public APIs with auth details & Postman guides

← All APIs

Groundhog Day API

groundhog-day · Company

Company No Auth Free & Open API

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

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Get all groundhogs

Returns all prognosticating animals with their known predictions.

https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs?country=Canada or USA&isGroundhog=1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs?country=Canada%20or%20USA&isGroundhog=1"
import requests
params = {
    "country": "Canada or USA",
    "isGroundhog": "1"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs');
url.searchParams.set('country', 'Canada or USA');
url.searchParams.set('isGroundhog', '1');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs")
	q := baseURL.Query()
	q.Set("country", "Canada or USA")
	q.Set("isGroundhog", "1")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs")
uri.query = URI.encode_www_form({
  "country" => "Canada or USA",
  "isGroundhog" => "1"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/groundhogs?" . http_build_query([
    "country" => "Canada or USA",
    "isGroundhog" => "1"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get predictions for a given year

Get all predictions for a given year.

https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions?year=2024

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions?year=2024"
import requests
params = {
    "year": "2024"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions');
url.searchParams.set('year', '2024');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions")
	q := baseURL.Query()
	q.Set("year", "2024")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions")
uri.query = URI.encode_www_form({
  "year" => "2024"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1/predictions?" . http_build_query([
    "year" => "2024"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Root

Returns a welcome message.

https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/groundhog-day.com/1.2.1/api/v1";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Groundhog Day API?

Groundhog Day API is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Groundhog Day API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗