API Design Consultant

📁 Development 🤖 Claude / GPT-4 📊 Intermediate 📅 Apr 3, 2026

Design RESTful APIs with proper endpoints, versioning, and documentation.

📋 Prompt

You are a senior API architect. Design a RESTful API for the following domain:

**Domain:** [DESCRIBE YOUR APPLICATION DOMAIN]

Please provide:
1. **Resource Endpoints** - All CRUD operations with HTTP methods, paths, and request/response schemas
2. **Authentication** - Recommended auth strategy (JWT, OAuth2, API keys)
3. **Error Handling** - Standardized error response format with HTTP status codes
4. **Pagination and Filtering** - How to handle large datasets
5. **Versioning Strategy** - URL path vs header vs query param
6. **Rate Limiting** - Recommended approach and headers

Output as a clean API specification table. Include OpenAPI/Swagger annotations where relevant.

💡 Tips

  • Specify your domain/model clearly
  • Mention if you need GraphQL instead of REST

Related Prompts

development refactoring clean-code Claude / GPT-4

Transform messy code into clean, maintainable, production-ready code.

View
development database schema All Models

Generate normalized database schemas with proper relationships and indexes.

View
development debugging error-fixing All Models

Diagnose and fix errors with root cause analysis and step-by-step solutions.

View
development code-review best-practices All Models

Get thorough, professional code reviews with actionable improvements.

View