map against slug in api