public-apis: 467K Stars of Free APIs That Turn Your AI into a Data Monster
Your AI has three weaknesses: its knowledge stops at the training cutoff date, it confidently fabricates data, and it can't pull up real-world materials. public-apis fills these gaps with 1,695 free APIs—look up the latest papers, pull Federal Reserve data, grab NASA space images, all directly accessible without an API key. This article tests 10 endpoints that are directly reachable from China, with ready-to-run commands included.
💡 What You Will Learn
Your AI has three weaknesses: its knowledge stops at the training cutoff date, it confidently fabricates data, and it can't pull up real-world materials. public-apis fills these gaps with 1,695 free A
📜 Table of Contents
The Problem: AI Is Smart, But There Are Three Things It Can't Do
First, its knowledge has a cutoff date. Ask it about a paper published last week, and it can only regurgitate old material from its training data. Second, it will confidently fabricate data—quote a macroeconomic figure with such conviction that you start doubting yourself, when it's actually wrong. Third, it can't provide real-world assets. It can paint an imaginary starry sky, but it can't hand you an actual astronomical photograph.
That is, until public-apis came along. This open-source list with 467,387 stars is essentially a "free API map"—whatever data you need, chances are someone has already curated it for you.
What It Is
public-apis is a community-maintained collection of free APIs, with 1,695 endpoints across 51 categories. Each entry notes three things: whether authentication is required (Auth), whether HTTPS is supported, and whether browsers can make cross-origin calls (CORS). One glance tells you which ones you can use for free.
| Data | Value |
|---|---|
| GitHub Stars | 467,387 (measured via GitHub API) |
| Number of Endpoints | 51 categories / 1,695 entries |
| License | MIT, repo created in 2016, continuously updated for a decade |
| Repository | github.com/public-apis/public-apis |
What's Useful for You
For Finance & Content Writing
- Frankfurter — Free exchange rate API, no key required:
https://api.frankfurter.app/latest?from=USD&to=CNY - FRED — Official Federal Reserve data, comprehensive macroeconomic indicators
- CoinGecko — Real-time cryptocurrency prices
For Content Assets
- Picsum Photos — Real photographs in any size, royalty-free:
https://picsum.photos/900/600 - NASA Image Library — Space image search, top-tier science content material
- NASA APOD — Astronomy Picture of the Day
For Augmenting AI Knowledge
- arXiv — Latest paper search:
http://export.arxiv.org/api/query?search_query=all:quantum&max_results=3 - Open-Meteo — Free weather data:
https://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4¤t_weather=true
Real-World Test: Directly Accessible from Mainland China
Tested on 2026-08-20, the following 10 endpoints are directly accessible from mainland China networks (no key required):
| Endpoint | Purpose | Test Result |
|---|---|---|
| Frankfurter | Exchange rates | ✅ USD→CNY=6.72 |
| Picsum | Real photos | ✅ 200, 93KB JPEG |
| NASA Image Library | Space images | ✅ 37 results |
| arXiv | Papers | ✅ Latest papers returned normally |
| Open-Meteo | Weather | ✅ Beijing 33°C |
| ip-api | IP geolocation | ✅ Guangzhou Mobile |
| icanhazdadjoke | Dad jokes | ✅ |
| TheCatAPI | Cat images | ✅ |
| DogCEO | Dog images | ✅ |
| JSONPlaceholder | Test data | ✅ |
Endpoints not directly accessible from mainland China (FRED/CoinGecko/Yahoo Finance, etc.) can be routed through an overseas ECS: tested CoinGecko returning BTC=$75,300.
Hands-On: Integrate in 30 Seconds
I wrote a zero-dependency utility script with 10 commands covering the main use cases:
python free_api_tool.py exchange USD CNY # 💱 Exchange rates
python free_api_tool.py pic 400 300 # 🖼️ Random photo
python free_api_tool.py nasa andromeda 3 # 🚀 NASA space images
python free_api_tool.py arxiv "llm" 3 # 📄 Latest papers
python free_api_tool.py weather 39.9 116.4 # 🌤️ Weather
FAQ
Q: Do all these endpoints require registering for a key? A: Most don't. Any entry marked Auth=No in the list can be used directly.
Q: Are they accessible from mainland China? A: Based on testing, roughly 60% can be accessed directly; the rest can be routed through an overseas proxy.
Q: Are free APIs reliable? A: They're fine for content creation and data lookup. For core business needs, use paid, stable APIs—don't fully rely on free third-party services.
Summary
AI by default only has conversational ability; APIs are the "hands and feet" you attach to it. With 1,695 free endpoints, your AI can look up real exchange rates, cite the latest papers, and pull NASA space images—no more knowledge cutoffs, no more fabricated data, no more empty-handed when it comes to assets.
Data source: GitHub API queried on 2026-08-21. Endpoint availability is based on personal testing (2026-08-20, mainland China network).
Related article: agentwork-exchange lets personal agents take on paid gigs (/post/agentwork-exchange-marketplace)
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.
