---
title: "Field selection"
canonical_url: "https://docs.sportradar.com/resources/personalization/docs/overview/using-the-api/field-selection"
markdown_url: "https://docs.sportradar.com/resources/personalization/docs/overview/using-the-api/field-selection.md"
last_updated: "2026-09-01T11:52:16Z"
---

# Field selection

The API provides a generic system to select the fields of the returned items.

To select specific fields, simply add the `fields=list_of_fields` query parameter to the url, where `list_of_fields` is a `comma separated list` of the fields to return. If not set and no particular default value is specified, `all` the available fields will be returned.

> **Info**
>
> ### Simple field selection example
>
> In this example we get only the `event_id` and the `total_bets` of the popular events
>
> ```bash
> $ curl --request GET \\
>   --url 'https://api.vaix.ai/api/sports/events/popular?fields=event_id,total_bets'
> ```

Not all endpoints support field selection. If field selection is available for an endpoint, then the available fields to select are indicated in the documentation of that endpoint.
