minor edits to api url