Skip to content
Web Design & Development

Depending on Third-Party APIs: What Actually Works

Building features that rely on external services for payments, mapping, messaging or data.

MediaScaleUp Editorial Team 2 min read 14 views
Depending on Third-Party APIs: What Actually Works

What is at stake

External services fail, change and deprecate, and your application has to keep working when they do.

The playbook

  1. Handle failures with timeouts and fallbacks
  2. Cache responses where data allows
  3. Monitor provider status and deprecation notices
  4. Isolate provider code behind an internal interface
  5. Model costs at expected scale

Where it goes wrong

Avoid:

  • Synchronous calls with no timeout
  • Provider code spread throughout the application
  • Ignoring deprecation announcements
  • No fallback when a provider is down
What to do and what to avoid with depending on third-party APIs, side by side
Good practice against the usual mistakes, from the sources listed below.

The numbers behind it

Published figures for Depending on Third-Party APIs
MeasureFigure
Rate limitsthird parties restrict request volumes
DeprecationAPIs change with notice periods
Outagesexternal failures become your failures
Costsusage-based pricing scales with your growth

Getting outside help

When to hand it over: Bring in help when core features depend on external services.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Web Design & Development