I am trying to use a dataset which exposes data via an API. Can I consume data in tableau 10.1 via an API?
The Tableau Web Data Connector allows you to consume a REST API or any data accessible over HTTP.
Check this link out, it explains very well how to create your own WDC.
Retrieving data ...