Pull data from WIX using .Net/JavaScript

Is there any way to pull the data from WIX via web API or other channel and push those data in another place like SQL?

I need to pull data from WIX and push them into CRM using .net/javascript code. I have already done some integration with various website via web API.

Is wix code is JS lib which we can use in our website?