API interface and SDK