clearing up the endpoints and each query parameter. Fixing typo.