Best Public API Hubs & Directories in 2026
Where to find free and public APIs for your next project
Start Building with Hypereal
Access Kling, Flux, Sora, Veo & more through a single API. Free credits to start, scale to millions.
No credit card required • 100k+ developers • Enterprise ready
Best Public API Hubs and Directories in 2026
Finding the right API for your project can be surprisingly difficult. You know you need a weather API, a translation API, or a stock market API, but which one? Is it free? Does it require authentication? What are the rate limits? Public API directories solve this problem by cataloging thousands of APIs with descriptions, pricing, authentication requirements, and usage examples.
This guide covers the best API hubs and directories available in 2026, organized by type and use case.
Top API Directories
1. Public APIs (GitHub)
URL: github.com/public-apis/public-apis
The most popular open-source API directory with over 300,000 GitHub stars. It is a curated list of free APIs organized by category.
| Detail | Info |
|---|---|
| Total APIs | 1,400+ |
| Format | Markdown table on GitHub |
| Search | GitHub search or Ctrl+F |
| Cost | Free |
| Updated | Community-maintained |
Best for: Quick lookup of free APIs when you know the category you need.
Categories covered: Animals, Anime, Anti-Malware, Art & Design, Authentication, Blockchain, Books, Business, Calendar, Cloud Storage, Continuous Integration, Cryptocurrency, Currency Exchange, Data Validation, Development, Dictionaries, Documents & Productivity, Entertainment, Environment, Events, Finance, Food & Drink, Games & Comics, Geocoding, Government, Health, Jobs, Machine Learning, Music, News, Open Data, Open Source Projects, Patent, Personality, Phone, Photography, Programming, Science & Math, Security, Shopping, Social, Sports & Fitness, Test Data, Text Analysis, Tracking, Transportation, URL Shorteners, Vehicle, Video, Weather.
Example entry:
| API | Description | Auth | HTTPS | CORS |
|---|---|---|---|---|
| OpenWeather | Weather data | apiKey |
Yes | Yes |
2. RapidAPI Hub
URL: rapidapi.com/hub
The largest API marketplace. RapidAPI provides a unified interface where you can test, subscribe to, and manage APIs from different providers through a single API key.
| Detail | Info |
|---|---|
| Total APIs | 40,000+ |
| Format | Web app with search and filters |
| Search | Full-text, category, and tag-based |
| Cost | Free + paid APIs (freemium model) |
| Updated | Continuously by API providers |
Best for: Finding APIs with a unified billing and testing interface. Particularly useful when you need to evaluate multiple APIs side by side.
Key features:
- Test endpoints directly in the browser
- Single API key for all subscriptions
- Automated billing across providers
- Usage analytics dashboard
- Code snippets in 20+ languages
3. APIs.guru (OpenAPI Directory)
URL: apis.guru
A machine-readable directory of OpenAPI (Swagger) specifications. Every API listed includes a full OpenAPI spec that you can import into tools like Postman, Insomnia, or code generators.
| Detail | Info |
|---|---|
| Total APIs | 2,500+ |
| Format | OpenAPI specs (JSON/YAML) |
| Search | Web interface and API |
| Cost | Free |
| Updated | Automated crawling |
Best for: Developers who want to auto-generate client libraries or need machine-readable API specs.
# Fetch the directory as JSON
curl https://api.apis.guru/v2/list.json | jq 'keys | length'
# Returns: 2500+
# Get the OpenAPI spec for a specific API
curl https://api.apis.guru/v2/specs/openweathermap.org/2.5/openapi.json
4. Postman API Network
URL: postman.com/explore
Postman's API Network provides API collections that you can fork directly into your Postman workspace and start testing immediately.
| Detail | Info |
|---|---|
| Total APIs | 100,000+ collections |
| Format | Postman collections |
| Search | Full-text, categories, workspaces |
| Cost | Free |
| Updated | By API publishers |
Best for: Teams that use Postman for API testing and want pre-built collections.
5. API List
URL: apilist.fun
A curated, beautifully designed directory of public APIs. Less comprehensive than RapidAPI but better curated and easier to browse.
| Detail | Info |
|---|---|
| Total APIs | 500+ |
| Format | Web app |
| Search | Category and text search |
| Cost | Free |
| Updated | Manually curated |
Best for: Browsing and discovering interesting APIs when you do not have a specific need in mind.
6. Any API
URL: any-api.com
A comprehensive directory with a focus on providing working documentation and testing tools for each API.
| Detail | Info |
|---|---|
| Total APIs | 1,400+ |
| Format | Web app with inline testing |
| Search | Full-text and category |
| Cost | Free |
| Updated | Community-maintained |
Directories by Category
AI and Machine Learning APIs
| API | Description | Free Tier | Auth |
|---|---|---|---|
| OpenAI | GPT, DALL-E, Whisper | $5 credit | API key |
| Anthropic | Claude models | $5 credit | API key |
| Google AI | Gemini models | Generous free tier | API key |
| Hugging Face | 200K+ models | Free inference | API key |
| Stability AI | Stable Diffusion | 25 free credits | API key |
| Replicate | Run any ML model | Free tier | API key |
Weather APIs
| API | Free Tier | Calls/Month | Features |
|---|---|---|---|
| OpenWeather | Yes | 1,000/day | Current, forecast, historical |
| WeatherAPI | Yes | 1M/month | Current, forecast, astronomy |
| Tomorrow.io | Yes | 500/day | Hyperlocal, pollen, fire |
| Open-Meteo | Yes | Unlimited | No API key needed |
| Visual Crossing | Yes | 1,000/day | Historical data |
Finance and Cryptocurrency APIs
| API | Free Tier | Data | Auth |
|---|---|---|---|
| Alpha Vantage | Yes (5 calls/min) | Stocks, forex, crypto | API key |
| CoinGecko | Yes | Crypto prices, market data | None |
| Polygon.io | Yes (5 calls/min) | US stocks, options, forex | API key |
| Finnhub | Yes | Stocks, news, fundamentals | API key |
| Exchange Rates API | Yes | Currency exchange rates | None |
| Yahoo Finance (unofficial) | Yes | Stocks, ETFs | None |
Entertainment APIs
| API | Description | Free | Auth |
|---|---|---|---|
| TMDB | Movie and TV data | Yes | API key |
| IGDB | Video game data | Yes | OAuth |
| Spotify | Music metadata, playback | Yes | OAuth |
| OMDb | Movie data | Yes (1,000/day) | API key |
| Jikan | Anime data (MyAnimeList) | Yes | None |
| RAWG | Video game data | Yes | API key |
Government and Open Data APIs
| API | Country | Data |
|---|---|---|
| data.gov | USA | 250K+ datasets |
| data.gov.uk | UK | Government data |
| Open Data Soft | Global | Public datasets |
| World Bank | Global | Economic indicators |
| NASA APIs | Global | Space, earth science |
| USGS | USA | Earthquakes, water data |
How to Evaluate a Public API
Before integrating an API into your project, evaluate it against these criteria:
Reliability Checklist
- [ ] Does the API have an uptime SLA or status page?
- [ ] How long has the API been available? (Avoid brand-new APIs for production)
- [ ] Is there a changelog or versioning policy?
- [ ] Does the company have a sustainable business model?
- [ ] Are there active community forums or support channels?
Technical Checklist
- [ ] Is there comprehensive documentation with examples?
- [ ] Does it support your preferred authentication method?
- [ ] What are the rate limits on the free tier?
- [ ] What is the typical response time?
- [ ] Does it return data in your preferred format (JSON, XML)?
- [ ] Does it support CORS for browser-based requests?
- [ ] Is there an SDK or client library for your language?
Pricing Checklist
- [ ] Is there a free tier?
- [ ] What are the overage charges?
- [ ] Does pricing scale linearly or are there breakpoints?
- [ ] Is there a credit card required for the free tier?
- [ ] Are there annual pricing discounts?
Quick Testing with curl
Before committing to an API, test it quickly from the command line:
# Test a free API (no auth required)
curl -s "https://api.open-meteo.com/v1/forecast?latitude=37.77&longitude=-122.42¤t_weather=true" | jq .
# Test an API with an API key
curl -s "https://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_KEY" | jq .
# Test an API with Bearer token
curl -s "https://api.example.com/v1/data" \
-H "Authorization: Bearer YOUR_TOKEN" | jq .
# Measure response time
curl -o /dev/null -s -w "Time: %{time_total}s\n" "https://api.open-meteo.com/v1/forecast?latitude=37.77&longitude=-122.42¤t_weather=true"
Building Your Own API Client
When you find the right API, here is a minimal client pattern in Python:
import requests
from typing import Optional
class WeatherClient:
BASE_URL = "https://api.open-meteo.com/v1"
def get_forecast(self, lat: float, lon: float, days: int = 7) -> dict:
response = requests.get(
f"{self.BASE_URL}/forecast",
params={
"latitude": lat,
"longitude": lon,
"daily": "temperature_2m_max,temperature_2m_min",
"forecast_days": days,
},
timeout=10,
)
response.raise_for_status()
return response.json()
# Usage
client = WeatherClient()
forecast = client.get_forecast(lat=37.77, lon=-122.42)
print(forecast["daily"]["temperature_2m_max"])
And in TypeScript:
class WeatherClient {
private baseUrl = "https://api.open-meteo.com/v1";
async getForecast(lat: number, lon: number, days: number = 7) {
const params = new URLSearchParams({
latitude: lat.toString(),
longitude: lon.toString(),
daily: "temperature_2m_max,temperature_2m_min",
forecast_days: days.toString(),
});
const response = await fetch(`${this.baseUrl}/forecast?${params}`);
if (!response.ok) throw new Error(`API error: ${response.status}`);
return response.json();
}
}
// Usage
const client = new WeatherClient();
const forecast = await client.getForecast(37.77, -122.42);
console.log(forecast.daily.temperature_2m_max);
AI Media Generation APIs
If your project needs AI-powered media generation (image creation, video synthesis, text-to-speech, lip-sync, face swap, or avatar creation), Hypereal AI provides a unified API hub that aggregates the best AI models into a single platform. Instead of managing separate accounts and API keys for each provider, you get one API, one key, and transparent per-request pricing across all models.
Summary
The best API directory depends on your needs. Use the public-apis GitHub repo for a quick, no-frills lookup of free APIs. Use RapidAPI when you want a unified interface for testing and subscribing. Use APIs.guru when you need machine-readable OpenAPI specs. Use Postman API Network when your team works in Postman. Before integrating any API, test it with curl, check the rate limits, and evaluate the provider's reliability. The best API for your project is the one that is well-documented, reliably available, and priced fairly for your usage.
Related Articles
Start Building Today
Get 35 free credits on signup. No credit card required. Generate your first image in under 5 minutes.
