set up api map