Overview
The Public APIs directory is a curated collection of free APIs organized by category. Each API listing includes essential information about authentication, security, and CORS support to help you integrate quickly.Browse by category
Start by exploring APIs organized into 50+ categories. You can browse through categories like Development, Finance, Weather, Entertainment, and more.Navigate to the API Categories tab to see all available categories, or use the search to find specific APIs.
Example categories
Check API requirements
Each API listing includes three important pieces of information:
- Auth: Authentication method (No Auth, API Key, OAuth, etc.)
- HTTPS: Whether the API supports secure HTTPS connections
- CORS: Whether you can call the API directly from browsers
Understanding authentication types
Understanding authentication types
- No Auth: Free to use immediately, no authentication required
- API Key: Register for a free API key from the provider’s website
- OAuth: Requires implementing OAuth flow for user authentication
- X-Mashape-Key: API key sent via specific header
- User-Agent: Requires User-Agent header in requests
Follow the documentation
Click on the API name to access the official documentation. This will show you:
- Available endpoints and methods
- Request parameters and formats
- Response structure and data types
- Rate limits and usage policies
- Example requests and responses
Common Use Cases
Here are some popular ways developers use Public APIs:Random Content
Use APIs like Cat Facts, Dog Facts, or Bored API to add random content to your applications
Data Enrichment
Enhance your data with IPstack (geolocation), Agify (age prediction), or Genderize (gender detection)
Weather Integration
Add weather forecasts with OpenWeatherMap, Weatherstack, or other weather APIs
Financial Data
Integrate stock prices, crypto data, or currency exchange rates from finance APIs
Example: Currency Conversion API
Here’s a complete example using a currency conversion API from the directory:cURL request
Response example
Response example
Converting currency in JavaScript
Next Steps
Browse Categories
Explore all 50+ API categories to find what you need
Learn About Auth
Understand different authentication methods and how to use them
CORS Guide
Learn about CORS and when it matters for your application
Contribute
Add new APIs or improve existing listings
Need Help?
Join our Discord community to ask questions, share APIs, and connect with other developers.
