> For the complete documentation index, see [llms.txt](https://exolabs-ch.gitbook.io/cosmos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://exolabs-ch.gitbook.io/cosmos/request-values-along-path.md).

# Request values at point(s)

## Get values for point(s) at locations=lon,lat|lon,lat|lon,lat (URL encoded)

<mark style="color:blue;">`GET`</mark> `https://p20.cosmos-project.ch/<service URL>?locations=<list of coordinates>`

Typically, used along hiking paths, ski touring routes, etc.&#x20;

#### Path Parameters

| Name                   | Type   | Description                           |
| ---------------------- | ------ | ------------------------------------- |
| \<list of coordinates> | string | lon,lat \| lon,lat \| lon, lat \| ... |

{% tabs %}
{% tab title="200 JSON response containing values at coordinates. " %}

```javascript
{
  "type":"FeatureCollection",
  "features":[
    {
      "type":"Feature",
      "properties":{
        "snowCover": 100.0
    },
    "geometry":{
      "type":"Point",
      "coordinates":[
        7.532,
        46.70001
        ]
      }
    },
    {
      "type":"Feature",
      "properties":{
        "snowCover": 100.0
      },
      "geometry":{
        "type":"Point",
        "coordinates":[
          7.532,
          46.71
        ]
      }
    },
    {
      "type":"Feature",
      "properties":{
        "snowCover":0.0
      },
      "geometry":{
        "type":"Point",
        "coordinates":[
          7.532,
          46.72
        ]
      }
    },
    {
      "type":"Feature",
      "properties":{
        "snowCover":0.0
      },
      "geometry":{
        "type":"Point",
        "coordinates":[
          7.532,
          46.75
        ]
      }
    }
  ]
}
```

{% endtab %}
{% endtabs %}
