RIASSUNTO
Dietary niche width and trophic position are key functional traits describing a consumer’s trophic ecology and the role it plays in a community. However, our understanding of the environmental and biological drivers of both traits is predominantly derived from theory or geographically restricted studies and lacks a broad empirical evaluation. We calculated the dietary niche width and trophic position of 2,938 marine fishes and examined the relationship of both traits with species’ maximum length and geographic range, in addition to species richness, productivity, seasonality and water temperature within their geographic range. We used Generalized Additive Models to assess these relationships across seven distinct marine habitat types. Fishes in reef associated habitats typically had a smaller dietary niche width and foraged at a lower trophic position than those in pelagic or demersal regions. Species richness was negatively related to dietary niche width in each habitat. Species range and maximum length both displayed positive associations with dietary niche width. Trophic position was primarily related to species maximum length but also displayed a non-linear relationship with dietary niche width, whereby species of an intermediate trophic position (3–4) had a higher dietary niche width than obligate herbivores or piscivores. Our results indicate that trophic ecology of fishes is driven by several interlinked factors. Although size is a strong predictor of trophic position and the diversity of preys a species can consume, dietary niche width of fishes is also related to prey and competitor richness suggesting that, at a local level, consumer trophic ecology is determined by a trade-off between environmental drivers and biological traits.