Public vs Private APIs (and Everything Between)
Not all APIs are open to everyone. Here's the difference between public, private and partner APIs โ and what it means for you.
APIs are often grouped by who is allowed to use them: public (open to anyone), partner (approved third parties under contract), and private (internal to one organisation). The technology is the same; the access policy and expectations differ.
The three types
| Public / open | Anyone can sign up, often free. Documented publicly, versioned carefully, rate-limited by tier. Examples: weather, maps, crypto prices, this directory. |
| Partner | Access granted case by case, under a business agreement. Docs may be gated. Higher limits, SLAs, sometimes revenue share. Examples: airline booking APIs, large-retailer product feeds. |
| Private / internal | Used only within the company that built it, to connect its own services. Not documented publicly; may change without notice; secured on a private network or with internal auth. |
What ‘public’ does and doesn’t mean
- It does not mean unauthenticated — most public APIs still require a free key.
- It does not mean unlimited — there is almost always a rate limit and often a monthly quota.
- It does not always mean free for commercial use — read the terms.
- It does mean the provider has committed to stability, documentation and a deprecation process (in principle).
‘Unofficial’ APIs are a fourth category
Some widely-used endpoints are private APIs that people reverse-engineered — the JSON calls behind a website or mobile app (Yahoo Finance, some sports and transit data, parts of Instagram). They work until they don’t: no docs, no stability guarantee, changing auth, and use may breach the provider’s terms. Fine for a personal script; risky for anything you ship or sell.
Choosing for a project
- Prototype / learning: any public API with a generous free tier.
- A product you’ll maintain: a public or partner API with clear docs, versioning and a status page — not an unofficial one.
- Enterprise integration: a partner API with an SLA and support contact.
- Connecting your own systems: build a private API; keep it off the public internet or lock it down.
If you publish your own API
Deciding to make an API public is a commitment: public docs, stable versioning, a deprecation policy, rate limiting, authentication, abuse monitoring and support. Many companies start with a private API, open it to a few partners, and only go fully public once it is stable and there’s demand.
FAQ
Does ‘public API’ mean it’s free?
Not necessarily. It means anyone can access it (usually after signing up for a key). Many public APIs have a free tier plus paid plans; some are paid only.
Can I use an unofficial API in my app?
For a personal project, often yes. For anything public or commercial it is risky — no stability guarantee, it can break or block you overnight, and it may violate the provider’s terms of service.
What is a partner API?
An API a company offers only to approved business partners, under an agreement. You apply, get vetted, and receive credentials with higher limits and support than the public tier — if there even is a public tier.
Should my company’s internal API be documented?
Yes — internally. Even private APIs benefit from a spec, a changelog and examples so other teams can integrate without reverse-engineering. Just keep it off the public internet.
Keep going
Try it on a real API
๐ Explore free public APIs
Hundreds of free APIs, searchable by category, with auth & CORS at a glance.
Browse the directory โ