Web APIs can return data in various formats, such as XML, JSON, etc. In contrast, REST APIs predominantly use JSON as the data format but can support other formats if properly implemented.