> For the complete documentation index, see [llms.txt](https://daseldocs.tomwright.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daseldocs.tomwright.me/v1/examples/filter-json-api-results.md).

# Filter JSON API results

The following line will return the download URL for the latest macOS dasel release:

```
$ curl https://api.github.com/repos/tomwright/dasel/releases/latest | dasel -p json --plain '.assets.(name=dasel_darwin_amd64).browser_download_url'

https://github.com/TomWright/dasel/releases/download/v1.13.6/dasel_darwin_amd64
```
