https://github.com/aipmandy/freeapi
๐ A curated collection of 1000+ free public APIs for developers, organized by 51 categories. Structured JSON + Markdown.
https://github.com/aipmandy/freeapi
api api-list developers free-api free-apis open-source public-api rest-api
Last synced: about 8 hours ago
JSON representation
๐ A curated collection of 1000+ free public APIs for developers, organized by 51 categories. Structured JSON + Markdown.
- Host: GitHub
- URL: https://github.com/aipmandy/freeapi
- Owner: AIPMAndy
- License: mit
- Created: 2026-05-09T10:02:29.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-09T10:09:09.000Z (2 months ago)
- Last Synced: 2026-05-09T12:17:07.254Z (2 months ago)
- Topics: api, api-list, developers, free-api, free-apis, open-source, public-api, rest-api
- Size: 160 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ FreeAPI
### **The Ultimate Collection of Free Public APIs**
**1,000+ APIs ยท 51 Categories ยท JSON + Markdown ยท Always Free**
[](LICENSE)
[](apis.json)
[](#-categories)
[](CONTRIBUTING.md)
**Stop wasting hours searching for APIs.**
FreeAPI is a developer-first, community-curated collection of free public APIs.
Structured data you can actually use โ not just a giant README nobody reads.
[Quick Start](#-quick-start) ยท [Browse APIs](#-categories) ยท [JSON Download](#-json-download) ยท [Contribute](#-contributing)
---
## โก Quick Start
**3 steps. 30 seconds.**
```bash
# 1. Download the API catalog
curl -O https://raw.githubusercontent.com/AIPMAndy/FreeAPI/main/apis.json
# 2. Pick a category
cat apis.json | python3 -c "import sys,json; d=json.load(sys.stdin); [print(f'{k}: {len(v)} APIs') for k,v in d['categories'].items()]"
# 3. Start building
curl https://catfact.ninja/fact
```
That's it. You now have access to 1,092 free APIs.
---
## ๐ฏ Why FreeAPI?
| Problem | FreeAPI Solution |
|:---|:---|
| ๐ APIs scattered across 100s of sites | โ
One structured JSON file |
| ๐ Giant README nobody can search | โ
Machine-readable + per-category files |
| ๐ Dead APIs everywhere | โ
Community-maintained, PRs fix broken links |
| ๐ "Free" APIs that aren't really free | โ
Only APIs with genuine free tiers |
---
## ๐ฆ JSON Download
The real power of FreeAPI is the **structured JSON** โ use it in your apps, scripts, or tools.
```bash
curl -O https://raw.githubusercontent.com/AIPMAndy/FreeAPI/main/apis.json
```
๐ JSON Schema
```json
{
"total": 1092,
"categories": {
"Category Name": [
{
"name": "API Name",
"url": "https://docs-url.com",
"description": "What it does",
"auth": "No | apiKey | OAuth | token",
"https": "Yes | No",
"cors": "Yes | No | Unknown"
}
]
}
}
```
Each field:
- **`auth`** โ `No` (free, no key), `apiKey` (free key required), `OAuth`, or `token`
- **`https`** โ Whether the API supports HTTPS
- **`cors`** โ Whether CORS is enabled (important for browser apps)
---
## ๐ Categories
| Emoji | Category | Count |
|:---|:---|:---|
| ๐พ | [Animals](categories/animals.md) | 26 |
| ๐ | [Anime](categories/anime.md) | 16 |
| ๐ก๏ธ | [Anti-Malware](categories/anti-malware.md) | 13 |
| ๐จ | [Art & Design](categories/art-design.md) | 20 |
| ๐ | [Auth & Authorization](categories/authentication-authorization.md) | 6 |
| โ๏ธ | [Blockchain](categories/blockchain.md) | 7 |
| ๐ | [Books](categories/books.md) | 15 |
| ๐ผ | [Business](categories/business.md) | 20 |
| ๐
| [Calendar](categories/calendar.md) | 13 |
| โ๏ธ | [Cloud Storage](categories/cloud-storage-file-sharing.md) | 17 |
| ๐ | [Continuous Integration](categories/continuous-integration.md) | 6 |
| ๐ช | [Cryptocurrency](categories/cryptocurrency.md) | 51 |
| ๐ฑ | [Currency Exchange](categories/currency-exchange.md) | 12 |
| โ
| [Data Validation](categories/data-validation.md) | 7 |
| ๐จโ๐ป | [Development](categories/development.md) | 72 |
| ๐ | [Dictionaries](categories/dictionaries.md) | 13 |
| ๐ | [Documents & Productivity](categories/documents-productivity.md) | 21 |
| ๐ง | [Email](categories/email.md) | 14 |
| ๐ฎ | [Entertainment](categories/entertainment.md) | 6 |
| ๐ | [Environment](categories/environment.md) | 12 |
| ๐ | [Events](categories/events.md) | 3 |
| ๐ฐ | [Finance](categories/finance.md) | 29 |
| Emoji | Category | Count |
|:---|:---|:---|
| ๐ | [Food & Drink](categories/food-drink.md) | 21 |
| ๐ฒ | [Games & Comics](categories/games-comics.md) | 65 |
| ๐ | [Geocoding](categories/geocoding.md) | 58 |
| ๐๏ธ | [Government](categories/government.md) | 84 |
| โค๏ธ | [Health](categories/health.md) | 23 |
| ๐ผ | [Jobs](categories/jobs.md) | 14 |
| ๐ค | [Machine Learning](categories/machine-learning.md) | 13 |
| ๐ต | [Music](categories/music.md) | 23 |
| ๐ฐ | [News](categories/news.md) | 15 |
| ๐ | [Open Data](categories/open-data.md) | 33 |
| ๐ | [Open Source Projects](categories/open-source-projects.md) | 9 |
| ๐ | [Patent](categories/patent.md) | 2 |
| ๐ง | [Personality](categories/personality.md) | 16 |
| ๐ฑ | [Phone](categories/phone.md) | 4 |
| ๐ท | [Photography](categories/photography.md) | 27 |
| ๐ป | [Programming](categories/programming.md) | 5 |
| ๐ฌ | [Science & Math](categories/science-math.md) | 31 |
| ๐ | [Security](categories/security.md) | 29 |
| ๐๏ธ | [Shopping](categories/shopping.md) | 10 |
| ๐ฅ | [Social](categories/social.md) | 33 |
| โฝ | [Sports & Fitness](categories/sports-fitness.md) | 27 |
| ๐งช | [Test Data](categories/test-data.md) | 21 |
| ๐ | [Text Analysis](categories/text-analysis.md) | 12 |
| ๐ | [Tracking](categories/tracking.md) | 5 |
| ๐ | [Transportation](categories/transportation.md) | 41 |
| ๐ | [URL Shorteners](categories/url-shorteners.md) | 16 |
| ๐ | [Vehicle](categories/vehicle.md) | 6 |
| ๐ฌ | [Video](categories/video.md) | 25 |
| ๐ค๏ธ | [Weather](categories/weather.md) | 25 |
---
## โญ Top 10 APIs to Start With
| API | What It Does | Auth | Try It |
|:---|:---|:---|:---|
| ๐ฑ [The Cat API](https://thecatapi.com/) | Random cat images | `apiKey` | `curl https://api.thecatapi.com/v1/images/search` |
| ๐ [Dog CEO](https://dog.ceo/dog-api/) | Random dog images | None | `curl https://dog.ceo/api/breeds/image/random` |
| ๐ [JokeAPI](https://jokeapi.dev/) | Programming jokes | None | `curl https://v2.jokeapi.dev/joke/Programming` |
| ๐ฆ๏ธ [wttr.in](https://wttr.in) | Weather in terminal | None | `curl wttr.in/Shanghai` |
| ๐ช [CoinGecko](https://www.coingecko.com/api) | Crypto prices | None | `curl https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd` |
| ๐ [REST Countries](https://restcountries.com/) | Country data | None | `curl https://restcountries.com/v3.1/name/china` |
| ๐ฒ [Bored API](https://www.boredapi.com/) | Random activities | None | `curl https://www.boredapi.com/api/activity` |
| ๐ [NASA](https://api.nasa.gov/) | Space imagery & data | `apiKey` | [Get free key](https://api.nasa.gov/) |
| ๐ฐ [NewsAPI](https://newsapi.org/) | Live news | `apiKey` | [Get free key](https://newsapi.org/register) |
| ๐พ [PokeAPI](https://pokeapi.co/) | Pokรฉmon data | None | `curl https://pokeapi.co/api/v2/pokemon/pikachu` |
---
## ๐ป Code Examples
### Python โ Browse APIs Programmatically
```python
import json, requests
# Load the catalog
with open('apis.json') as f:
catalog = json.load(f)
# List all Weather APIs
for api in catalog['categories']['Weather']:
print(f" {api['name']:25} {api['auth']:10} {api['url']}")
# Find all APIs that need NO authentication
no_auth = [
api for apis in catalog['categories'].values()
for api in apis if api['auth'] == 'No'
]
print(f"\n{len(no_auth)} APIs need no authentication โ just call them!")
```
### JavaScript โ Fetch & Use
```javascript
// Get a random programming joke
const res = await fetch('https://v2.jokeapi.dev/joke/Programming');
const data = await res.json();
console.log(data.joke || `${data.setup} ... ${data.delivery}`);
// Load the catalog and find all crypto APIs
const catalog = await fetch(
'https://raw.githubusercontent.com/AIPMAndy/FreeAPI/main/apis.json'
).then(r => r.json());
console.log(`Crypto APIs: ${catalog.categories.Cryptocurrency.length}`);
```
### cURL โ Instant Gratification
```bash
# Random cat fact
curl https://catfact.ninja/fact
# Bitcoin price in USD
curl https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd
# Random activity if you're bored
curl https://www.boredapi.com/api/activity
# Weather for any city (terminal-friendly)
curl wttr.in/Tokyo?format=3
```
---
## ๐ง Use Cases
- **๐จ Side Projects** โ Find APIs for your next hackathon project
- **๐ Learning** โ Practice API integration with real endpoints
- **๐ค AI/ML** โ Feed structured API data to your LLM agents
- **๐ฑ App Development** โ Discover data sources for your app
- **๐ Data Science** โ Access free data endpoints for analysis
---
## ๐ค Contributing
Found a great free API? Spotted a broken link? **We want your PR!**
```bash
# Quick contribution
1. Fork โ 2. Edit apis.json โ 3. Submit PR
```
See [CONTRIBUTING.md](CONTRIBUTING.md) for full guidelines.
**What makes a good API entry:**
- โ
Has a free tier (not just a free trial)
- โ
Has documentation
- โ
Is currently working
- โ No paid-only APIs
- โ No dead/deprecated APIs
---
## ๐ License
[MIT](LICENSE) โ Use it however you want.
---
## ๐ Acknowledgments
- Initial data from [public-apis/public-apis](https://github.com/public-apis/public-apis) โ the OG (433k+ โญ)
- Built by [AIPMAndy](https://github.com/AIPMAndy)
---
**โญ Star this repo if it saved you time!**
*The more stars, the more APIs we'll add.*
[](https://star-history.com/#AIPMAndy/FreeAPI&Date)