Public API for Public APIs

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.

Please note that this service is still in beta, so some aspects are subject to change (base URL, documentation, etc).

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

Parameter Type Data Type Description Required
title query string name of entry (matches via substring - i.e. "at" would return "cat" and "atlas") No
description query string description of entry (matches via substring) No
auth query string auth type of entry (can only be values matching in project or null) No
https query bool return entries that support HTTPS or not No
cors query string CORS support for entry ("yes", "no", or "unknown") No
category query string return entries of a specific category No

Example

/entries?category=animals&https=true

GET /random

List a single entry selected at random

Parameters

Parameter Type Data Type Description Required
title query string name of entry (matches via substring - i.e. "at" would return "cat" and "atlas") No
description query string description of entry (matches via substring) No
auth query string auth type of entry (can only be values matching in project or null) No
https query bool return entries that support HTTPS or not No
cors query string CORS support for entry ("yes", "no", or "unknown") No
category query string return entries of a specific category No

Example

/random?auth=null

GET /categories

List all categories

Parameters

None

GET /health

Check health of the running service

Parameters

None


DigitalOcean

::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com


订阅 substack 体验古早写作:


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

关注公众号, 持续获得相关各种嗯哼:
zoomquiet


自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号: 44049002000656 ...::