Is it possible to request route which will be located only in one country without crossing national borders of other countries?(I'm using JS)
No, our API does not have option to restrict routing to certain country.
A workaround would be to list all neighboring countries in &excludeCountries
parameter:
excludeCountries - Countries that must be excluded from route calculation.
Type: list of common:CountryCodeType.
example: excludecountries='AUT,CHE'