What Is an API and Why Does My Mobile App Need One?
We worked on a trading platform for the drinks industry that had been built by a third-party developer before we came along. The web product was tightly coupled, which means every part of it reached straight into every other part, and nothing was exposed for anyone outside to use. When we needed to connect new pieces of the system, we had to ask that developer how to get at the data, and the replies were slow in coming. The missing piece was a mobile app API, and its absence held the project up for weeks.
An API is the agreed way in, and without one every new feature starts with asking permission.
In the end we stopped waiting. We wrote the API specification ourselves, worked towards that spec, and the original developer implemented it on their side. Taking the lead on the spec broke the deadlock and let the build move again.
That project is a good way into the subject, because it shows what an API does by showing what happens when there isn't one. This article walks through what an API is, where it sits in your product, the two kinds you'll deal with, how to judge someone else's before you commit to it, and what to do when the integration you want simply doesn't exist.
What an API Actually Is
An API is a set of agreed requests that one piece of software can make of another, plus the answers it gets back. Nothing more mysterious than that. Someone writes down what you're allowed to ask for, what you have to send with the question, and what shape the reply will arrive in. Both sides then stick to it.
What is an API, plainly
Think of it as a contract. Your app says "give me this user's orders" and the server says "here they are, in this format". Because the contract is written down, the app team and the server team can work separately without constantly checking in with each other. That's the real value of it on a day to day basis.
On the memory-sharing proof of concept we built, where people attached short audio clips to a memory, Deezer had published exactly this kind of contract. We could search their catalogue, pull back a clip, and play it inside the app, all without guessing at how their system worked. Spotify, which we looked at first, had no proper API for clips, so there was nothing to work to. The difference between those two options came down to whether anyone had written the contract down.
Where the API Sits in Your App
Picture three layers. The top layer is what people see and touch, the screens on the phone. The bottom layer is where things are actually kept, the database, the payment service, the maps provider. The API is the middle layer, and its job is to let the top talk to the bottom in a controlled way.
Where the mobile app API sits
Keeping that middle layer separate means your app never reaches straight into the database. It asks, and the API decides what to hand over. Change the database later and the app carries on working, because the contract hasn't changed. That's why a mobile app API is worth having even when the app is the only thing using it today.
Location search is a good small example. When we design address and place search, a wide open search field is hard to work with and gives people poor results. Integrating something like the Google Places API or Mapbox gives you a much more refined set of data, so people can search by name or area and then see what's nearby. The screen looks simple. Behind it, the app API is doing the narrowing down.
Start your app project the right way
We deliver the complete blueprint before a line of code is written. User research, psychology-driven design and full technical specifications. You choose who builds it.
The Two Kinds of API Your App Will Use
Almost every product ends up with two sorts. There's the one you build and own, which sits between your app and your own data. Then there are other people's, which you connect to because they already do something you need. Maps, music, payments, messaging, address lookup.
The ones you own, you control. You decide what the requests look like, how fast they respond, and when they change. On the drinks trading platform, writing the spec ourselves meant we got to decide all of that even though someone else did the implementing.
The APIs you own are a design decision. The ones you borrow are a dependency you inherit.
Other people's APIs are different. You take what they give you, at the speed they give it, under their rules. Deezer let us search a catalogue bigger than Spotify's and didn't make users log in, and that shaped the product we were able to build. It also gave the client a second income stream, because people who wanted the full track could be upsold a Deezer subscription through an affiliate referral.
Both kinds need thinking about early. The one you own sets the shape of your product. The ones you borrow set its limits.
What Happens When There Isn't One
On the alcohol buying and selling platform, there was no proper API layer to build against, so we were forced to embed web elements inside the app instead. It worked, in the sense that the thing functioned. It cost a lot more than it should have.
That decision added roughly a twenty percent uplift in work across the entire length of the project. Every screen that touched those embedded elements took longer to build, longer to test, and longer to fix when something changed underneath. The client wanted to hold the budget where it was, which is fair enough, so the money had to come from somewhere. We dropped features towards the end of the project to pay for it.
Ask early whether the system you're connecting to has a documented API. If the answer is no, price the workaround before you sign anything, because the extra effort doesn't arrive as one lump. It spreads across every sprint.
The pattern repeats. Without a clean contract between the app and the data, each piece of work has to deal with the mess directly, and the mess grows. The cost rarely shows up as a single visible line in a budget. It shows up as features that quietly never got built.
Judging a Third-Party API Before You Commit
When we were choosing between Spotify and Deezer for the memory-sharing proof of concept, the comparison came down to a handful of practical questions. Those same questions work for almost any third-party integration.
| What we asked | Spotify | Deezer |
|---|---|---|
| Proper API for short clips? | No | Yes |
| Does the user need an account? | Yes | No |
| Workarounds to stay compliant? | Several, custom built | None |
| Catalogue size for search | Large | Larger |
| Extra revenue available? | None we found | Affiliate referrals on subscriptions |
Going with Deezer made the technical route simpler, which surprised a few people. Working around Spotify's lack of a clip API meant building custom solutions just to stay inside their rules. Using Deezer's official API, in the way Deezer wants it used, meant we were compliant by default. The compliance burden more or less disappeared.
Documentation quality matters as much as the feature list. According to Postman, 2025, 93 per cent of teams still run into API collaboration problems, with documentation gaps among the most common. If you can't tell from the docs what a request returns, your team will find out the slow way.
When the Integration You Need Doesn't Exist
Sometimes you do the research and there's nothing to connect to. On a toll management platform, we found during development that there was no coherent or consistent API across toll providers. Each one worked differently. Some took cash, some took card. Fees varied by the number of axles on the vehicle, or were flat. Direct integration simply wasn't viable.
Our answer was to go round it. We set up corporate accounts with each toll provider, registered customer vehicle plates against those accounts, and had customers preload credit onto the platform. Funds were deducted after the fact. That removed the need for any real-time integration, and the product launched without depending on a single toll operator agreeing to cooperate.
The film industry production management tool had a similar shape. Security restrictions on the third-party systems ruled out a direct connection, and the whole point of integrating was pulling data across without people typing it twice. The hard part was making sure the route we chose felt native rather than bolted on. We needed something that felt natural and largely invisible to the user, even with no direct API connection behind it.
Does an MVP Need an API?
Not always, and this is where a lot of budget gets spent for no good reason. On the performance coaching survey app, we used Firebase's real-time database as the backend rather than building a traditional API. Each survey a presenter created made a record in Firebase, and audience members reached their own response record through keys embedded in the QR code URL.
Responses logged in real time, security stayed tight, and the build stayed lean. For a proof of concept, that was the right call.
A proof of concept earns the right to be simple, as long as the simplicity is chosen rather than accidental.
Deciding what to leave out is part of the work. A property developer came to us wanting a concierge app for high-rise properties, with a budget in mind and a clear picture of what they wanted built. They were really after a sign-off rather than a scoping exercise. We talked them into a proper discovery phase with focus groups and user workshops first.
What came out of it was that the product needed to be far simpler than they'd pictured. Plenty of planned features were dropped, and the focus moved to creating a human connection with the product rather than replacing systems the building already had. Better product, lower cost.
Who Can Read and Write What
Every API decision is also a permissions decision. On the performance coaching survey app, we had to stop people submitting fraudulent responses without a traditional API in front of the data, so we built the rules in layers.
- Only authenticated coach accounts could create a survey.
- Each QR code carried a unique key giving read access to that one survey and nothing else.
- When someone opened the URL, a cookie plus device fingerprinting limited write access to the responses collection.
- That meant one submission per device per survey, and no sight of anyone else's answers.
Each layer does one job, and together they cover the gaps. A respondent can answer, once, and can't read round the back at what other people said.
Write down, in a sentence each, who can read and who can write every collection of data in your product. If you can't finish the list in half an hour, the permissions model isn't settled yet.
This part gets skipped more than it should, and it's expensive to retrofit. In 2023, 41% of companies reported experiencing API security incidents, according to Serverion. Deciding access rules while the data model is still soft is far cheaper than bolting them on after launch.
APIs When the Signal Drops
An API only helps when the phone can reach it. We worked on a travel product aimed at younger backpackers heading to off-grid places, and patchy connectivity was the normal condition there, so we rethought the architecture around four questions. What can be stored offline, what has to stay online, how do we queue actions taken offline and replay them once the signal returns, and how do we cut down the amount of data sent back and forth.
Anything that could be baked into the product was baked in. Everything else was kept as light as possible, so whatever bandwidth existed went further. The result worked offline wherever that was feasible.
Test your app in aeroplane mode before launch, not after. Anything already downloaded should still be readable with no signal at all.
Simon once stood in an airport unable to get at his own boarding pass. The ticket data had already downloaded to the device, and the app still threw a no connectivity error and locked him out of everything. That meant manual verification, proving payment, and a handwritten ticket, turning a straightforward journey into a stressful hour. Blocking access to data that's already sitting on the phone is the worst version of this failure. Offline thinking matters to builders too, with 78% of enterprise developers putting it near the top of their list when choosing a platform, according to LinkedIn Pulse.
Talking to Hardware
APIs aren't only for servers. We worked on a baby monitor product where the client was building the physical hardware, cameras and sensors, alongside the companion app. The original plan was to use off-the-shelf Bluetooth protocols and keep the connection straightforward.
It turned out to be far more involved than anyone expected. So we ended up formally defining the contract between the software and the hardware, setting out exactly how the app talks to the device. Turning things on and off, pulling sensor readings, getting at camera feeds, all specified in a format the app could actually use.
That document did the same job a web API does. It let the hardware team and the app team work in parallel, each knowing what the other side will send and expect. Without it, every change on the device means guesswork in the app, and every change in the app means a call to the hardware engineers.
If your product has hardware in it, write the software-to-hardware contract before either side starts building. It's the cheapest document you'll ever produce.
Questions to Ask Your Development Team
You don't need to read code to ask good questions about this. You need to know which ones carry weight.
- Where does our data live, and what's allowed to talk to it?
- Are we building an API, integrating with existing ones, or both?
- Which third-party APIs are we depending on, and what happens if one of them changes?
- Who can read and who can write each piece of data?
- What does the app do when there's no signal?
- Who owns the spec, and who writes it down?
That second question is worth pressing on. Building an API and integrating with one are different jobs with different costs, and Planeks suggests that failing to separate the two can leave a budget underestimated by three to five times.
The questions you skip at the start come back as rewrites at the end, and rewrites are always the expensive version.
We saw that play out on a dating app built around verified profiles and keeping bots out. The client chose to skip discovery on the messaging side and put everything into onboarding. What got built was a generic messaging feature that allowed automated and fake messages, which undid all the verification work done at sign-up. The whole messaging section had to be rewritten, at roughly £15,000 of extra budget and two months of extra work.
Conclusion
An API is a written agreement about who can ask for what. That's the whole idea. Everything else in this article is a consequence of having one, or of not having one, and the pattern holds across every project described here.
On the drinks trading platform, writing the spec ourselves got the work moving again. On the alcohol buying and selling platform, going without a proper layer cost twenty percent of the project's effort and some of its features. With the toll providers and the film industry tool, no usable API existed, so we designed round the gap and kept the experience feeling natural. On the survey app, Firebase and a layered permissions model did the job without a traditional API at all.
None of these were purely technical decisions. Each one changed what the product could do, what it cost, and how it felt to use. That's why the conversation belongs at the start, with the people deciding what the product is, rather than being handed over to the build team as a detail.
If you're planning an app and you're unsure what your integrations really demand, let's talk about your API and integration plans.
Frequently Asked Questions
An API is a set of agreed requests that one piece of software can make of another, along with the answers that come back. Think of it as a written contract: your app asks for a user's orders, and the server returns them in an agreed format.
Without an API your app has no agreed way to reach the data it needs, so every new feature starts with asking someone's permission or waiting on another developer. An API removes that bottleneck by writing the rules down once, so both sides can build against the same contract.
Picture three layers. The screens people see sit on top, your database and third-party services sit at the bottom, and the API is the middle layer that lets the two talk in a controlled way.
Yes. Keeping that middle layer separate means your app never reaches straight into the database, so you can change or replace the database later and the app carries on working because the contract has not changed.
There is the one you build and own, which sits between your app and your own data, and there are other people's APIs, which you connect to because they already do something you need. Most products use a mix of both.
Start by checking whether the provider has actually published a usable contract for the thing you need, not just a general API. In the memory-sharing project, Deezer had a documented way to search and play clips, whereas Spotify had no proper API for clips, so there was nothing to build against.
You can write the specification yourself and ask the other party to implement their side of it. That is what we did on the drinks trading platform, where taking the lead on the spec broke a deadlock that had held the build up for weeks.
Often, yes. Address search is a good example: a wide open search field gives poor results, but connecting something like Google Places or Mapbox returns a refined set of data so people can search by name or area and see what is nearby.
Related Articles
Why do updates get approved faster than new apps?
If you have ever submitted a new app to the App Store and watched the clock, you will know the...
Where Can I Find Investors for My App Idea?
Most founders who ask us where to find investors for an app idea arrive with a list already made....