api, example chare