Tracking API requests

Can we use Piwik to track requests coming into our API? We get A LOT of requests per day into our API. Or is it only for websites? If so, do you have any suggestions on how we can get Piwik (or Google Analytics) for our API?

Use the server-side tracking API (libs/PiwikTracker).