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
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Phantom APIs Are Eating Your Attack Surface, and Most Security Teams Are Still Looking the Other Way
  • How to Set MX Records via API: Automate Email Routing Programmatically
  • I Reverse-Engineered 50 API Breaches. The Same Five Mistakes Keep Appearing.
  • The Documentation Crisis Nobody Sees: Why AI Agents Are Breaking Faster Than Humans Can Document Them

Trending

  • OpenAPI, ORM, SVG, and Lottie
  • Context Rot: Why Your AI Agent Gets Worse the Longer It Works
  • Architectural Collapse: How Extension Poisoning, Node Vulnerabilities, and Infrastructure Fog Enabled the GitHub Repository Breach
  • Foxit MCP Server: Give AI Agents Direct Access to 30+ PDF Tools via Model Context Protocol
  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 user avatar
David Mckenna
·
Feb. 09, 21 · Opinion
Likes (4)
Comment
Save
Tweet
Share
7.7K Views

Join the DZone community and get the full member experience.

Join For Free

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

  • Phantom APIs Are Eating Your Attack Surface, and Most Security Teams Are Still Looking the Other Way
  • How to Set MX Records via API: Automate Email Routing Programmatically
  • I Reverse-Engineered 50 API Breaches. The Same Five Mistakes Keep Appearing.
  • The Documentation Crisis Nobody Sees: Why AI Agents Are Breaking Faster Than Humans Can Document Them

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • 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