> For the complete documentation index, see [llms.txt](https://docs.ternoa.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ternoa.network/build-1/javascript/indexer/global-requests/filtered-queries.md).

# Filtered queries

In this section, you'll see how to filter queries:

> You can try this directly in our [**alphanet indexer's playground**](https://indexer-alphanet.ternoa.dev/) or our [**mainnet indexer's playground**](https://indexer-mainnet.ternoa.network/)

You can use any of the graphql generated filters to filter your data depending on your requirements:

### Query NFTs filtered by Owner and by price field.

(PriceRounded = to CAPS amount)

```graphql
query {
  nftEntities(
    filter: {
      and: [
        { priceRounded: { greaterThanOrEqualTo: 1000 } }
        {
          owner: { equalTo: "5E4FWi7Vo8mFvSB1xNz3pMXodR3WDJ3TASgkeP8jDuB3dG1Y" }
        }
      ]
    }
    first: 10
    offset: 0
  ) {
    totalCount
    nodes {
      nftId
      owner
      timestampList
      priceRounded
      marketplaceId
    }
  }
}

```

> You can access all the different filters in the schema tab on the right panel of the graphql playground.

<figure><img src="https://4243142665-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmktDjNnp8rvsgQsujVRm%2Fuploads%2FdLzHWQyMut4gPqkH6LYc%2Ffilters-playground.png?alt=media&amp;token=31392ead-45fb-4b4d-8ead-72ab8730ed30" alt=""><figcaption></figcaption></figure>
