GitHub - public-apis/public-apis is a comprehensive, community-driven list of free public APIs, categorized by domain such as Shopping, Environment, News, Test Data, and Business. It includes APIs like Dummy Products for e-commerce data, OpenAQ for air quality, GNews for news, JSONPlaceholder for testing, and Trello for project management.
Public APIs for Developers (freeCodeCamp) highlights that public APIs allow developers to integrate third-party data and services into applications efficiently, using endpoints to request specific data via HTTP methods like GET, POST, PUT, and DELETE.
PublicApis.dev offers over 1,400 public APIs, covering diverse categories including weather, music, cryptocurrency, books, sports, and AI tools. Notable examples include IPWho for IP geolocation, Holy Bible API for religious texts, Fantasy Premier League for sports data, and Sent.dm for unified messaging.
For beginners, Apipheny’s Free API list provides 90+ no-key APIs ideal for testing, such as Cat Facts, Dogs, RandomUser, CoinDesk for Bitcoin prices, and Jokes — all accessible directly via browser without authentication.
To use a public API:
Find one via GitHub, PublicApis.dev, or freeCodeCamp.
Review documentation for endpoints and authentication (e.g., API key or OAuth).
Test with tools like cURL or Postman.
Integrate into your app using HTTP requests in your preferred language (e.g., Python, JavaScript).