When comparing Postgrest vs Apiary, the Slant community recommends Postgrest for most people. In the question“What are the best Haskell web frameworks for building RESTful web services?” Postgrest is ranked 8th while Apiary is ranked 11th. The most important reason people chose Postgrest is:
JSON is handled by PostgreSQL which speed is hard to beat in your own applications. Response times as high as 2000 requests/sec on [Heroku free tier](https://www.slant.co/topics/3478/~platform-as-a-service-providers-that-have-a-free-plan).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Fast
JSON is handled by PostgreSQL which speed is hard to beat in your own applications.
Response times as high as 2000 requests/sec on Heroku free tier.
Pro Easy to use
Pro Linux, Windows, FreeBSD, OS-X
Linux, Windows, FreeBSD, OS-X versions available.
Pro Automatically generates API documentation
Apiary generates comprehensive HTML documentation based on your API routes.
Pro Type-level routes
Apiary provides type modeling, down to URL parameters, ensuring type safety.
Cons
Con Mediocre documentation
Users must rely primarily on the example project and auto-generated API documentation (Haddocks). The author of Apiary is not a native English speaker and openly acknowledges this issue.