WCF is protocol agnostic. It can work through http, tcpip, net pipe, etc. The web API is more suitable for creating a priori rest.
However, your question is too broad to be answered. Learn more about both technologies and come back with more specific questions.
source
to share