Public API for Public APIs

August 26, 2022 ยท View on GitHub

Build Status Go Report Card

Welcome to the official public API for the public-apis project!

This service supports CORS and requires no authentication to use. All responses are sent over HTTPS as well.

If you would like to leave feedback or request a feature, please open an issue. If you would like to contribute, feel free to open a pull request.

Github Project

https://github.com/davemachado/public-api

Base URL

https://api.publicapis.org/


Services

GET /entries

List all entries currently cataloged in the project

Parameters

ParameterTypeData TypeDescriptionRequired
titlequerystringname of entry (matches via substring - i.e. "at" would return "cat" and "atlas")No
descriptionquerystringdescription of entry (matches via substring)No
authquerystringauth type of entry (can only be values matching in project or null)No
httpsqueryboolreturn entries that support HTTPS or notNo
corsquerystringCORS support for entry ("yes", "no", or "unknown")No
categoryquerystringreturn entries of a specific categoryNo

For categories like "Science & Math" which have a space and an ampersand, the query is simply the first word. Using "Science & Math" as an example, the correct query would be category=science

GET /random

List a single entry selected at random

Parameters

ParameterTypeData TypeDescriptionRequired
titlequerystringname of entry (matches via substring - i.e. "at" would return "cat" and "atlas")No
descriptionquerystringdescription of entry (matches via substring)No
authquerystringauth type of entry (can only be values matching in project or null)No
httpsqueryboolreturn entries that support HTTPS or notNo
corsquerystringCORS support for entry ("yes", "no", or "unknown")No
categoryquerystringreturn entries of a specific categoryNo

GET /categories

List all categories

Parameters

None

GET /health

Check health of the running service

Parameters

None


DigitalOcean