Available languages: [Python](https://databento.com/docs/api-historical/helpers/pit-symbol-map-at.python.md) · [C++](https://databento.com/docs/api-historical/helpers/pit-symbol-map-at.cpp.md) · [Rust](https://databento.com/docs/api-historical/helpers/pit-symbol-map-at.rust.md) · [HTTP](https://databento.com/docs/api-historical/helpers/pit-symbol-map-at.http.md)

Source: https://databento.com/docs/api-historical/helpers/pit-symbol-map-at


### PitSymbolMap::At

Get the symbol mapping for a record.

#### API method

```cpp
template <typename R>
const std::string& At(const R& rec) const;
```

#### Parameters

| Parameter | Type | Description |
| `rec` | R | The record to fetch a symbol mapping for. |

#### Returns

`const std::string&`

The corresponding text symbol for the record's instrument ID.

Raises an exception if no mapping is found.
