Hey Gopi, API log Validation is not directly possible from Selenium as Selenium automates only browser activities and APIs don't run on browser. You can automate API testing using variety of tools like Rest Assured (for testing REST APIs) or SOAP UI (for testing SOAP APIs). You can use some plugins in Selenium to do api log validation.
I hope this would resolve your query.