The Case for Boring APIs
metorial.com·5h·
Discuss: Hacker News
Flag this post

There is a specific kind of care that public APIs require that internal ones do not. When you ship an internal service, you are building for your team. When you ship a public API, you are building infrastructure that strangers will depend on. The standards are different (obviously).

The Cost of Inconsistency

I once spent five days integrating with an API that should have taken an afternoon. The problem was not complexity. It was chaos.

Some endpoints returned {data: [...]}. Others returned raw arrays. Field names varied: created_at, createdAt, creation_date. Pagination worked differently on every endpoint. There was no pattern to learn, no consistency to rely on. I could not build a mental model because there was no model to build.

When you cannot figure out h…

Similar Posts

Loading similar posts...