Updated api routes. One still isn't working, seems like number params aren't working well.