If an API is exposed and consumed externally don’t use URL-based versioning, instead version via a header or a request parameter.
If the API is internal and you control all the consumers then URL-based versioning is probably going to be easier to understand and analyse.