Tag

#API Design

Every article tagged API Design, in one place.

  • 8 articles
  • 9 min of reading
  • 04 Oct, 2026 last updated

Showing 8 articles

REST & GraphQL APIs 1 min read

API Pagination: Offset vs Cursor-Based

Any list endpoint needs pagination. The two main approaches behave very differently on large or fast-changing data. Offset pagination GET /articles?page=3&per_page=20 SELECT * FROM articles ORDER BY published_at DESC LIMIT 20 OFFSET 40; Pros: simple, lets user...

16 Sep, 2026 Author 1.16K 88
Read article
REST & GraphQL APIs 1 min read

GraphQL vs REST: How to Choose

GraphQL and REST both work well. The right choice depends on your clients, your data and your team, not on which one is newer. The core difference With REST, the server decides the shape of each endpoint's response. With GraphQL, the client asks for exactly th...

05 Jul, 2026 Author 1.41K 39
Read article
REST & GraphQL APIs 1 min read

Documenting APIs with OpenAPI

OpenAPI (formerly Swagger) is a standard, machine-readable description of a REST API. One spec file can produce interactive docs, client SDKs, mock servers and request validation. A minimal spec openapi: 3.1.0 info: title: Orders API version: 1.0.0 servers: -...

12 May, 2026 Author 919 47
Read article
REST & GraphQL APIs 1 min read

Rate Limiting APIs: Algorithms and Headers

Rate limits protect your API from abuse, runaway scripts and accidental traffic spikes, and keep things fair between customers. Common algorithms Fixed window - count requests per calendar minute. Simple, but allows bursts at window edges (100 at 12:00:59 and...

24 Apr, 2026 Author 1.13K 32
Read article