# Is the API able to filter data requests?

**URL:** <https://forum.ecmwf.int/t/is-the-api-able-to-filter-data-requests/2377>\
**Category:** API\
**Tags:** toolbox, era5\
**Created:** [2 April 2024 17:07 UTC](https://forum.ecmwf.int/t/is-the-api-able-to-filter-data-requests/2377 "2024-04-02T17:07:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Stokes](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/b/54ee81/32.png) [@Brian\_Stokes](https://forum.ecmwf.int/u/Brian_Stokes)\
**Post date:** [2 April 2024 17:07 UTC](https://forum.ecmwf.int/t/is-the-api-able-to-filter-data-requests/2377/1 "2024-04-02T17:07:50Z")

</div>

Hello,  
I am new to using the API and the guides on the ECMWF wiki lacks clarity. I’d like to do some filtering during an API data request similar to what appeared to be possible using the CDS Toolbox - specifically with “cdstoolbox.cube.where()”. My ultimate goal is to request a download based on the ERA5-land dataset which reports the total hours at each grid point above a specified degree threshold per year.

---

<div class="post-metadata">

**Author:** ![Xiaobo\_Yang](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/x/e495f1/32.png) [@Xiaobo\_Yang](https://forum.ecmwf.int/u/Xiaobo_Yang)\
**Post date:** [3 April 2024 13:47 UTC](https://forum.ecmwf.int/t/is-the-api-able-to-filter-data-requests/2377/2 "2024-04-03T13:47:07Z")

</div>

Hi Brian, you can use the ‘area’ keyword when you download ERA5-Land data. You can use [Copernicus Climate Data Store | Copernicus Climate Data Store](https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=form) to help you build up your script. Make some selections including setting your bounding box, then click the ‘Show API request’ button, you will see how the ‘area’ keyword is used. Hope this helps. - Xiaobo
