provide api for ddup app