DEV Community

Alex Spinov
Alex Spinov

Posted on • Edited on

What Free API Surprised You The Most?

I've been building Python toolkits for free APIs for the past few months. Some of them blew my mind — I had no idea these existed.

My top 3 surprises:

1. Crossref — Every DOI Ever Assigned

I didn't know there was a free API that holds metadata for 150 million scholarly articles. No API key. No signup. Just send a GET request.

import requests
article = requests.get("https://api.crossref.org/works/10.1038/nature12373").json()["message"]
print(f"{article['title'][0]} — cited {article['is-referenced-by-count']} times")
Enter fullscreen mode Exit fullscreen mode

Every DOI you've ever seen? The metadata lives in Crossref.

2. USGS Earthquake API — Every Earthquake in Real Time

Every earthquake on Earth, updated every minute. Free. No key.

resp = requests.get("https://earthquake.usgs.gov/fdsnws/event/1/query",
    params={"format": "geojson", "minmagnitude": 5, "limit": 3}).json()
for eq in resp['features']:
    print(f"M{eq['properties']['mag']}{eq['properties']['place']}")
Enter fullscreen mode Exit fullscreen mode

3. Open-Meteo — Weather Without API Key

Most weather APIs charge money or require OAuth. Open-Meteo? Just send a request. Done.

resp = requests.get("https://api.open-meteo.com/v1/forecast",
    params={"latitude": 51.5, "longitude": -0.12, "current_weather": True}).json()
print(f"London: {resp['current_weather']['temperature']}°C")
Enter fullscreen mode Exit fullscreen mode

What free API surprised YOU the most? Could be anything — data, weather, government, science, fun stuff.

I'm building a collection of 30+ free research APIs and always looking for ones I've missed.


Need custom dev tools, scrapers, or API integrations? I build automation for dev teams. Email spinov001@gmail.com — or explore awesome-web-scraping.


More from me: 10 Dev Tools I Use Daily | 77 Scrapers on a Schedule | 150+ Free APIs
Also: Neon Free Postgres | Vercel Free API | Hetzner 4x More Server
NEW: I Ran an AI Agent for 16 Days — What Actually Works


Need data from the web without writing scrapers? Check my *Apify actors** — ready-made scrapers for HN, Reddit, LinkedIn, and 75+ more sites. Or email: spinov001@gmail.com*

Top comments (0)