add ldl api and mock data api