To make a good RESTful API, it should work with JSON, use a noun as endpoints, plural nouns as collections, nesting resources for hierarchical objects, etc. It should further handle all errors, allow sorting, pagination, filtering, etc. while maintaining good security practices.