An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# ๐Ÿš€ FreeAPI

### **The Ultimate Collection of Free Public APIs**

**1,000+ APIs ยท 51 Categories ยท JSON + Markdown ยท Always Free**

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](LICENSE)
[![APIs](https://img.shields.io/badge/APIs-1092-blue.svg?style=for-the-badge)](apis.json)
[![Categories](https://img.shields.io/badge/Categories-51-green.svg?style=for-the-badge)](#-categories)
[![PRs Welcome](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg?style=for-the-badge)](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.*

[![Star History Chart](https://api.star-history.com/svg?repos=AIPMAndy/FreeAPI&type=Date)](https://star-history.com/#AIPMAndy/FreeAPI&Date)