# Matrix avoid tolls

**URL:** https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851
**Category:** matrix
**Created:** [May 4, 2022, 9:02am UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851 "2022-05-04T09:02:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DangerD\_D](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/dangerd_d/32/1656_2.png) [@DangerD\_D](https://ask.openrouteservice.org/u/DangerD_D)
#### Post date: [May 4, 2022, 9:02am UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851/1 "2022-05-04T09:02:30Z")

</div>

What parameter i should pass to avoid tolls?  
I can’t find anything in documentation here:  
[https://openrouteservice.org/dev/#/api-docs/v2/matrix/{profile}/post](https://openrouteservice.org/dev/#/api-docs/v2/matrix/%7Bprofile%7D/post)

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [May 11, 2022, 8:11am UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851/2 "2022-05-11T08:11:47Z")

</div>

Hey,

currently, the matrix endpoint does not support the same dynamic arguments as the directions endpoint.  
There is an [open issue](https://github.com/GIScience/openrouteservice/issues/1164) discussing integration of existing code into the public API.

Best regards

---

<div class="post-metadata">

### Author: ![DangerD\_D](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/dangerd_d/32/1656_2.png) [@DangerD\_D](https://ask.openrouteservice.org/u/DangerD_D)
#### Post date: [June 10, 2022, 8:51am UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851/3 "2022-06-10T08:51:49Z")

</div>

Can you point me on docs where i can avoid tolls in simple " /v2/directions" request?

---

<div class="post-metadata">

### Author: ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)
#### Post date: [June 10, 2022, 9:20am UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851/4 "2022-06-10T09:20:56Z")

</div>

Hey,

find it [here](https://openrouteservice.org/dev/#/api-docs/v2/directions/%7Bprofile%7D/post) when clicking on the ✏ next to `options` and then on the arrow next to `avoid_features`.  
There you should find `tollways`.  
It’s a bit hidden and should look like `"options":{"avoid_features":["tollways"]}` in the final request 🙂

Best regards

---

<div class="post-metadata">

### Author: ![DangerD\_D](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/dangerd_d/32/1656_2.png) [@DangerD\_D](https://ask.openrouteservice.org/u/DangerD_D)
#### Post date: [June 10, 2022, 1:21pm UTC](https://ask.openrouteservice.org/t/matrix-avoid-tolls/3851/5 "2022-06-10T13:21:06Z")

</div>

thanks dude =)
