# GraphQL Search and Filter - How to search and filter results with GraphQL

DevFeed: [GraphQL Search and Filter - How to search and filter results with GraphQL](<https://devfeed.tech/articles/graphql-search-and-filter-how-to-search-and-filter-results-with-graphql-23383.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/how-to-search-and-filter-results-with-graphql>)

Author: Khalil Stemmler

Published: 2021-03-23T11:30:04Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [API](<https://devfeed.tech/topics/api.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [article](<https://devfeed.tech/tags/article.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [sorting](<https://devfeed.tech/tags/sorting.md>)

## AI overview

This tutorial explains how to add search and filtering capabilities to a GraphQL API. It walks through schemas, queries, and resolver implementations for filtering individual items, lists, and items matching a set of IDs, then introduces input types for more complex filtering and sorting options.

## Source excerpt

Searching and filtering is a standard part of any GraphQL API. In this article, we'll learn how to add filtering capabilities to your API by walking through a few real-world examples. To learn how to handle searching and filtering on the front-end using Apollo Client, read "How to Filter and Search using Variables in Apollo Client". Examples Searching is filtering: Searching and filtering are two different ways to say the same thing.