Skip to content

AIPMAndy/FreeAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ FreeAPI

The Ultimate Collection of Free Public APIs

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

License: MIT APIs Categories PRs Welcome


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 ยท Browse APIs ยท JSON Download ยท Contribute



โšก Quick Start

3 steps. 30 seconds.

# 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.

curl -O https://raw.githubusercontent.com/AIPMAndy/FreeAPI/main/apis.json
๐Ÿ“‹ JSON Schema
{
  "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 26
๐ŸŽŒ Anime 16
๐Ÿ›ก๏ธ Anti-Malware 13
๐ŸŽจ Art & Design 20
๐Ÿ” Auth & Authorization 6
โ›“๏ธ Blockchain 7
๐Ÿ“š Books 15
๐Ÿ’ผ Business 20
๐Ÿ“… Calendar 13
โ˜๏ธ Cloud Storage 17
๐Ÿ”„ Continuous Integration 6
๐Ÿช™ Cryptocurrency 51
๐Ÿ’ฑ Currency Exchange 12
โœ… Data Validation 7
๐Ÿ‘จโ€๐Ÿ’ป Development 72
๐Ÿ“– Dictionaries 13
๐Ÿ“ Documents & Productivity 21
๐Ÿ“ง Email 14
๐ŸŽฎ Entertainment 6
๐ŸŒ Environment 12
๐ŸŽ‰ Events 3
๐Ÿ’ฐ Finance 29
Emoji Category Count
๐Ÿ” Food & Drink 21
๐ŸŽฒ Games & Comics 65
๐Ÿ“ Geocoding 58
๐Ÿ›๏ธ Government 84
โค๏ธ Health 23
๐Ÿ’ผ Jobs 14
๐Ÿค– Machine Learning 13
๐ŸŽต Music 23
๐Ÿ“ฐ News 15
๐Ÿ“Š Open Data 33
๐Ÿ”“ Open Source Projects 9
๐Ÿ“‹ Patent 2
๐Ÿง  Personality 16
๐Ÿ“ฑ Phone 4
๐Ÿ“ท Photography 27
๐Ÿ’ป Programming 5
๐Ÿ”ฌ Science & Math 31
๐Ÿ”’ Security 29
๐Ÿ›๏ธ Shopping 10
๐Ÿ‘ฅ Social 33
โšฝ Sports & Fitness 27
๐Ÿงช Test Data 21
๐Ÿ“ Text Analysis 12
๐Ÿ“Œ Tracking 5
๐Ÿš— Transportation 41
๐Ÿ”— URL Shorteners 16
๐Ÿš˜ Vehicle 6
๐ŸŽฌ Video 25
๐ŸŒค๏ธ Weather 25

โญ Top 10 APIs to Start With

API What It Does Auth Try It
๐Ÿฑ The Cat API Random cat images apiKey curl https://api.thecatapi.com/v1/images/search
๐Ÿ• Dog CEO Random dog images None curl https://dog.ceo/api/breeds/image/random
๐Ÿ˜‚ JokeAPI Programming jokes None curl https://v2.jokeapi.dev/joke/Programming
๐ŸŒฆ๏ธ wttr.in Weather in terminal None curl wttr.in/Shanghai
๐Ÿช™ CoinGecko Crypto prices None curl https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd
๐ŸŒ REST Countries Country data None curl https://restcountries.com/v3.1/name/china
๐ŸŽฒ Bored API Random activities None curl https://www.boredapi.com/api/activity
๐Ÿš€ NASA Space imagery & data apiKey Get free key
๐Ÿ“ฐ NewsAPI Live news apiKey Get free key
๐Ÿพ PokeAPI Pokรฉmon data None curl https://pokeapi.co/api/v2/pokemon/pikachu

๐Ÿ’ป Code Examples

Python โ€” Browse APIs Programmatically

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

// 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

# 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!

# Quick contribution
1. Fork โ†’ 2. Edit apis.json โ†’ 3. Submit PR

See 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 โ€” Use it however you want.


๐Ÿ™ Acknowledgments


โญ Star this repo if it saved you time!

The more stars, the more APIs we'll add.

Star History Chart

About

๐Ÿš€ A curated collection of 1000+ free public APIs for developers, organized by 51 categories. Structured JSON + Markdown.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors