API Response Design & Pagination

•
9
•

Implements professional API response structures, cursor-based pagination, and expandable resource patterns for production-grade SaaS products.

This skill provides expert guidance for building robust, scalable API responses that function as stable contracts between servers and clients. It enforces industry-leading best practices such as consistent response envelopes, O(1) cursor-based pagination, and the Stripe-style expand pattern to minimize network round trips. By standardizing resource shapes, temporal metadata, and error handling across all endpoints, it ensures long-term backward compatibility and a premium developer experience for API consumers.

主な機能

01Stripe-inspired 'Expand/Embed' pattern for related resources
02Consistent resource shapes across GET, POST, and list endpoints
03High-performance cursor-based pagination (O(1) complexity)
049 GitHub stars
05Standardized envelopes for single resource and list responses
06Temporal metadata enforcement with ISO 8601 timestamps

ユースケース

01Designing a scalable pagination system for high-volume datasets
02Standardizing API response formats across microservices
03Implementing complex data fetching without the overhead of GraphQL