add offers API with get function

remove the tmp route