Such a thing already exists if you're ready to host your own DB:
http://www.postgresql.org/about/news/1616/
That's as simple to find as googling "<db name> REST API"
http://www.postgresql.org/about/news/1616/
That's as simple to find as googling "<db name> REST API"