what does that api do