Ask HN: In 2018, What makes a good API?

14 points by tpurves ↗ HN
What design considerations or constraints do you consider more important than others these days when designing new api services?

2 comments

[ 2.7 ms ] story [ 14.2 ms ] thread
Excellent documentation, stability, and a deprecation date of at least 2020 or better.
Documentation.

There are "standards" about REST and other mental frameworks about API's but when it comes down to it, everything is slightly different since there are so many small decisions that affect the end product like pagination and authorization.

Documentation with working examples someone can use via curl or Postman (or other API poking tool) is even better.

Tech stack doesn't matter, REST, GraphQL, micro services, etc. doesn't matter. People are calling an API to get some work done, they just want to know how to work with it - inputs, what happens and outputs.