Best practices: How to engage developers with a world-class API portal

Screenshot of BBVA's service home page

Figure 1: BBVA's services home page greets you with a clearly articulated unique value proposition, which is something that's sadly missing from many API developer portals.

image mulesoft use case steps

Figure 2: The use cases on Western Union’s portal use attractive graphics to convey brief and to the point outcomes for users of its APIs.

Screenshot of Ripl API

Figure 3: Facebook's API use-cases emphasize how customers like Ripl solve problems and bolster new business initiatives.

Screenshot of GitHub marketplace

Figure 4: GitHub does a good job of having an active marketplace that offers a wide range of apps that integrate with its service. It's one of the reasons why, what started as a small hosting resource for developers, was acquired by Microsoft in 2018 for $7.5 billion.

Screenshot of pricing api

Figure 5: While businesses want to encourage or even demand that a prospect interact with a member of the sales team as soon as possible, requiring that additional click to learn crucial information (like price ranges or tiers) is enough friction to halt many decision-makers' progress through the customer purchase funnel. Ease of access to pricing information along with a free tier of API access will maximize the rate of converting visitors into customers (known as the "conversion rate").

Screenshot of AccuWeather's informative site

Figure 6: AccuWeather's informative site assures users that the company's API pricing structure is designed to accommodate their success and growth without charging them for services they don't need or want.

Screenshot of NASA api portal

Figure 7: Onboarding with only the essentials, NASA's API portal asks the bare minimum and then immediately gets developers started.

Screenshot of Stripe API sandbox

Figure 8: Stripe opens its sandbox to decision-makers with a test API key that allows users to sample the API without having to register first.

Screenshot of Github's Development Guides

Figure 9: GitHub's Development Guides page rewards developers immediately by answering the initial question that's most frequently asked, "I want to roll up my sleeves and get started. How do I do that?"

Screenshot of Twilio api

Figure 10: Twilio gives users everything they need at one time to speed and simplify learning, including instructions and sample code. Twilio even offers two tabs of sample code for two different versions of the API as shown in the screenshot, top right.

Screenshot of BBVA's explication of a source

Figure 12: BBVA's reference documents never assume a user has a complete understanding of a resource, so the bank includes notes that explain them.

Screenshot of Stripe demonstrates an API call that uses a complete cURL request

Figure 14: Stripe demonstrates an API call that uses a complete cURL request.

Screenshot of Reference that contains some of the most detailed requests and responses for each resource

Figure 15: The Postman reference contains some of the most detailed requests and responses for each resource that we've seen, including full cURL calls and parameters for both the header and the endpoint.

Screenshot of GitHub's API reference

Figure 16: GitHub's API reference does a very good job presenting the complete set of parameters by including the parameter name, type, and description.

Screenshot of an example of one of Mailchimp's error handling explanations

Figure 17: An example of one of Mailchimp's error handling explanations, which is a necessary addition to any API reference.

Screenshot of example of the Slate-inspired three-column design on Stripe's reference page

Figure 18: Here we see an example of the Slate-inspired three-column design on Stripe's reference page. As mentioned above, this makes the entire reference easily searchable, contributing to how Stripe's DX truly shines.

Screenshot of Ctrl-F/Cmd-F keystrokes present a search box for querying the entire reference

Figure 19: While browsing Stripe's API reference documentation, the Ctrl-F/Cmd-F keystrokes present a search box for querying the entire reference and auto-completes entries with suggestions based on what the user starts to type. If the user prefers the browser's native search, then the user can type Ctrl-F/Cmd-F once more. This feature is a huge help when searching and the exact name of the method is unknown.

 Screenshot of example from cloud storage company Box

Figure 20: In this API reference example from cloud storage company Box, the user interface offers sample API calls for cURL, Java, C# (.NET), Node.js and Python. In each case, one click of the Copy button is all it takes to copy the code to the developer's clipboard.

Screenshot of Clearbit recognizes registered users and tailors

Figure 21: Clearbit recognizes registered users and tailors its reference to them. In this partial screenshot, we've obfuscated the personalized API key.

Screenshot of Humanity's API

Figure 22a: Users can select the version of Humanity's API they need to research.

Screenshot of the new Amazon API

Figure 22b: Although Amazon doesn't have a version navigator for its Dash Replenishment APIs, it does offer a text link that allows developers to explore the older "legacy" version of the API. Similarly, the legacy version has a text link that points back to the "new API".

Screenshot of Discord's reference offers versions for older APIs

Figure 23: Discord's reference offers versions for older APIs, but defaults to the current one.

Screenshot of puppetforrge api spec-side

Figure 24: Puppet Forge (left) places its API description prominently on its reference page. FYB (right) also offers a download link to retrieve an API Blueprint-based description.

Screenshot of EIA clearly labels deprecated items

Figure 25: To help developers understand how a current API version may differ from its predecessor, the EIA clearly labels deprecated items.

Screenshot of example from the Kentico Cloud API reference

Figure 26: Below is an example from the Kentico Cloud API reference. A simple click of the Run in Postman button will open the collection in a developer's Postman client.

Screenshot of YouTube API portal

Figure 27: The YouTube API portal carefully and extensively defines common use cases within the console.

Screenshot of New Relic's app

Figure 28: Note how, from within its API reference, New Relic has contextual links that not only take the developer to its API Explorer, it preloads the explorer with the relevant API call (see figure 29, below).

Screenshot of New Relic's console

Figure 29: New Relic's console, already pre-populated with an API call based on the contextual link the developer clicked from within the API reference.

Screenshot of Uber's sandbox

Figure 30: When it comes to APIs, a sandbox is where the developer can go play with an API without impacting production data. It's not a physical box however. As shown with Uber's sandbox, it's simply a non-production endpoint that responds as though real transactions are taking place (even though they aren't).

Screenshot of Dropbox sprinkles a number of CTAs throughout its landing page

Figure 32: Dropbox sprinkles a number of CTAs throughout its landing page.

Screenshot of Graph API

Figure 33: Facebook provides a valuable changelog page like this one for its Graph API. The page reflects the API's different versions, lists which changes break integrations, and also links to upgrade tools.

Screenshot of AWS blog

Figure 34: The AWS blog is known for frequent updates of useful content that engages the reader.

Screenshot of Google Maps Platform Support

Figure 35. Google Maps Platform Support offers developers a comprehensive resource.

Screenshot of Clarifai support teams with an AI support bot dubbed Clairbot

Figure 36: Clarifai support teams with an AI support bot dubbed Clairbot.

Screenshot of  GraphQL Editor Slack channel

Figure 37: Clicking the icon on the upper left (1) will take users to the GraphQL Editor Slack channel web page (2).

Screenshot of  Clearbit user dashboard

Figure 38: Clearbit has a user dashboard where API usage over the various time periods is measured.

Screenshot of Facebook platform bug reports

Figure 39: Facebook developers can report bugs, monitor the status of reported bugs, and check if bugs have been previously reported.

Screenshot of API Strategy Blueprint four-stages

Figure 40: The blueprint for API economy success is broken into four critical areas, none of which can be overlooked by organizations hoping to lead competitors in their fields. The four-stages run concurrently (are not necessarily sequential); iteration with an eye towards improvement is constant, and measurement against quantifiable objectives within each stage is always ongoing.

+

Esta página está disponible en español

Ver en español