A curated collection of free APIs perfect for testing, learning, and building projects. Most require no authentication.
Now with MCP Server support for AI Agents!
- For AI Agents
- Weather & Environment
- Finance & Cryptocurrency
- Entertainment & Media
- Data & Demographics
- Fun & Random
- Development & Testing
- Science & Education
- Location & Geography
- Food & Lifestyle
- Animals
This collection includes an MCP Server that lets AI agents (Claude, etc.) discover and call these APIs directly.
# Install dependencies
cd mcp-server && pip install -e .
# Add to Claude Code
claude mcp add free-apis -- python /path/to/free-apis-collection/mcp-server/server.py| Tool | Description |
|---|---|
list_categories() |
See all API categories |
list_apis(category, auth_required) |
Filter APIs by category or auth |
search_apis(query) |
Search by keyword |
get_api(name) |
Get full API details |
quick_test(api_name) |
Instantly test a no-auth API |
call_api(url) |
Call any API endpoint |
get_random_api() |
Discover a random API |
Just tell your AI assistant:
- "Get me a random dog image" → Uses Dog CEO API
- "What's Bitcoin worth?" → Uses CoinDesk API
- "I'm bored" → Uses Bored API
- "Tell me a joke" → Uses Joke API
See AGENTS.md for full AI agent documentation.
| API | URL | Description |
|---|---|---|
| OpenWeather | https://openweathermap.org/api | Current weather, forecasts, and historical data |
| API | URL | Description |
|---|---|---|
| CoinDesk | https://api.coindesk.com/v1/bpi/currentprice.json | Bitcoin Price Index in real-time (No Auth) |
| CoinGecko | https://www.coingecko.com/en/api | Cryptocurrency prices, market data, and exchanges |
| ExchangeRate-API | https://www.exchangerate-api.com/ | Currency exchange rates |
| API | URL | Description |
|---|---|---|
| The Movie DB | https://www.themoviedb.org/documentation/api | Movies, TV shows, and actor information |
| Giphy | https://developers.giphy.com | GIFs, stickers, and animated content |
| JokeAPI | https://jokeapi.dev | Programming, misc, dark, pun jokes |
| Official Joke API | https://official-joke-api.appspot.com/random_joke | Random jokes (No Auth) |
| Bored API | https://www.boredapi.com/api/activity | Activity suggestions when bored (No Auth) |
| PokeAPI | https://pokeapi.co/ | Pokemon data and sprites (No Auth) |
| Open Trivia DB | https://opentdb.com/api_config.php | Trivia questions across categories (No Auth) |
| Chuck Norris API | https://api.chucknorris.io/ | Chuck Norris jokes (No Auth) |
| Quotable | https://github.com/lukePeavey/quotable | Random quotes (No Auth) |
| API | URL | Description |
|---|---|---|
| REST Countries | https://restcountries.com | Country information, flags, currencies, languages |
| Data USA | https://datausa.io/api/data?drilldowns=Nation | U.S. demographic and population data (No Auth) |
| Agify.io | https://api.agify.io?name=michael | Estimate age from name (No Auth) |
| Genderize.io | https://api.genderize.io?name=luc | Predict gender from name (No Auth) |
| Nationalize.io | https://api.nationalize.io?name=nathaniel | Infer nationality from name (No Auth) |
| RandomUser | https://randomuser.me/api/ | Generate fake user data (No Auth) |
| Universities List | http://universities.hipolabs.com/search?country=United+States | Universities by country (No Auth) |
| Public APIs | https://api.publicapis.org/entries | Directory of public APIs (No Auth) |
| API | URL | Description |
|---|---|---|
| Cat Facts | https://cat-fact.herokuapp.com/facts | Random cat facts (No Auth) |
| Numbers API | http://numbersapi.com/ | Facts about numbers (No Auth) |
| Advice Slip | https://api.adviceslip.com/ | Random life advice (No Auth) |
| Yes No | https://yesno.wtf/api | Random yes/no answers with GIFs (No Auth) |
| Useless Facts | https://uselessfacts.jsph.pl/ | Random useless facts (No Auth) |
| API | URL | Description |
|---|---|---|
| JSONPlaceholder | https://jsonplaceholder.typicode.com | Fake REST API for testing and prototyping |
| GitHub REST API | https://docs.github.com/en/rest | GitHub repositories, users, and activity |
| HTTPBin | https://httpbin.org/ | HTTP request & response testing (No Auth) |
| ReqRes | https://reqres.in/ | Fake REST API for front-end testing (No Auth) |
| IPify | https://api.ipify.org?format=json | Get your public IP address (No Auth) |
| IPinfo | https://ipinfo.io/json | IP geolocation data |
| API | URL | Description |
|---|---|---|
| NASA Open API | https://api.nasa.gov | Space imagery, Mars rover photos, asteroids |
| SpaceX API | https://github.com/r-spacex/SpaceX-API | SpaceX launches, rockets, and capsules (No Auth) |
| Open Library | https://openlibrary.org/developers/api | Books and author information (No Auth) |
| Wikipedia API | https://www.mediawiki.org/wiki/API:Main_page | Wikipedia content and search (No Auth) |
| arXiv API | https://arxiv.org/help/api | Scientific papers and preprints (No Auth) |
| Free Dictionary | https://dictionaryapi.dev/ | English word definitions (No Auth) |
| API | URL | Description |
|---|---|---|
| Zippopotam | https://api.zippopotam.us/us/33162 | Postal code lookup (No Auth) |
| IP Geolocation | https://ip-api.com/ | IP-based location data (No Auth) |
| OpenSky Network | https://opensky-network.org/apidoc/ | Live flight tracking data |
| Open Charge Map | https://openchargemap.org/site/develop/api | EV charging station locations (No Auth) |
| API | URL | Description |
|---|---|---|
| OpenFoodFacts | https://world.openfoodfacts.org/data | Food products and nutritional data |
| TheMealDB | https://www.themealdb.com/api.php | Recipes and meal data (No Auth) |
| TheCocktailDB | https://www.thecocktaildb.com/api.php | Cocktail recipes (No Auth) |
| Trefle | https://trefle.io | Plants database and botanical data |
| API | URL | Description |
|---|---|---|
| Dog CEO | https://dog.ceo/api/breeds/image/random | Random dog images (No Auth) |
| Cat API | https://thecatapi.com/ | Cat images and breeds |
| Dog API | https://thedogapi.com/ | Dog images and breed information |
| RandomFox | https://randomfox.ca/floof/ | Random fox images (No Auth) |
| Shibe.online | https://shibe.online/ | Random shiba inu, cat, bird images (No Auth) |
Try these directly in your browser:
# Random dog image
curl https://dog.ceo/api/breeds/image/random
# Your IP address
curl https://api.ipify.org?format=json
# Random joke
curl https://official-joke-api.appspot.com/random_joke
# Random activity
curl https://www.boredapi.com/api/activity
# Bitcoin price
curl https://api.coindesk.com/v1/bpi/currentprice.json
# Random user
curl https://randomuser.me/api/Found a great free API? Open a PR to add it!
- public-apis/public-apis - Massive community-curated list
- Free Public APIs - No-auth APIs collection
- Apipheny Free API List - 90+ public APIs
MIT - Feel free to use and share!