matchApiState