# 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="/files/s4hxa4AUBDU2C8pSEG8Z" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ternoa.network/build-1/javascript/indexer/global-requests/filtered-queries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
