public-apis
A collaborative list of public APIs for developers
A community-maintained directory of hundreds of free public APIs organized by category, weather, games, maps, crypto, animals, and more, so you can quickly find data sources for side projects or prototypes.
This repository is a collaboratively maintained directory of free public APIs that developers can use in their projects. It contains no application code of its own. The entire value is in the list itself, which organizes hundreds of APIs into categories so they are easy to browse and discover.
The categories cover a wide range of topics: animals, anime, books, business, cryptocurrency, currency exchange, email, entertainment, food and drink, games, geocoding, government data, health, machine learning, music, news, open data, photography, science and math, security, social platforms, sports, transportation, weather, and many more. Each entry in the list shows the API name, a brief description of what it provides, whether it requires an authentication key, whether it supports HTTPS, and whether it allows cross-origin requests from web pages.
For a developer building a side project or prototype, this kind of list is useful when you need data you do not want to generate yourself. For example, if you are building a weather app, a trivia game, a currency converter, or a map-based project, you can browse the relevant category to find an API that provides that data for free or with a free tier.
The repository also has a companion website at publicapis.dev where the same data can be searched and filtered through a web interface, which is easier for browsing than the raw markdown file.
Contributions are accepted through pull requests following a set of guidelines in the repository. The project is popular partly because it serves as a single reference point for a type of resource that is otherwise scattered across many websites and blog posts.
The full README is longer than what was shown.
Where it fits
- Find a free weather or geocoding API for a side project without trawling dozens of blog posts.
- Discover a trivia, sports, or anime API for a game or fan app you are building.
- Check which free APIs support HTTPS and do not require an auth key before adding them to a browser-based web page.
- Browse cryptocurrency and finance APIs when prototyping a trading dashboard or price-tracking tool.