API
Synonyms: application programming interface, endpoint, web service, interface (technical sense)
Definition
Use cases
- Data that doesn't exist: A dashboard mockup shows a field the API never returns. The design looks great, then can't ship without backend work nobody scoped.
- Mockups that ignore reality: A perfect screen built on fake data breaks the moment the API returns nulls, 10,000 rows, or a server error. The team finds out in QA, not design.
- A list the API can't feed: An "infinite scroll" design collides with pagination and rate limits, so it stutters or fails under real load.
How it's used in practice
- Read the API first: Before designing, learn what data, fields, and limits exist, by checking the docs or asking backend. It bounds what you can build.
- Design the unhappy paths: Sketch loading, empty, partial, error, and rate-limited states, not just the perfect case.
- Plan for latency: Decide what shows while data loads (skeletons, optimistic UI) so slow responses don't leave a blank screen.
- Treat developer experience as UX: For API products, the docs, naming, and error messages are the interface. Write them like design work.
Challenges & limitations
- Hidden ceilings: Backend constraints, like what's stored and how often you can call it, quietly cap the experience you can build.
- Invisible UX: For API products, bad docs and confusing error messages sink adoption, and there's no obvious "screen" to point at when it fails.
Commonly Used Standards & Tools:
- REST — the most common API style, organized around resources and URLs. Best for straightforward web and mobile apps.
- GraphQL — lets clients request exactly the fields they need in one call. Best for complex UIs that pull varied data.
- OpenAPI / Swagger — a standard way to describe and document an API. Best for keeping design, docs, and code in sync.
Free resources
- MDN: Introduction to Web APIs — a beginner-friendly explanation of what APIs are and how they work.
- Postman: What Is an API? — a clear primer from a leading API tool.
- Stripe API Reference — widely held up as a gold standard for API docs and developer experience.

