API Directory โ€บ Guides โ€บ Public vs Private APIs (and Everything Between)

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 / openAnyone can sign up, often free. Documented publicly, versioned carefully, rate-limited by tier. Examples: weather, maps, crypto prices, this directory.
PartnerAccess 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 / internalUsed 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

‘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

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

Browse all 196 free APIs โ†’

๐Ÿ”Œ Explore free public APIs

Hundreds of free APIs, searchable by category, with auth & CORS at a glance.

Browse the directory โ†’