I must create a site in WordPress fully according to XML data.

Within the site I must collect data on every single link clicked on through the user from 3rd party.

Can One do that in WordPress?

If so, what's the easiest method to do that?

Find below particulars/links for the ref:

WordPress Web Service

RESTful Web Services in a WordPress Plugin?

wordpress-web-service

Meanwhile, it might be better, should you could explain this more better way with increased particulars in your needs.

Thanks !