Showing bar information using APIs