After much speculation over time, and finally introducing a beta, Google has officially announced the new Search Analytics API for the Google Search Console.
After launching the Search Analytics reports in the Google Search Console, many webmasters wanted a more programmatic way to access the data, so Google began working on an API for that.
Google has provided how to examples on ways to use this API.
Google's John Mueller said on Google+:
If you've been hungry for even more information about your website's performance in search, if you're happy to whip up some code, and yearning to play with another API, we hope you'll savor the new Search Analytics API for Search Console. There are lots of neat things that could be done with it & we're keen to see how you end up using it. Take a look, grab an editor, fill up a beverage of your choice, and give it a shot!
So go get it and get your Search Analytics data in a more efficient way via the Search Analytics API.
Forum discussion at Google+.