DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Building Multi-Rail Payment Failover to Stop Latency Spikes and Double Debits
  • GET, POST, PUT, DELETE: Choosing HTTP Verbs in a Real .NET Core Web API, Not Just by the Textbook
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • A Non-Expiring AKS Deployment Token Could Read Secrets Across Three Namespaces

Trending

  • SSRF Prevention in C#: Securing File Imports From User-Supplied URLs
  • Article Moderation: Your Questions, Answered
  • Why We Chose Iceberg Over Delta After Evaluating Both at Scale
  • Compress RabbitMQ Messages

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Databases
  4. How Fit Is Your API? Private, Public, Partner APIs

How Fit Is Your API? Private, Public, Partner APIs

There are API ''muscles,'' which, depending on the needs of your API, could be developed and enhanced to achieve API success.

By 
David Mckenna
·
Feb. 09, 21 · Opinion
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
7.8K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

How fit does your API need to be? It may not be the case that your API needs to be "fit" enough to compete in the Olympics but running in a local 5km may be good enough.

The point is that not all need to get to the "Olympic" level below, because very often that simply would not be a reasonable investment. You need to hit the sweet spot of generating as much value as possible with the right level of investment.

As previously described by Erik Wilde in his great and on APIs classification, APIs can be grouped into three categories: Private, Partner, and Public APIs:

  • A Private API is consumed within an organization and is not intended to be exposed to consumers outside of the organization.
  • A Partner API is consumed by partners of your organization, meaning that there is an established relationship and some framework (often some form of contractual agreement).
  • A Public API is intended to be consumed by anybody interested in the API and does not depend on or establish a close relationship; the goal is to make consumption easy and to attract as many consumers as possible.

Private APIs

For Private APIs, a minimalist level of fitness (couch to 5k) can give you a good enough ROI (Return on Investment). So, if you make APIs coherent, findable, and reasonably documented, maybe that's "good enough."

Partner APIs

For Partner APIs, you will need to increase your level of fitness and become a marathon runner. You will have to expend a bit more effort to make sure that your APIs work for your partners.

This effort should cover all aspects included in the private tier (coherent, findable, and reasonably documented), but you must make sure that you hit the level of partner usage that you want for this API.

If you're not there, you must invest a bit more. This could be in API Design , but it also could be in the marketing of the API.

Public APIs

For Public APIs, your level of fitness needs to be approaching Olympian. The threshold for "coherent, findable, and reasonably documented" is different:

  • Coherent represents "what developers expect to find these days," so aligned with current technology trends.
  • Findable should be more than "we have a web page somewhere."
  • "Reasonably documented" might turn into a much bigger exercise of producing truly outstanding API documentation with examples and SDKs and maybe even sample applications in GitHub repos.

API Fitness Matrix 

As with the human body, there are various muscles that can be developed to attain different levels of fitness. Below is a table of API "muscles" which depending on the needs of your API could be developed and enhanced to achieve API success.

Even if your API is public, you may not need to hit Olympian for all areas-it's a balance and tradeoff between the cost to achieve and the podium placement of the API.

The same is true for Private and Partner APIs-it just may not be worth the cost to enhance the muscle.

Discover more information on different types of APIs.

API

Published at DZone with permission of David Mckenna. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Building Multi-Rail Payment Failover to Stop Latency Spikes and Double Debits
  • GET, POST, PUT, DELETE: Choosing HTTP Verbs in a Real .NET Core Web API, Not Just by the Textbook
  • Delegated Transport, Forked Authorization: Where Chat and AI-Agent Integrations Actually Break
  • A Non-Expiring AKS Deployment Token Could Read Secrets Across Three Namespaces

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook