BestPromptFinder
REST API Design Spec From Your Requirements
85AI Quality /100
94AI Usefulness est. /100
77Eval Confidence /100
No votes yetCommunity results
The prompt
Design a REST API for my app before I write any code. What the app does: [ ] Main things (resources) it manages: [e.g. users, orders, products, invoices] Who calls the API: [my web app / mobile app / third parties] Auth: [sessions / JWT / API keys / not decided] Scale and constraints: [ ] Give me: 1. A resource list with fields and types for each. 2. An endpoint table: method, path, purpose, request body, response, status codes, who's allowed. 3. Conventions: naming, pagination, filtering, sorting, error format (one consistent JSON shape), versioning, idempotency for payments or creates. 4. Security notes: auth, rate limits, input validation, what never to return (passwords, internal IDs if sensitive). 5. An OpenAPI 3 YAML for the 3 most important endpoints. 6. Open questions I need to decide. Keep it simple; don't add endpoints or features I didn't ask for.Find similar in the app →
Did this prompt work for you?
Why this prompt
- Hand-picked, editorially reviewed prompt
- Written for Claude, ChatGPT, Gemini
Source
Created by BestPromptFinder — editorial prompt, not user-generated. See our content & source policy.
Related Coding prompts
Python: Download a CSV From a URLQuality 94 · GPT-5.6Public-Market and Competitor Data Collection Agent
Quality 92 · GPT-5.6Plain-English to SQL Query Writer
Quality 91 · GPT-5.6PRD to MVP Technical Plan
Quality 90 · Claude CodeThird-Party API Integration
Quality 90 · Claude CodeDatabase Schema and Migration
Quality 90 · Claude Code