Developing The API Mindset v2.2
Developing The API Mindset v2.2
Nordic APIs
© 2015 Nordic APIs AB
Contents
1.5 Reflections . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.5 Reflections . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.5 Reflections . . . . . . . . . . . . . . . . . . . . . . . . . 65
Endnotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
CONTENTS i
Supported by Curity
ii
Forward: Developing the API Mindset iii
Our Goal
Application Programming Interfaces (APIs) are at the centre
of a digital transformation that is enabling businesses to do
more with less, to reach new markets, and to speed up product
and service development time. (See a complete definition of
APIs in the introduction.)
This e-book aims to help maximise the Return on Investment
(ROI) you are able to generate through the use of APIs.
We will explain the potential entry points for businesses
embarking on an API strategy, help you prepare a strategic
API vision and roadmap, and identify best practices and key
vi
How to use this E-book vii
Prerequisites
No prior knowledge is assumed in this e-book; it is aimed at
three key audiences:
API Examples
1
Definitions – An API by any Other Name 2
4
Introduction: Choosing Between Private, Partner and Public APIs 5
ner APIs that have a high potential for quickly generating pos-
itive business impacts. Depending on the size of the enterprise,
it may be the best starting point for a business’ API strategy.
Beginning with a public-facing API is recommended with
caution. As mentioned before, there are a lot of opportunities
to learn from deploying an API internally or with partners
first. This is important as trust can be lost so quickly. The
detrimental effects of accidentally exposing a third-party’s
business data could immediately undo any adoption or recog-
nition you have gained for your API. Starting with Private
or Partner APIs will also help a business identify the normal
range of API consumption. This makes it easier to make
accurate capacity plans and set appropriate rate limits, so
resources are not overused by low-priority consumers. It also
helps to monetize high-end users as you pivot to a public API
release.
The following sections shares how Nordic businesses are im-
plementing business-wide API strategies and offers guidance
for businesses anywhere in the world who are seeking the
benefits of each of these three categories of API.
Additional Resources
• The rise of the API economy and consumer-
led ecosystems
1.1 Overview: Why
Start with Private APIs
1
1.1 Overview: Why Start with Private APIs 2
are strong enough to suggest that new users can make the
most of the private APIs when focusing on the following
areas:
• API design,
• Documentation,
• Error handling,
• Testing,
• Inclusion of SDKs, and
• Internal knowledgebases.
9
1.2 Business Benefits of Private APIs 10
15
1.3 Private API Challenges: When a Private API is Not Private 16
Security Implications
The main lesson from this very real example is that security
through obfuscation is not a viable option if the data your
API exposes is of any worth. Just because you do not have a
public webpage for your API, or have not made any public
announcements that you even have an API, does not mean
that external parties can’t find it and learn how to use it.
Hiding APIs via obfuscation can be sidestepped in a few
minutes. Anyone can see how your API is designed, what API
credentials (e.g., API keys) you use, and what data is sent back
and forth.
1.3 Private API Challenges: When a Private API is Not Private 17
Do not despair. Even if others can see the traffic between their
phone and your server, it does not mean that unauthorised
users should be able to easily access your API. If your appli-
cation’s API gets documented and used by developers, you
have a great confirmation that there is a market for a public
API. Treat this as free market research. Try to see traffic
interception as an opportunity and not a threat.
The main lesson is to design your API as if it were public
even if you only plan to use it in your own mobile app.
Protecting the data comes down to your API security scheme.
If you are using API keys, HTTP Basic, or similar protocols,
all the credentials will be visible to intermediaries. Anyone
can snatch your API consumer’s keys to access your data, so
use a protocol, like OAuth 2, that authenticates not only the
app but also the end user.
1.4 Case Study: Bisnode
18
1.4 Case Study: Bisnode 19
Key Lessons
• Involve team members from each department in inte-
gration planning and building buy-in for implementing
APIs internally
• Prepare a one-pager and an elevator pitch explaining
APIs so that you are able to start the conversation at
whatever level of sophistication your internal stakehold-
ers may be – usually at the very beginning!
• Treat internal stakeholders as you would external cus-
tomer segments. Be prepared with the legal benefits of
1.4 Case Study: Bisnode 20
21
1.5 Reflections 22
MoreResources
• Adapting to an API Enabled World (Panel
Debate)
• The Business Impact of Private, Partner and
Public APIs
• Twitter accounts to follow:
– Ronnie Mitra
– Nordic APIs
– Tweet feed of all past, present and
future Nordic APIs presenters
• Nordic APIs newsletter
2.1 Overview: Building
a Successful Partner
API Strategy
23
2.1 Overview: Building a Successful Partner API Strategy 24
31
2.2 Business Benefits of Partner APIs 32
37
2.3 Partner API Challenges: User Authentication to Manage External Access
to Data 38
Additional Resources
• Twobo Technologies Neo-security stack
• Ping Identity blog
2.4 Case Study: LEGO
40
2.4 Case Study: LEGO 41
Key Lessons
• Start with low-hanging fruit: identify the data or ser-
vices that you regularly communicate with partners,
suppliers and agents
• Track usage metrics: at a minimum track API calls
made, error messages sent and, if possible, find out how
partners are integrating the API into their systems
• Make your developer team available to sit with external
developers using a ‘pair programming’ or other mentor-
based methodology when external partners first start
using your Partner API.
2.5 Reflections
• Can you open up your product catalog or a service
directory via an API with selected partners?
• What dataset(s) would be referenced when working
with business suppliers, partners and agents? What in-
formation is most often requested by partners and how
is this currently provided?
• Who is considered your most valuable partners? Who
manages these relationships? What do these relationship
managers - and the partners themselves - think would
be most valuable to open up as a shared resource via an
API?
• What regulation guides your industry? What specific
tracking must you perform to ensure communications
are documented as required, or that shared information
is stored correctly? How is this currently done and
can this process of ensuring authorisation of shared
information and storage be done via an API?
• What customer market segments do your partners pro-
vide services to? What services or products would you
like to offer to these customer segments? Can you pack-
age your products and services is a way that allows your
partners to be the front-end for making these available
to their customer segments?
• What metrics will you need to put in place to monitor
the commercial opportunities that might be available if
you open Partner APIs to a wider audience? What API
resources are requested most often? What are the use
44
2.5 Reflections 45
Additional Re-
sources
• Why everyone speaking “Apish” makes
your whole business more agile, by Mar-
jukka Niinioja of PlanMill
• Who Cares About APIs? by Anne-Sofie
Nielsen of Kapow Software
3.1 Overview: Building
a Platform and
Ecosystem with Public
APIs
46
3.1 Overview: Building a Platform and Ecosystem with Public APIs 47
53
3.2 Business Benefits of Public APIs 54
59
3.3 Public API Challenges 60
61
3.4 Case Study: Podio 62
Key Lessons
• Build quality support materials including tutorials, videos,
and clear API documentation.
• Help third-party developers commercialize off your API
by helping market the products they develop with your
API.
• Consider the use of SDKs in relevant coding languages
to help speed up initial third-party product design.
• Offer a free version of your API to ignite your developer
ecosystem, but start metering and measuring usage so
you can see when it is time to introduce a revenue-
sharing business model.
• Collate data on how third parties are leveraging the use
of your API to generate new income. Be open to sharing
an analysis of this data in aggregated form to help third-
party developers identify the most viable business model
for their API usage idea.
3.5 Reflections
• What Public APIs can be used from external sources
(e.g.. from partners or available in SaaS products used)
that can generate productivity benefits and demonstrate
business value?
• What Partner APIs are used regularly or at high volume?
What are the use cases in which partners are using these
APIs? Do similar use cases exist for customers and third-
party developers?
• Can any of the following datasets be opened up with a
Public API?
– product catalogues
– customer preferences
– historical purchases
– logistics information
– seasonality of products and services
– location of historical purchases
– user recommendations
– services providers and networks?
65
4.1 Conclusion: The
Roadmap from Private
to Public APIs
66
4.1 Conclusion: The Roadmap from Private to Public APIs 67
understand the potential use case, and get a real feel for
how the API would enable more efficient business processes.
This is valuable insight for identifying potential customer seg-
ments who may also find this type of integration useful, and
for communicating the value proposition to these customer
markets.
By deploying Partner APIs first, a business can also get a
feel for the support requirements that may be necessary to
manage a public release. “It has been — and still is — a huge
learning experience internally how to support, consult and
sell the API because it’s so different from our base products
with user interfaces,” Marjukka said. “Plus the development:
remembering that all the business logic checks done in the
UI need to also be done in the backend, because you have to
check data integrity.”
Peter agrees. “We try very early on to introduce Lifecycle
Management for implemented APIs. We think that a lot of
competence and experience can be obtained by adopting
best practice already present at the current line organization
within E.ON IT. The unit is handling IT Services at the macro
level according to the ITIL framework where service level
agreements, release and change management are fundamen-
tal ingredients.”
74
Endnotes 75