API Directory › 🛠️ Developer Tools › Public APIs
No authHTTPSCORS

Public APIs API

A community-maintained directory of free public APIs, queryable as JSON.

Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open Public APIs docs ↗

What it does

The public-apis project is a large community-maintained catalogue of free APIs, grouped by category with columns for auth type, HTTPS support and CORS. The canonical source is the GitHub repository public-apis/public-apis; a hosted JSON endpoint has also existed at api.publicapis.org.

Base URL

https://api.publicapis.org

Authentication

None. The hosted API needs no key. Note that api.publicapis.org has had extended outages in the past — for anything you depend on, parse the repository’s README.md (or a mirror) instead of relying on the live endpoint.

Code examples

curl (hosted endpoint, when up)
curl -s "https://api.publicapis.org/entries?category=weather&https=true"
Python (robust: read the repo README)
import requests, re

md = requests.get(
  "https://raw.githubusercontent.com/public-apis/public-apis/master/README.md",
  timeout=15).text
# rows look like: | [Name](url) | Description | apiKey | Yes | Yes |
rows = re.findall(r"^\| \[([^\]]+)\]\(([^)]+)\) \| ([^|]+)\|", md, re.M)
print(len(rows), "APIs listed")

Rate limits & quotas

The hosted endpoint, when available, applies light rate limiting and returns all matching entries in one response (no pagination). The GitHub raw file has GitHub’s normal CDN limits — cache it, don’t poll it.

Key response fields

entries[]Array of API records (hosted endpoint)
entries[].API / DescriptionName and one-line summary
entries[].AuthapiKey, OAuth, X-Mashape-Key or empty
entries[].HTTPS / CorsBoolean / yes|no|unknown
countNumber of entries returned

Common errors

503 / connection refusedThe hosted API is down — fall back to the GitHub README.
429Rate limited on the hosted endpoint.
(stale data)Entries can lag reality; always verify an API still exists before shipping.

When to use it (and alternatives)

Good for discovery and for seeding your own directory (this Larz OS API directory is a curated, individually-documented take on the same idea). Don’t build a production feature on the hosted endpoint’s uptime.

FAQ

Is api.publicapis.org reliable?

Historically no — it has gone offline for long stretches. Treat the GitHub repository as the source of truth and the hosted API as a convenience that may or may not be up.

Can I contribute an API?

Yes — open a pull request against public-apis/public-apis adding a row to the relevant category table in the README, following the contributing guide.

How is this different from the Larz OS directory?

public-apis is a flat list. The Larz OS directory hand-writes a page per API with real auth walkthroughs, code samples, rate limits and error tables.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

JSON FormatterJWT DecoderBase64

Related Developer Tools APIs

← Back

More Developer Tools APIs · All 196 APIs