erstad api working