---
title: "Select specific fields to reduce payload size"
description: "Use field selection to return only needed fields, improving performance and reducing bandwidth"
source: https://apitube.io/cookbook/select-specific-fields-to-reduce-payload-size
---

#### Input parameters

| Parameter | Description                                    | Type    | Default | Required |
|:----------|:-----------------------------------------------|:--------|:--------|:---------|
| fl        | Comma-separated list of fields to return.      | string  |         | Yes      |
| api_key   | Your API key.                                  | string  |         | Yes      |
| per_page  | Maximum number of articles to retrieve.       | integer | 20      | No       |

#### Workflow examples

##### Request to get only ID and title:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?fl=id,title&api_key=YOUR_API_KEY"
```

##### Request for article with specific source fields:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?fl=id,title,source.name,source.domain,source.rank.opr&api_key=YOUR_API_KEY"
```

##### Request for sentiment analysis data only:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?fl=id,title,sentiment.overall.score,sentiment.title.score,sentiment.body.score&api_key=YOUR_API_KEY"
```

##### Request for minimal response for feed aggregation:

```shell
curl -X GET "https://api.apitube.io/v1/news/everything?fl=id,title,published_at,source.name,source.domain&category.id=medtop:04000000&per_page=100&api_key=YOUR_API_KEY"
```

---

#### Related Examples

- [Get articles with faceting for analytics](/cookbook/get-articles-with-faceting-for-analytics)
- [Get articles with range faceting](/cookbook/get-articles-with-range-faceting-for-timelines)
- [Sort by engagement score](/cookbook/sort-articles-by-engagement-score)
- [Get sorted news by date](/cookbook/get-sorted-news)
- [Get news from specific publications](/cookbook/recent-articles-from-nyt)

