Does the Instagram API Version matter when we automate?

Title pretty much. I came across a software that let’s you choose what API version the accounts will use. The lists consists of around 15-20 versions I think. It also let’s you choose the UserAgent.

Not gonna lie, I’m a complete computer dummy so I don’t know how useful either of these 2 are.

Do they matter? I also have seen some stores selling UserAgents so I guess they’re valuable?