new api(date and num)