Issue #174 - Add API endpoint