---
title: "Sort articles by quality score"
description: "Get high-quality editorial content sorted by quality evaluator score"
source: https://apitube.io/cookbook/sort-articles-by-quality-score
---

#### Input parameters

| Parameter      | Description                                    | Type    | Default | Required |
|:---------------|:-----------------------------------------------|:--------|:--------|:---------|
| sort.by         | Sort by quality score.                         | string  |         | Yes      |
| sort.order      | Sort order (desc for highest quality).         | string  |         | Yes      |
| is_long_read    | Filter long-read articles (>= 5 min) (optional).                  | integer |         | No       |
| api_key         | Your API key.                                  | string  |         | Yes      |
| per_page        | Maximum number of articles to retrieve.       | integer | 20      | No       |

#### Workflow examples

##### Request for high-quality long-form content:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?sort.by=quality&sort.order=desc&is_long_read=1&api_key=YOUR_API_KEY"
```

##### Request combining quality with editorial filters:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?sort.by=quality&source.rank.opr.min=5&is_duplicate=0&api_key=YOUR_API_KEY"
```

---

#### Related Examples

- [Sort by engagement score](/cookbook/sort-articles-by-engagement-score)
- [Get sorted news by date](/cookbook/get-sorted-news)
- [Get premium source articles](/cookbook/get-articles-from-premium-sources)
- [Get recent articles from top tech blogs](/cookbook/get-recent-articles-from-top-tech-blogs)
- [Get non-duplicate news articles](/cookbook/get-non-duplicate-news)

