Public API Directory
Discover 30 free public APIs for your next project
30 APIs found
Free Public API Directory — Discover APIs for Your Next Project
Building a web app, mobile app, or side project? You need data, and public APIs provide it for free. This directory lists 30 carefully curated, free public APIs across categories like weather, finance, entertainment, testing, science, sports, photos, and more. Each entry shows the API name, a short description, its authentication type (None, API Key, or OAuth), whether it supports CORS (Cross-Origin Resource Sharing), and whether it uses HTTPS.
Use the search bar to find APIs by name, description, or category. Filter by authentication method — choose "None" if you want APIs that require zero setup, or "API Key" if you do not mind registering for a key. Click the category buttons to narrow results to a specific topic. Toggle the star icon to save your favorite APIs. Click the Favorites button to show only your bookmarked APIs. Switch between Grid and List views depending on your preference.
Every API in this directory has been verified for accessibility. Each entry includes a Visit link that opens the API documentation in a new tab, and a Copy button that copies the URL to your clipboard for quick pasting into your code or browser.
API Categories Explained
Testing & Dev Tools
JSONPlaceholder, RandomUser, Faker API, QR Code API — generate fake data, placeholder content, and developer utilities for rapid prototyping and testing.
Weather & Geo
OpenWeatherMap, REST Countries, IP API — get weather forecasts, country info, and IP geolocation data for location-aware applications.
Entertainment
Chuck Norris Jokes, JokeAPI, Bored API, OMDb, Quotable, Kanye.rest — quotes, jokes, movies, and random activities for fun and engagement features.
Finance & Science
CoinGecko, ExchangeRate API, NASA API, SpaceX API — cryptocurrency prices, currency rates, astronomy photos, and space launch data.
Photos & Media
Unsplash, Pexels, Lorem Picsum — beautiful free stock photos and placeholder images for design mockups and production applications.
Education & Sports
Dictionary API, Open Library, Football Data, PokeAPI — definitions, book search, match stats, and Pokémon data for educational and hobby projects.
How to Use Public APIs in Your Projects
Start with "No Auth" APIs for prototyping
APIs with "None" authentication require zero setup. Just send an HTTP request (fetch, axios, curl) and get JSON data back immediately. Perfect for learning and rapid prototyping.
Register for an API key when ready
APIs that require an API key are usually free for limited usage. Register on the provider's website, get your key, and include it in your request headers or query parameters.
Check CORS support for frontend projects
If youre calling an API directly from a browser (React, Vue, vanilla JS), it must support CORS. APIs without CORS support need a backend proxy or server-side requests.
Use HTTPS APIs for security
HTTPS ensures data is encrypted in transit. Most modern APIs support HTTPS. Avoid HTTP-only APIs if your application handles sensitive user data.
Handle rate limits and errors gracefully
Most free APIs have rate limits (e.g. 60 requests/minute). Implement caching, retry logic, and user-friendly error messages so your app degrades gracefully when limits are hit.
Read the documentation before integrating
Every API has unique endpoints, parameters, and response formats. Spend a few minutes reading the docs — it will save hours of debugging later.
