Yes, k6 can be used for API testing. It is an open-source load testing tool that supports scripting in JavaScript, making it suitable for testing the performance and scalability of APIs. With its rich features, extensibility, and ability to simulate high user loads, k6 is a reliable choice for API testing.