Unit testing and API testing are closely related, so make sure that your answer highlights their key differences.
Example: “Unit testing, unlike API, is completed before adding code. It’s a type of white box testing that draws the source code into the form and tests the basic functionalities of a system separately.”