Correct api url typo. Add loot export function