Add format to API