Yes, Ruby on Rails can be used for API development. Rails provides tools and frameworks such as Rails API and Grape that simplify the process of building APIs. These tools allow developers to create robust and scalable APIs, making Ruby on Rails famous for building web services and backend systems.