Base URL
All API requests should be made to:Request Format
Receeco uses tRPC for type-safe API communication. All requests use JSON format with the following structure:Response Format
All successful responses follow this structure:Error Handling
Errors are returned with descriptive messages and appropriate HTTP status codes:Common Error Codes
| Code | Description | HTTP Status | 
|---|---|---|
INVALID_INPUT | Request validation failed | 400 | 
NOT_FOUND | Resource not found | 404 | 
UNAUTHORIZED | Authentication required | 401 | 
FORBIDDEN | Insufficient permissions | 403 | 
INTERNAL_SERVER_ERROR | Server error | 500 | 
Rate Limits
- Public endpoints: No rate limits
 - Authenticated endpoints: 1000 requests/minute
 - Burst limit: 100 requests in 10 seconds