API interface