Can Jest be used for API testing?

Can Jest be used for API testing?

Jest is the right platform for validation since it comes along with plenty of tools to simplify writing tests. When we often use Jest for simple API testing assertions and scenarios, it is also useful to test complicated data structures.