Need data for your next project? Here are 150+ free APIs organized by category. Many don't even need an API key.
No API Key Needed (Just Fetch and Go)
These work with a simple fetch() call:
import requests
# Random dog image
dog = requests.get('https://dog.ceo/api/breeds/image/random').json()
print(dog['message']) # URL to a random dog photo
# Weather (no key!)
weather = requests.get('https://wttr.in/London?format=j1').json()
print(f"London: {weather['current_condition'][0]['temp_C']}C")
# Random user profile
user = requests.get('https://randomuser.me/api/').json()
print(user['results'][0]['name'])
# IP geolocation
location = requests.get('https://ip-api.com/json/').json()
print(f"You're in {location['city']}, {location['country']}")
Best No-Key APIs
| API | What You Get |
|---|---|
| JSONPlaceholder | Fake REST API for testing |
| wttr.in | Weather in JSON/text |
| PokeAPI | 1,000+ Pokemon |
| Open Notify | ISS location right now |
| DummyJSON | Fake e-commerce data |
| REST Countries | Country info for 250+ countries |
| Random User | Fake user profiles |
| Advice Slip | Random life advice |
| Rick and Morty | All characters/episodes |
Best Free APIs by Category
Finance and Crypto
| API | Free Tier |
|---|---|
| CoinGecko | 10,000+ crypto coins, 30 calls/min |
| Alpha Vantage | Stocks, forex, 25 calls/day |
| Frankfurter | Currency rates, no key |
AI and Machine Learning
| API | Free Tier |
|---|---|
| Hugging Face | 200,000+ ML models |
| Wit.ai | NLP by Meta, completely free |
| Perspective API | Toxicity detection by Google |
Science and Space
| API | Free Tier |
|---|---|
| NASA | Mars photos, asteroids, 1K calls/hr |
| SpaceX | Launch data, unlimited |
| OpenAlex | 250M+ academic papers |
Security
| API | Free Tier |
|---|---|
| Have I Been Pwned | Data breach checking |
| VirusTotal | File/URL scanning, 500/day |
| URLhaus | Malware URL database |
The Full List
I organized 150+ free APIs into 20 categories:
Weather, Finance, News, AI, Government, Science, Maps, Entertainment, Sports, Health, Animals, Food, Music, Books, Security, Dev Tools, Social, Images, Transportation, and more.
Pro Tips
- Start with no-key APIs for prototyping. Add auth later.
- Cache responses to stay within rate limits.
-
Use
Open-Meteofor weather instead of OpenWeatherMap — no key needed and unlimited. - CoinGecko > CoinMarketCap — more generous free tier.
- REST Countries + IP API = instant geolocation without signup.
What's your favorite free API? Drop it in the comments.
More curated lists: Web Scraping Tools, MCP Tools, Security Tools, AI Tools.
Top comments (0)