Is it required to have an electrum account for electrum api usage?
It is an open-source software. There's no need for credentials or accounts. 

There's multiple public electrum servers you can connect to through your electrum wallet. You could build an interface on top of the electrum wallet that connects to any of these servers.