I\'m using TFS 2015 rest api in order to retrieve build definitions and builds details using those calls:
definitions: http:///tfs/DefaultCollection//_apis/build/definit
I use Json.NET to manipulate JSON data. You can find plenty of examples in this library web site.