# Query String

*noun*

say it: **“KWEER-ee string”** **/ˈkwɪəri strɪŋ/**

The part of a URL after the ?, made of name=value pairs, used for things like search terms and paging.

## What is **Query String**?

The **query string** is the part of a URL after `?`: `key=value` pairs joined by `&`, used for filtering, sorting and paging.

```text
GET /recipes?category=dessert&sort=rating&page=2
```

## In a sentence

- “The **query string** ?page=2&size=20 tells the server which page of products to send.”

Level: Apprentice · [More REST API terms at this level](https://www.ask-codey.com/glossary?category=rest-api&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/query-string
