Routing API - AvoidsArea Limitation?

Hey all,
i am looking for a Routing API that is able to avoid areas like in the last example here:

You can see there, that the route avoids the blue rectangle.

I wanna know if there is a maximum limit of rectangles i can avoid with a route.

Thanks a lot!

According this documentation, the max number of rectangles you can avoid is 10 https://developer.tomtom.com/routing-api/routing-api-documentation-routing/common-routing-parameters