# One-to-many Matrix

**URL:** https://ask.openrouteservice.org/t/one-to-many-matrix/3684
**Category:** matrix
**Created:** [March 12, 2022, 1:15pm UTC](https://ask.openrouteservice.org/t/one-to-many-matrix/3684 "2022-03-12T13:15:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![FuegoElo](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/fuegoelo/32/1563_2.png) [@FuegoElo](https://ask.openrouteservice.org/u/FuegoElo)
#### Post date: [March 12, 2022, 1:15pm UTC](https://ask.openrouteservice.org/t/one-to-many-matrix/3684/1 "2022-03-12T13:15:16Z")

</div>

Hello together,

At the moment I am using the example on the page: [Dashboard | ORS](https://openrouteservice.org/dev/#/api-docs/v2/matrix/%7Bprofile%7D/post). By specifying the destination parameter I get, according to my understanding, a many-to-one matrix. How do I now manage to generate a one-to-many? The body currently looks like this:

body = {“locations”:[[9.70093,48.477473],[9.207916,49.153868],[37.573242,55.801281],[115.663757,38.106467]],“destinations”:[0],“metrics”:[“duration”]}.

Thanks for the help

---

<div class="post-metadata">

### Author: ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)
#### Post date: [March 13, 2022, 4:32pm UTC](https://ask.openrouteservice.org/t/one-to-many-matrix/3684/2 "2022-03-13T16:32:52Z")

</div>

Hi @FuegoElo,

by using the `sources` parameter.
